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

[Xen-changelog] [xen-unstable] ioemu: Fix handling of phy: block devices.



# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1210752700 -3600
# Node ID cb22b23156a4b72455d733f547d0c2a59810bed5
# Parent  53195719f7621110dab7a97a2bca292b73baa715
ioemu: Fix handling of phy: block devices.
Signed-off-by: Ian Jackson <ian.jackson@xxxxxxxxxxxxx>
---
 tools/ioemu/xenstore.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff -r 53195719f762 -r cb22b23156a4 tools/ioemu/xenstore.c
--- a/tools/ioemu/xenstore.c    Tue May 13 15:08:17 2008 +0100
+++ b/tools/ioemu/xenstore.c    Wed May 14 09:11:40 2008 +0100
@@ -258,7 +258,7 @@ void xenstore_parse_domain_config(int hv
                }
                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);

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
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®.