From: Ian Jackson Subject: Re: [PATCH]: Remove special case for mixed hvm/pv disks which may prevent boot Date: Fri, 23 Jul 2010 18:07:55 +0100 Message-ID: <19529.52331.131483.439017@mariner.uk.xensource.com> References: <1279896869.1723.2050.camel@qabil.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1279896869.1723.2050.camel@qabil.uk.xensource.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Gianni Tedesco Cc: Xen Devel , Stefano Stabellini List-Id: xen-devel@lists.xenproject.org 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.