[Qemu-devel] block bug: tray status is not updated (and/or guest ignores it)

2011-05-26 Thread Luiz Capitulino
I'm testing with qemu.git (HEAD aa29141d84d), procedure: 1. Start a VM with: # qemu -hda disks/test.img -enable-kvm -m 1G -cdrom Fedora-14-x86_64-DVD.iso 2. Then inside the guest run: # eject /dev/sr0 && mount /dev/sr0 /mnt Results: Actual: The cdrom is successfully mounted Expected: The

Re: [Qemu-devel] block bug: tray status is not updated (and/or guest ignores it)

2011-05-27 Thread Amit Shah
On (Thu) 26 May 2011 [15:29:29], Luiz Capitulino wrote: > > I'm testing with qemu.git (HEAD aa29141d84d), procedure: > > 1. Start a VM with: > > # qemu -hda disks/test.img -enable-kvm -m 1G -cdrom Fedora-14-x86_64-DVD.iso > > 2. Then inside the guest run: > > # eject /dev/sr0 && mount /dev/s

Re: [Qemu-devel] block bug: tray status is not updated (and/or guest ignores it)

2011-05-27 Thread Amit Shah
On (Fri) 27 May 2011 [17:01:35], Amit Shah wrote: > On (Thu) 26 May 2011 [15:29:29], Luiz Capitulino wrote: > > > > I'm testing with qemu.git (HEAD aa29141d84d), procedure: > > > > 1. Start a VM with: > > > > # qemu -hda disks/test.img -enable-kvm -m 1G -cdrom > > Fedora-14-x86_64-DVD.iso > >

Re: [Qemu-devel] block bug: tray status is not updated (and/or guest ignores it)

2011-05-27 Thread Amit Shah
On (Fri) 27 May 2011 [17:04:30], Amit Shah wrote: > On (Fri) 27 May 2011 [17:01:35], Amit Shah wrote: > > On (Thu) 26 May 2011 [15:29:29], Luiz Capitulino wrote: > > > > > > I'm testing with qemu.git (HEAD aa29141d84d), procedure: > > > > > > 1. Start a VM with: > > > > > > # qemu -hda disks/te

Re: [Qemu-devel] block bug: tray status is not updated (and/or guest ignores it)

2011-05-27 Thread Luiz Capitulino
On Fri, 27 May 2011 18:10:08 +0530 Amit Shah wrote: > On (Fri) 27 May 2011 [17:04:30], Amit Shah wrote: > > On (Fri) 27 May 2011 [17:01:35], Amit Shah wrote: > > > On (Thu) 26 May 2011 [15:29:29], Luiz Capitulino wrote: > > > > > > > > I'm testing with qemu.git (HEAD aa29141d84d), procedure: > >

Re: [Qemu-devel] block bug: tray status is not updated (and/or guest ignores it)

2011-05-27 Thread Daniel P. Berrange
On Fri, May 27, 2011 at 10:39:35AM -0300, Luiz Capitulino wrote: > On Fri, 27 May 2011 18:10:08 +0530 > Amit Shah wrote: > > > On (Fri) 27 May 2011 [17:04:30], Amit Shah wrote: > > > On (Fri) 27 May 2011 [17:01:35], Amit Shah wrote: > > > > On (Thu) 26 May 2011 [15:29:29], Luiz Capitulino wrote:

Re: [Qemu-devel] block bug: tray status is not updated (and/or guest ignores it)

2011-05-27 Thread Markus Armbruster
Amit Shah writes: [...] > What's weird though is 'eject' in the monitor makes the cdrom go away > -- a subsequent mount in the guest results in a no medium error. I > thought we had solved that, Markus? You fell into QEMU's "let's overload names until everybody's hopelessly confused" trap. You

Re: [Qemu-devel] block bug: tray status is not updated (and/or guest ignores it)

2011-05-27 Thread Markus Armbruster
"Daniel P. Berrange" writes: > On Fri, May 27, 2011 at 10:39:35AM -0300, Luiz Capitulino wrote: >> On Fri, 27 May 2011 18:10:08 +0530 >> Amit Shah wrote: [...] >> > What's weird though is 'eject' in the monitor makes the cdrom go away >> > -- a subsequent mount in the guest results in a no mediu

Re: [Qemu-devel] block bug: tray status is not updated (and/or guest ignores it)

2011-05-27 Thread Daniel P. Berrange
On Fri, May 27, 2011 at 04:35:24PM +0200, Markus Armbruster wrote: > "Daniel P. Berrange" writes: > > > On Fri, May 27, 2011 at 10:39:35AM -0300, Luiz Capitulino wrote: > >> On Fri, 27 May 2011 18:10:08 +0530 > >> Amit Shah wrote: > [...] > >> > What's weird though is 'eject' in the monitor make