From: Keir Fraser Date: Wed, 14 May 2008 08:12:27 +0000 (+0100) Subject: ioemu: Fix handling of phy: block devices. X-Git-Tag: 3.2.2-rc1~57 X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=b6feebeb70305153bc6befb9c0bf905284d23c98;p=people%2Fvhanquez%2Fxen.git ioemu: Fix handling of phy: block devices. Signed-off-by: Ian Jackson xen-unstable changeset: 17631:cb22b23156a4b72455d733f547d0c2a59810bed5 xen-unstable date: Wed May 14 09:11:40 2008 +0100 --- diff --git a/tools/ioemu/xenstore.c b/tools/ioemu/xenstore.c index 130741a52..bb9e4e46d 100644 --- a/tools/ioemu/xenstore.c +++ b/tools/ioemu/xenstore.c @@ -245,7 +245,7 @@ void xenstore_parse_domain_config(int domid) } if (!strcmp(drv,"qcow")) { /* autoguess qcow vs qcow2 */ - } else if (!strcmp(drv,"file")) { + } else if (!strcmp(drv,"file") || !strcmp(drv,"phy")) { format = &bdrv_raw; } else { format = bdrv_find_format(drv);