WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] [PATCH]: Remove special case for mixed hvm/pv disks whic

To: Gianni Tedesco <gianni.tedesco@xxxxxxxxxx>
Subject: Re: [Xen-devel] [PATCH]: Remove special case for mixed hvm/pv disks which may prevent boot
From: Ian Jackson <Ian.Jackson@xxxxxxxxxxxxx>
Date: Fri, 23 Jul 2010 18:07:55 +0100
Cc: Xen Devel <xen-devel@xxxxxxxxxxxxxxxxxxx>, Stefano Stabellini <stefano.stabellini@xxxxxxxxxxxxx>
Delivery-date: Fri, 23 Jul 2010 10:08:46 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <1279896869.1723.2050.camel@xxxxxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Newsgroups: chiark.mail.xen.devel
References: <1279896869.1723.2050.camel@xxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Gianni Tedesco writes ("[Xen-devel] [PATCH]: Remove special case for mixed 
hvm/pv disks which may prevent boot"):
> If a pv-on-hvm guest is configured with hard-disk virtpath=xvda and
> emulated cdrom virtpath=hdc then all xvda disks are ignored and the
> system is rendered un-bootable. Remove this special case in qemu and
> simply provide an emulated equivalent of all devices and let guest
> unplug what it wants.

HVM guest configs are supposed to specify hda= if they want the
devices to appear as emulated IDE devices.  The code you're patching
is a special compatibility hack to allow for the case where the guest
config file mentions _only_ xvda devices; it remaps them to hda on the
assumption that the person writing the config file didn't intend to
provide no emulated versions of those devices.

So I don't think this change is right ...

Ian.

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

<Prev in Thread] Current Thread [Next in Thread>