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

Re: [Xen-devel] booting from HVM (?pv?)

On Mon, Jun 24, 2013 at 10:21:48PM +0200, AL13N wrote:
> Hi,
> I'm the Mageia XEN packager and during QA, we stumbled into a problem.
> in fact, we wanted to test Mageia 3 installation on a HVM.
> so, we had a sparse image and a iso file:
> [ 'file:/opt/testhvm.img,sda,w', 'file:/opt/mageialive.iso,hdb:cdrom,r' ]
> the live booted, and was able to install to disk, but it never seemed to boot 
> after the install... (for some reason)
> in the end, this "worked" when we changed to:
> [ 'file:/opt/testhvm.img,xvda,w', 'file:/opt/testhvm.img,sda,w' ]
> apparently 'xvda' to get grub to boot the kernel; and 'sda' so that it could 
> start...
> any idea as to why it can't be booted with sda? is there a specific driver 
> missing?

See here for more info:

This config works for both HVM and PVHVM:
disk = [ 'phy:/dev/vg01/f16pvhvm-disk0,hda,w', 
'file:/root/iso/Fedora-16-x86_64-DVD.iso,hdc:cdrom,r' ]

You can enable or disable PV drivers with:

-- Pasi

Xen-devel mailing list



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.