[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen-unstable] libxl: libxl__prepare_ao_device should reset num_exec


  • To: xen-changelog@xxxxxxxxxxxxxxxxxxx
  • From: Xen patchbot-unstable <patchbot@xxxxxxx>
  • Date: Mon, 04 Feb 2013 15:44:27 +0000
  • Delivery-date: Mon, 04 Feb 2013 15:44:31 +0000
  • List-id: "Change log for Mercurial \(receive only\)" <xen-changelog.lists.xen.org>

# HG changeset patch
# User Roger Pau Monne <roger.pau@xxxxxxxxxx>
# Date 1359104058 0
# Node ID e5647342ce3b0a1a15a6eb922479582f9d7d4ce4
# Parent  e0b21f16be125ec67c288dc01c09d6312bc82a3c
libxl: libxl__prepare_ao_device should reset num_exec

num_exec was not cleared when calling libxl__prepare_ao_device.

Signed-off-by: Roger Pau Monné <roger.pau@xxxxxxxxxx>
Acked-by: Ian Campbell <ian.campbell@xxxxxxxxxx>
Committed-by: Ian Campbell <ian.campbell@xxxxxxxxxx>
---


diff -r e0b21f16be12 -r e5647342ce3b tools/libxl/libxl_device.c
--- a/tools/libxl/libxl_device.c        Thu Jan 24 15:08:19 2013 +0100
+++ b/tools/libxl/libxl_device.c        Fri Jan 25 08:54:18 2013 +0000
@@ -409,6 +409,7 @@ void libxl__prepare_ao_device(libxl__ao 
     aodev->ao = ao;
     aodev->rc = 0;
     aodev->dev = NULL;
+    aodev->num_exec = 0;
     /* Initialize timer for QEMU Bodge and hotplug execution */
     libxl__ev_time_init(&aodev->timeout);
     aodev->active = 1;

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.