[libvirt] [PATCHv2 45/62] qemu: hotplug: Implement removable media change for -blockdev

Ján Tomko jtomko at redhat.com
Thu Aug 16 14:57:16 UTC 2018


On Mon, Aug 13, 2018 at 06:00:19PM +0200, Peter Krempa wrote:
>Use the new APIs which allow to manipulate the tray and media separately
>and also allow using a nodename to refer to a media to implement media
>changing.
>
>With the new approach we don't have to call eject twice as the media is
>removed by calling qemuMonitorBlockdevMediumRemove.
>
>Signed-off-by: Peter Krempa <pkrempa at redhat.com>
>---
> src/qemu/qemu_hotplug.c | 95 ++++++++++++++++++++++++++++++++++++++++++++++++-
> 1 file changed, 94 insertions(+), 1 deletion(-)
>

Reviewed-by: Ján Tomko <jtomko at redhat.com>

Jano
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: Digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20180816/b24690d2/attachment-0001.sig>


More information about the libvir-list mailing list