Re: [Qemu-devel] [PATCH] block: do not probe zero-sized disks

2013-01-11 Thread Stefan Hajnoczi
On Thu, Jan 10, 2013 at 03:39:27PM +0100, Paolo Bonzini wrote: > A blank CD or DVD is visible as a zero-sized disks. Probing such > disks will lead to an EIO and a failure to start the VM. Treating > them as raw is a better solution. > > Signed-off-by: Paolo Bonzini > --- > block.c | 2 +- > 1

Re: [Qemu-devel] [PATCH] block: do not probe zero-sized disks

2013-01-10 Thread Eric Blake
On 01/10/2013 07:39 AM, Paolo Bonzini wrote: > A blank CD or DVD is visible as a zero-sized disks. Probing such > disks will lead to an EIO and a failure to start the VM. Treating > them as raw is a better solution. > > Signed-off-by: Paolo Bonzini > --- > block.c | 2 +- > 1 file changed, 1 i

Re: [Qemu-devel] [PATCH] block: do not probe zero-sized disks

2013-01-10 Thread Kevin Wolf
Am 10.01.2013 15:39, schrieb Paolo Bonzini: > A blank CD or DVD is visible as a zero-sized disks. Probing such > disks will lead to an EIO and a failure to start the VM. Treating > them as raw is a better solution. > > Signed-off-by: Paolo Bonzini > --- > block.c | 2 +- > 1 file changed, 1 in

[Qemu-devel] [PATCH] block: do not probe zero-sized disks

2013-01-10 Thread Paolo Bonzini
A blank CD or DVD is visible as a zero-sized disks. Probing such disks will lead to an EIO and a failure to start the VM. Treating them as raw is a better solution. Signed-off-by: Paolo Bonzini --- block.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/block.c b/block.c in