From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ian Jackson Subject: Re: Re: [PATCH] libxl: basic support for virtio disk Date: Thu, 2 Jun 2011 17:03:33 +0100 Message-ID: <19943.46165.598420.601751@mariner.uk.xensource.com> References: <19942.17843.474817.123371@mariner.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Stefano Stabellini Cc: "xen-devel@lists.xensource.com" , Wei Liu List-Id: xen-devel@lists.xenproject.org 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. Ian.