]> xenbits.xensource.com Git - libvirt.git/commit
qemu: capabilities: Add accessor to qemu caps machine types presence
authorPeter Krempa <pkrempa@redhat.com>
Thu, 23 Jan 2020 12:21:47 +0000 (13:21 +0100)
committerPeter Krempa <pkrempa@redhat.com>
Mon, 27 Jan 2020 13:55:03 +0000 (14:55 +0100)
commit60b580b949a1196d2ef53cb8edffb642cd281dd9
tree6ec89d15efbd4b3a3f2cc4897aa8f76f7273d371
parent3b8feb4793cef66f5dbfb9bdabe4d40834f1e90e
qemu: capabilities: Add accessor to qemu caps machine types presence

Test code will need to know whether the virQEMUCaps object contains any
machine types already. Add a helper and expose it via 'qemu_capspriv.h'.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
src/qemu/qemu_capabilities.c
src/qemu/qemu_capspriv.h