]> xenbits.xensource.com Git - people/liuw/libxenctrl-split/libvirt.git/commit
qemu_capabilities: Introduce virQEMUCapsGetDefaultMachine
authorMichal Privoznik <mprivozn@redhat.com>
Mon, 30 Jun 2014 14:39:18 +0000 (16:39 +0200)
committerMichal Privoznik <mprivozn@redhat.com>
Thu, 3 Jul 2014 10:22:38 +0000 (12:22 +0200)
commitcb01d2b5b11a21082e031b0c3000124ed47c88b7
treeb64760199bb9461db1a71b9630ef8b4f92e26eae
parent69f92a87c262ffdfcd1e9485c8eabef67d74aade
qemu_capabilities: Introduce virQEMUCapsGetDefaultMachine

Sometimes it may be useful to get a default machine for given qemu
binary. Fortunately, the default machine is stored always on the first
position in the supported machines array.

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