[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH RESEND 42/50] blockdev: Implement eject with bas
From: |
Eric Blake |
Subject: |
Re: [Qemu-devel] [PATCH RESEND 42/50] blockdev: Implement eject with basic operations |
Date: |
Wed, 28 Jan 2015 13:26:26 -0700 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 |
On 01/27/2015 12:46 PM, Max Reitz wrote:
> Implement 'eject' by calling blockdev-open-tray and
> blockdev-remove-medium.
>
> Signed-off-by: Max Reitz <address@hidden>
> ---
> blockdev.c | 10 +++++-----
> 1 file changed, 5 insertions(+), 5 deletions(-)
Hmm. If you decide to enforce node-name only on the low-level command,
but still want this high-level command to support BDS->BB lookup for
convenience, you might need additional code here. I don't know if that
is an argument in favor or against supporting BDS->BB as convenience at
the low level. I don't have a strong enough opinion towards either
decision, so I'll let others chime in or let your original choice be
good enough. Therefore:
Reviewed-by: Eric Blake <address@hidden>
--
Eric Blake eblake redhat com +1-919-301-3266
Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature
- Re: [Qemu-devel] [PATCH RESEND 41/50] blockdev: Add blockdev-insert-medium, (continued)
- [Qemu-devel] [PATCH RESEND 40/50] blockdev: Add blockdev-remove-medium, Max Reitz, 2015/01/27
- [Qemu-devel] [PATCH RESEND 46/50] hmp: Use blockdev-change-medium for change command, Max Reitz, 2015/01/27
- [Qemu-devel] [PATCH RESEND 45/50] qmp: Introduce blockdev-change-medium, Max Reitz, 2015/01/27
- [Qemu-devel] [PATCH RESEND 42/50] blockdev: Implement eject with basic operations, Max Reitz, 2015/01/27
- Re: [Qemu-devel] [PATCH RESEND 42/50] blockdev: Implement eject with basic operations,
Eric Blake <=
- [Qemu-devel] [PATCH RESEND 43/50] blockdev: Implement change with basic operations, Max Reitz, 2015/01/27
- [Qemu-devel] [PATCH RESEND 47/50] blockdev: Add read-only option to blockdev-change-medium, Max Reitz, 2015/01/27
- [Qemu-devel] [PATCH RESEND 44/50] block: Inquire tray state before tray-moved events, Max Reitz, 2015/01/27
- [Qemu-devel] [PATCH RESEND 49/50] iotests: More options for VM.add_drive(), Max Reitz, 2015/01/27