[libvirt] [PATCH v2 02/15] vbox: Close media when undefining domains

John Ferlan jferlan at redhat.com
Fri Nov 3 13:32:08 UTC 2017



On 10/24/2017 03:35 PM, Dawid Zamirski wrote:
> When registering a VM we call OpenMedium on each disk image which adds it
> to vbox's global media registry. Therefore, we should make sure to call
> Close when unregistering VM so we cleanup the media registry entries
> after ourselves - this does not remove disk image files. This follows
> the behaviour of the VBoxManage unregistervm command.
> ---
>  src/vbox/vbox_tmpl.c | 24 +++++++++++++++++++-----
>  1 file changed, 19 insertions(+), 5 deletions(-)
> 

Reviewed-by: John Ferlan <jferlan at redhat.com>

John

[I can push this before a v3 would be necessary - more later]




More information about the libvir-list mailing list