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/sr0 /mnt

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 2. Then

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/test.img -enable-kvm

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 amit.s...@redhat.com 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),

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 amit.s...@redhat.com 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

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

2011-05-27 Thread Markus Armbruster
Amit Shah amit.s...@redhat.com 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

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

2011-05-27 Thread Markus Armbruster
Daniel P. Berrange berra...@redhat.com 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 amit.s...@redhat.com wrote: [...] What's weird though is 'eject' in the monitor makes the cdrom go away -- a subsequent mount in the

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 berra...@redhat.com 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 amit.s...@redhat.com wrote: [...] What's weird though is

[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