Re: [Qemu-devel] Question on virtio disk maximum index and maximum partition

2011-06-14 Thread Richard W.M. Jones
On Wed, Jun 01, 2011 at 05:56:02AM +0100, Stefan Hajnoczi wrote: Partitions are not at the virtio-blk level. The guest operating system will see the virtio-blk disk and scan its partition table to determine which partitions are available. The limit then depends on the partitioning scheme

Re: [Qemu-devel] Question on virtio disk maximum index and maximum partition

2011-06-01 Thread Wei Liu
Stefano Stabellini CC'ed On Wed, Jun 1, 2011 at 12:56 PM, Stefan Hajnoczi stefa...@gmail.com wrote: On Wed, Jun 1, 2011 at 2:06 AM, Wei Liu l...@liuw.name wrote: I'm programming for virtio disk support in Xen tool stack. I would like to know the limitation of virtio disk. I'm interested what

Re: [Qemu-devel] Question on virtio disk maximum index and maximum partition

2011-06-01 Thread Stefano Stabellini
On Wed, 1 Jun 2011, Wei Liu wrote: That's exactly what I'm seeing... Maybe I should modify the checking and make a exception for virtio disk? Stefano, what would you say? That is not a check, it is just the upper limit to decode vda1 or vde2 in a disk number and partition number. I would

[Qemu-devel] Question on virtio disk maximum index and maximum partition

2011-05-31 Thread Wei Liu
Hi, all. I'm programming for virtio disk support in Xen tool stack. I would like to know the limitation of virtio disk. That is, what's the maximum number of disks supported through virtio bus, and what's the maximum number of partitions supported per disk. If I'm posting to the wrong list,

Re: [Qemu-devel] Question on virtio disk maximum index and maximum partition

2011-05-31 Thread Stefan Hajnoczi
On Wed, Jun 1, 2011 at 2:06 AM, Wei Liu l...@liuw.name wrote: I'm programming for virtio disk support in Xen tool stack. I would like to know the limitation of virtio disk. I'm interested what you are implementing - a virtio-blk backend for Xen (which would basically mean vhost-blk)? That is,