From mboxrd@z Thu Jan 1 00:00:00 1970 From: AL13N Subject: Re: booting from HVM (?pv?) Date: Tue, 25 Jun 2013 19:32:42 +0200 Message-ID: <1933141.dQbapb4jnv@localhost> References: <2868131.7MlTNbVQX4@localhost> <2892012.NEo9N8Bqdn@localhost> <20130625172516.GH2924@reaktio.net> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: <20130625172516.GH2924@reaktio.net> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org Op dinsdag 25 juni 2013 20:25:16 schreef Pasi K=E4rkk=E4inen: > On Tue, Jun 25, 2013 at 07:21:48PM +0200, AL13N wrote: > > Op dinsdag 25 juni 2013 18:39:06 schreef Pasi K=E4rkk=E4inen: > > > 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 probl= em. > > > > = > > > > 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 seem= ed > > > > 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 =3D [ '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=3D0|1 > > = > > i'm assuming that hda (ide_generic) would be using regular emulation? a= nd > > 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)? > = > Yeah, if xen_platform_pci=3D0 then hda will be emulated, and if > xen_platform_pci=3D1 then xen-blkfront will start and "unplug" the emulat= ed > hda, so there's only xvda. the pv drivers don't use hda and sda anymore? only xvda?