Re: [Qemu-devel] [PATCH] monitor: allow device to be ejected if no disk is inserted

2010-06-07 Thread Markus Armbruster
Kevin Wolf writes: > Am 07.06.2010 14:43, schrieb Eduardo Habkost: >> On Mon, Jun 07, 2010 at 02:19:28PM +0200, Markus Armbruster wrote: >>> Kevin Wolf writes: Am 02.06.2010 00:12, schrieb Eduardo Habkost: > The first eject command didn't work because the is_inserted() check > faile

Re: [Qemu-devel] [PATCH] monitor: allow device to be ejected if no disk is inserted

2010-06-07 Thread Kevin Wolf
Am 07.06.2010 14:43, schrieb Eduardo Habkost: > On Mon, Jun 07, 2010 at 02:19:28PM +0200, Markus Armbruster wrote: >> Kevin Wolf writes: >>> Am 02.06.2010 00:12, schrieb Eduardo Habkost: The first eject command didn't work because the is_inserted() check failed. >>> >>> But does it reall

Re: [Qemu-devel] [PATCH] monitor: allow device to be ejected if no disk is inserted

2010-06-07 Thread Eduardo Habkost
On Mon, Jun 07, 2010 at 02:19:28PM +0200, Markus Armbruster wrote: > Kevin Wolf writes: > > Am 02.06.2010 00:12, schrieb Eduardo Habkost: > >> The first eject command didn't work because the is_inserted() check > >> failed. > > > > But does it really make a difference? The guest should not see a m

Re: [Qemu-devel] [PATCH] monitor: allow device to be ejected if no disk is inserted

2010-06-07 Thread Markus Armbruster
Kevin Wolf writes: > Am 02.06.2010 00:12, schrieb Eduardo Habkost: >> Resubmitting a patch that was submitted in December[1]. It was on the staging >> tree but somehow it got dropped. I have rebased it to current master branch >> on >> git. >> >> [1] http://article.gmane.org/gmane.comp.emulat

Re: [Qemu-devel] [PATCH] monitor: allow device to be ejected if no disk is inserted

2010-06-07 Thread Kevin Wolf
Am 02.06.2010 00:12, schrieb Eduardo Habkost: > Resubmitting a patch that was submitted in December[1]. It was on the staging > tree but somehow it got dropped. I have rebased it to current master branch on > git. > > [1] http://article.gmane.org/gmane.comp.emulators.qemu/59813 > > >

Re: [Qemu-devel] [PATCH] monitor: allow device to be ejected if no disk is inserted

2010-06-06 Thread Markus Armbruster
Luiz Capitulino writes: > On Tue, 1 Jun 2010 19:12:19 -0300 > Eduardo Habkost wrote: > >> I have no clue why the code had the is_inserted() check, as it doesn't matter >> if there is a disk present at the host drive, when the user wants the virtual >> device to be disconnected from the host devi

Re: [Qemu-devel] [PATCH] monitor: allow device to be ejected if no disk is inserted

2010-06-04 Thread Luiz Capitulino
On Tue, 1 Jun 2010 19:12:19 -0300 Eduardo Habkost wrote: > I have no clue why the code had the is_inserted() check, as it doesn't matter > if there is a disk present at the host drive, when the user wants the virtual > device to be disconnected from the host device. Makes sense, although I have

[Qemu-devel] [PATCH] monitor: allow device to be ejected if no disk is inserted

2010-06-01 Thread Eduardo Habkost
Resubmitting a patch that was submitted in December[1]. It was on the staging tree but somehow it got dropped. I have rebased it to current master branch on git. [1] http://article.gmane.org/gmane.comp.emulators.qemu/59813 This changes the monitor eject_device() function to not check