This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
Home Products Support Community News


Re: [Xen-devel] Re: [PATCH] libxl: basic support for virtio disk

To: Stefano Stabellini <Stefano.Stabellini@xxxxxxxxxxxxx>
Subject: Re: [Xen-devel] Re: [PATCH] libxl: basic support for virtio disk
From: Ian Jackson <Ian.Jackson@xxxxxxxxxxxxx>
Date: Thu, 2 Jun 2011 17:03:33 +0100
Cc: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>, Wei Liu <liuw@xxxxxxxxx>
Delivery-date: Thu, 02 Jun 2011 09:05:22 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <alpine.DEB.2.00.1106021555561.12963@kaball-desktop>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <BANLkTikbJFnVzqhnRy0=Vb0S=pgENDZ_qw@xxxxxxxxxxxxxx> <alpine.DEB.2.00.1105271315270.12963@kaball-desktop> <BANLkTikM4AJz1jQi2v4vwM=EP7TEfUP-YQ@xxxxxxxxxxxxxx> <alpine.DEB.2.00.1105271559170.12963@kaball-desktop> <BANLkTikA_Gw8fgQ4K_=eEg=jkx1TDKMSwQ@xxxxxxxxxxxxxx> <alpine.DEB.2.00.1105311232300.12963@kaball-desktop> <BANLkTimiDzJLiM++TUR1ysksRjPYjBeu2Q@xxxxxxxxxxxxxx> <19942.17843.474817.123371@xxxxxxxxxxxxxxxxxxxxxxxx> <BANLkTi=HZvj_7BqOAoiJ4cB99OZJmEoLTA@xxxxxxxxxxxxxx> <alpine.DEB.2.00.1106021555561.12963@kaball-desktop>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Stefano Stabellini writes ("Re: [Xen-devel] Re: [PATCH] libxl: basic support 
for virtio disk"):
> The limitation on the number of partitions is meaningless for virtio and
> the limitation on the number of disks in arbitrary, as it is arbitrary
> the current limitation on the number of scsi disks.

So the code in libxl should accept any disk number that it can
correctly format into an option to qemu, and allow qemu to deal with
any resulting problems.

> Device names like xvda1, xvda2, etc, are currently supported only with
> PV guests.

Currently the partition number is ignored.  Nonzero partitions should
instead then be rejected.

> There is no way to specify a single partition with HVM guests.
> Considering that this patch is only meant for HVM guest, I think it is
> correct to leave out the partition number.

It should be checked, not ignored.


Xen-devel mailing list