[libvirt] [PATCH 00/12] qemu: don't lose VMs if emulator is not installed

Ján Tomko jtomko at redhat.com
Fri Aug 18 11:28:10 UTC 2017

On Wed, Aug 16, 2017 at 04:57:49PM +0200, Peter Krempa wrote:
>The post-parse callback grew into an abomination which requires qemuCaps to
>succeed. That won't work out well if for some reasons qemu is uninstalled.
>Restarting of libvirtd would result in all VMs being lost untill qemu is
>Fix this by allowing qemuCaps to be missing and re-running the postparse
>callbacks when attempting a VM start.
>Peter Krempa (12):
>  conf: domainlist: Explicitly report failure to load domain config
>  conf: Add 'basic' post parse callback
>  qemu: Move assignment of default emulator to the basic post parse
>    callback
>  conf: Add callbacks that allocate per-def private data
>  qemu: domain: Don't re-allocate qemuCaps in post parse callbacks
>  conf: Return any non-zero value from
>    virDomainDeviceInfoIterateInternal callback
>  conf: add infrastructure for tolerating certain post parse callback
>    failures
>  qemu: capabilities: Tolerate missing @qemuCaps in
>    virQEMUCapsGetCanonicalMachine
>  qemu: capabilities: Tolerate missing @qemuCaps in
>    virQEMUCapsSupportsGICVersion
>  qemu: domain: Don't return default NIC model if @qemuCaps are missing
>  qemu: domain: Don't set default USB model if qemuCaps is missing
>  qemu: Implement postParse callback skipping on config reload

ACK series.

-------------- 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/20170818/19e87312/attachment-0001.sig>

More information about the libvir-list mailing list