Displaying 1 result from an estimated 1 matches for "nb_drive".
Did you mean:
nb_drives
2012 Nov 13
4
[PATCH] qemu-stubdom: prevent useless medium change
...nue;
+ free(params);
+ params = xs_read(xsh, XBT_NULL, buf, &len);
+ if (params == NULL)
+ continue;
pstrcpy(bs->filename, sizeof(bs->filename), params);
}
#else
@@ -667,11 +673,7 @@ void xenstore_parse_domain_config(int hvm_domid)
drives_table[nb_drives].bdrv = bs;
drives_table[nb_drives].used = 1;
-#ifdef CONFIG_STUBDOM
- media_filename[nb_drives] = strdup(danger_buf);
-#else
media_filename[nb_drives] = strdup(bs->filename);
-#endif
nb_drives++;
}
--
1.7.7.5 (Apple Git-26)
_______________________________________________...