[Qemu-devel] virtio-blk.c handling of i/o which is not a 512 multiple

2011-03-30 Thread Conor Murphy
Hi, I'm trying to write a virtio-blk driver for Solaris. I've gotten it to the point where Solaris can see the device and create a ZFS file system on it. However when I try and create a UFS filesystem on the device, the VM crashed with the error *** glibc detected *** /usr/bin/qemu-kvm: double

Re: [Qemu-devel] virtio-blk.c handling of i/o which is not a 512 multiple

2011-03-30 Thread Christoph Hellwig
On Wed, Mar 30, 2011 at 08:48:18AM +, Conor Murphy wrote: Is there a requirement for virtio-blk guest drivers that all i/o requests are sized in multiples of 512 bytes? Yes, like for any other block driver. Of course this should not actually crash qemu, but rather fail the request. Does