Marcus Furlong
2011-Jan-07 06:52 UTC
[Xen-users] HVM + physical LVM partitions with xen 4?
Hi, I am currently trying to use existing LVM partitions as follows: builder = "hvm" disk = [''phy:/dev/vg/hvm-disk,ioemu:xvda1,w'', ''phy:/dev/vg/hvm-home,ioemu:xvda2,w'', ''phy:/dev/vg/hvm-swap,ioemu:xvda3,w''] but it gives the following error: Error: Device model isn''t ready for commands and the log files show: qemu: ignoring not-understood drive `xvda1'' qemu: ignoring not-understood drive `xvda2'' qemu: ignoring not-understood drive `xvda3'' I would like to use VGA Passthrough, which requires HVM. Does this mean that I need to convert the above LVM partitions to an image file or is it possible to use HVM and physical partitions with xen 4? Regards, Marcus. -- Marcus Furlong - VPAC Systems Administrator _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Marcus Furlong
2011-Jan-16 23:51 UTC
Re: [Xen-users] HVM + physical LVM partitions with xen 4?
Hi Jean-Paul, Removing ioemu has no effect, the same errors remains. Regards, Marcus. ----- Original Message -----> From: "Jean-Paul Pozzi" <jpp@jppozzi.dyndns.org> > To: "Marcus Furlong" <furlongm@vpac.org> > Sent: Tuesday, 11 January, 2011 10:48:49 PM > Subject: Re: [Xen-users] HVM + physical LVM partitions with xen 4? > Hello , > > try without "ioemu:". > > Regards > > Mail d''origine ----- > De: Marcus Furlong <furlongm@vpac.org> > À: xen-users@lists.xensource.com > Envoyé: Fri, 07 Jan 2011 07:52:57 +0100 (CET) > Objet: [Xen-users] HVM + physical LVM partitions with xen 4? > Hi, > I am currently trying to use existing LVM partitions as follows: > builder = "hvm" > disk = [''phy:/dev/vg/hvm-disk,ioemu:xvda1,w'', > ''phy:/dev/vg/hvm-home,ioemu:xvda2,w'', > ''phy:/dev/vg/hvm-swap,ioemu:xvda3,w''] > but it gives the following error: > Error: Device model isn''t ready for commands > and the log files show: > qemu: ignoring not-understood drive `xvda1'' > qemu: ignoring not-understood drive `xvda2'' > qemu: ignoring not-understood drive `xvda3'' > I would like to use VGA Passthrough, which requires HVM. Does this > mean that I need to convert the above LVM partitions to an image file > or is it possible to use HVM and physical partitions with xen 4? > Regards, > Marcus. > -- > Marcus Furlong - VPAC Systems Administrator > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users-- Marcus Furlong - VPAC Systems Administrator http://www.vpac.org +61 3 9925 4574 _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Fajar A. Nugraha
2011-Jan-17 10:17 UTC
Re: [Xen-users] HVM + physical LVM partitions with xen 4?
On Mon, Jan 17, 2011 at 6:51 AM, Marcus Furlong <furlongm@vpac.org> wrote:> Hi Jean-Paul, > > Removing ioemu has no effect, the same errors remains.hmmm ... I thought the message was clear enough?>> disk = [''phy:/dev/vg/hvm-disk,ioemu:xvda1,w'',>> qemu: ignoring not-understood drive `xvda1''use something like ''phy:/dev/vg/hvm-disk,ioemu:xvda,w'' or (depending on your version) you might need to specify hda instead of xvda. -- Fajar _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
David Markey
2011-Jan-17 11:53 UTC
Re: [Xen-users] HVM + physical LVM partitions with xen 4?
hda instead of xvda? (dont give partitions) On 16 January 2011 23:51, Marcus Furlong <furlongm@vpac.org> wrote:> Hi Jean-Paul, > > Removing ioemu has no effect, the same errors remains. > > Regards, > Marcus. > > ----- Original Message ----- > > From: "Jean-Paul Pozzi" <jpp@jppozzi.dyndns.org> > > To: "Marcus Furlong" <furlongm@vpac.org> > > Sent: Tuesday, 11 January, 2011 10:48:49 PM > > Subject: Re: [Xen-users] HVM + physical LVM partitions with xen 4? > > Hello , > > > > try without "ioemu:". > > > > Regards > > > > Mail d''origine ----- > > De: Marcus Furlong <furlongm@vpac.org> > > À: xen-users@lists.xensource.com > > Envoyé: Fri, 07 Jan 2011 07:52:57 +0100 (CET) > > Objet: [Xen-users] HVM + physical LVM partitions with xen 4? > > Hi, > > I am currently trying to use existing LVM partitions as follows: > > builder = "hvm" > > disk = [''phy:/dev/vg/hvm-disk,ioemu:xvda1,w'', > > ''phy:/dev/vg/hvm-home,ioemu:xvda2,w'', > > ''phy:/dev/vg/hvm-swap,ioemu:xvda3,w''] > > but it gives the following error: > > Error: Device model isn''t ready for commands > > and the log files show: > > qemu: ignoring not-understood drive `xvda1'' > > qemu: ignoring not-understood drive `xvda2'' > > qemu: ignoring not-understood drive `xvda3'' > > I would like to use VGA Passthrough, which requires HVM. Does this > > mean that I need to convert the above LVM partitions to an image file > > or is it possible to use HVM and physical partitions with xen 4? > > Regards, > > Marcus. > > -- > > Marcus Furlong - VPAC Systems Administrator > > _______________________________________________ > > Xen-users mailing list > > Xen-users@lists.xensource.com > > http://lists.xensource.com/xen-users > > -- > Marcus Furlong - VPAC Systems Administrator > http://www.vpac.org > +61 3 9925 4574 > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Ian Murray
2011-Jan-17 19:50 UTC
Re: [Xen-users] HVM + physical LVM partitions with xen 4?
> >From: David Markey <admin@dmarkey.com> >To: Marcus Furlong <furlongm@vpac.org> >Cc: xen-users@lists.xensource.com >Sent: Mon, 17 January, 2011 11:53:48 >Subject: Re: [Xen-users] HVM + physical LVM partitions with xen 4? > >hda instead of xvda? (dont give partitions) >This works for me:- disk = [ ''phy:/dev/VG1/win-root,hda,w'' ] _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Marcus Furlong
2011-Jan-27 01:02 UTC
Re: [Xen-users] HVM + physical LVM partitions with xen 4?
----- Original Message -----> From: "Fajar A. Nugraha" <list@fajar.net> > To: "Marcus Furlong" <furlongm@vpac.org> > Cc: xen-users@lists.xensource.com > Sent: Monday, 17 January, 2011 9:17:41 PM > Subject: Re: [Xen-users] HVM + physical LVM partitions with xen 4? > On Mon, Jan 17, 2011 at 6:51 AM, Marcus Furlong <furlongm@vpac.org> > wrote: > > Hi Jean-Paul, > > > > Removing ioemu has no effect, the same errors remains. > > hmmm ... I thought the message was clear enough? > > > >> disk = [''phy:/dev/vg/hvm-disk,ioemu:xvda1,w'', > > > >> qemu: ignoring not-understood drive `xvda1'' > > use something like ''phy:/dev/vg/hvm-disk,ioemu:xvda,w'' > or (depending on your version) you might need to specify hda instead > of xvda.Ok, thanks, that was my original question. So single partitions are not supported. A partition in the host system must appear as a full disk to the guest. Is there any plan to support partitions in the future? I ask because they are easier to manage from the host system, e.g. to mount a partition I can just use mount with the lvm device name, whereas with a disk partition I need to use kpartx and then find the partition. It is also useful for xen guests that might share a partition, e.g. two or more mutually exclusive xen guests (they won''t ever be running at the same time) that use a common home partition. It also makes resizing partitions a lot easier. Regards, Marcus. -- Marcus Furlong - VPAC Systems Administrator http://www.vpac.org +61 3 9925 4574 _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users