Port-xen archive

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

Re: Xen HVM's on raw disk partitions

On Wed, Jan 19, 2011 at 11:28:51AM -0600, Eric Schnoebelen wrote:
> Emperical evidence suggests that it is impossible to put an Xen
> HVM on a raw disk (r?d?*) partition.  Only a file backed disk image will
> work.

Does it work if you use the block device instead ?
> Having had success with running NetBSD DomU's on a raw disk
> partition (marked as type CCD in the disklabel), I'd like to do
> the same for HVM systems.
> My software:
>       NetBSD egsner.cirr.com 5.99.27 NetBSD 5.99.27 (XEN3_DOM0) #0: Tue Apr 
> 13 00:12:10 CDT 2010  
> eric%bob-the-builder.cirr.com@localhost:/work/eric/NetBSD-current/obj/amd64/sys/arch/amd64/compile/XEN3_DOM0
>  amd64
>       xentools33-3.3.2nb5
>       xenkernel33-3.3.2nb1
> Is there a way to use raw partitions for HVM's?  Is it a bug in
> the qemu back end driver, or somewhere else?

The problem is that both the paravirtualised backend and qemu wants to
open the device; and a raw device can't be opened twice ...

Manuel Bouyer <bouyer%antioche.eu.org@localhost>
     NetBSD: 26 ans d'experience feront toujours la difference

Home | Main Index | Thread Index | Old Index