On Thu, 21 Jul 2011 17:16:13 +0200
Markus Armbruster wrote:
> Luiz Capitulino writes:
>
> > On Wed, 20 Jul 2011 18:24:02 +0200
> > Markus Armbruster wrote:
> >
> >> The device model knows best when to accept the guest's eject command.
> >> No need to detour through the block layer.
> >>
> >>
Luiz Capitulino writes:
> On Wed, 20 Jul 2011 18:24:02 +0200
> Markus Armbruster wrote:
>
>> The device model knows best when to accept the guest's eject command.
>> No need to detour through the block layer.
>>
>> bdrv_eject() can't fail anymore. Make it void.
>
> But we're supposed to return
The device model knows best when to accept the guest's eject command.
No need to detour through the block layer.
bdrv_eject() can't fail anymore. Make it void.
Signed-off-by: Markus Armbruster
---
block.c|7 +--
block.h|2 +-
hw/ide/atapi.c | 29 +-