]> xenbits.xensource.com Git - qemu-xen-4.6-testing.git/commitdiff
fix drive name parsing (any_hdN erroneous local declaration)
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>
Wed, 4 Nov 2009 17:07:57 +0000 (17:07 +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>
xenstore.c

index b5a791e07982124470df892d40445e7bfb20c19e..8ac478b7d66a8cb477fa02e7b04eb80926491f7e 100644 (file)
@@ -357,7 +357,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;