All of lore.kernel.org
 help / color / mirror / Atom feed
From: AL13N <alien@rmail.be>
To: "Pasi Kärkkäinen" <pasik@iki.fi>
Cc: xen-devel@lists.xen.org
Subject: Re: booting from HVM (?pv?)
Date: Tue, 25 Jun 2013 19:21:48 +0200	[thread overview]
Message-ID: <2892012.NEo9N8Bqdn@localhost> (raw)
In-Reply-To: <20130625153905.GE2924@reaktio.net>

Op dinsdag 25 juni 2013 18:39:06 schreef Pasi Kärkkäinen:
> 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:
> http://wiki.xen.org/wiki/Xen_Linux_PV_on_HVM_drivers
> 
> 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:
> xen_platform_pci=0|1

i'm assuming that hda (ide_generic) would be using regular emulation? and the 
pv driver (xenblk_front) could be hda, sda, or xvda and it will choose the one 
you've chosen in the config? (via xen_platform_pci)?

  reply	other threads:[~2013-06-25 17:21 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-06-24 20:21 booting from HVM (?pv?) AL13N
2013-06-25  9:38 ` George Dunlap
2013-06-25 10:47   ` AL13N
2013-06-25 10:51     ` George Dunlap
2013-06-25 10:57       ` AL13N
2013-06-25 11:09         ` George Dunlap
2013-06-25 12:18           ` AL13N
2013-06-25 12:28         ` Alex Bligh
2013-06-25 13:18           ` AL13N
2013-06-25 15:39 ` Pasi Kärkkäinen
2013-06-25 17:21   ` AL13N [this message]
2013-06-25 17:25     ` Pasi Kärkkäinen
2013-06-25 17:32       ` AL13N
2013-06-25 17:35         ` Pasi Kärkkäinen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=2892012.NEo9N8Bqdn@localhost \
    --to=alien@rmail.be \
    --cc=pasik@iki.fi \
    --cc=xen-devel@lists.xen.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.