]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: add machines & arch to fake test capabilities cache
authorDaniel P. Berrangé <berrange@redhat.com>
Mon, 2 Dec 2019 12:19:44 +0000 (12:19 +0000)
committerDaniel P. Berrangé <berrange@redhat.com>
Mon, 9 Dec 2019 10:15:15 +0000 (10:15 +0000)
commit5cedfbd10019471dde6bfeaef069330cd82c0a34
treea87f82011d7667817a0d7a30b33d95824d261f7a
parentbce3b0807eef821841afa688c621bd9457f06946
qemu: add machines & arch to fake test capabilities cache

Currently the virQEMUCapsPtr objects are just empty. Future patches are
going to expect them to contain real data. Start off by populating the
machine types and arch information.

Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
src/qemu/qemu_capabilities.c
src/qemu/qemu_capspriv.h
tests/qemuxml2argvtest.c
tests/testutilsqemu.c