]> xenbits.xensource.com Git - qemu-xen-3.4-testing.git/commitdiff
fix drive name parsing (any_hdN erroneous local declaration) xen-3.4.2 xen-3.4.2-rc3
authorIan Jackson <ian.jackson@eu.citrix.com>
Wed, 4 Nov 2009 17:07:57 +0000 (17:07 +0000)
committerIan Jackson <Ian.Jackson@eu.citrix.com>
Thu, 5 Nov 2009 11:44:56 +0000 (11:44 +0000)
In xenstore_parse_domain_config(), 'any_hdN' is overridden by local version
accidentally.

Contributed-by: Xiaowei Yang <xiaowei.yang@intel.com>
Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
(cherry picked from commit f72b6e0ffc3bb84d4442c5a7493bffbdce2a4468)

xenstore.c

index 46915fb6959af2759e4cc15854736ec24130e5fe..11b305d99841c40b96c11409aaf99f00eb3ba804 100644 (file)
@@ -313,7 +313,7 @@ void xenstore_parse_domain_config(int hvm_domid)
     char *buf = NULL;
     char *fpath = NULL, *bpath = NULL,
         *dev = NULL, *params = NULL, *drv = NULL;
-    int i, any_hdN = 0, ret;
+    int i, ret;
     unsigned int len, num, hd_index, pci_devid = 0;
     BlockDriverState *bs;
     BlockDriver *format;