]> xenbits.xensource.com Git - libvirt.git/commit
qemu: Store host-model CPU in qemu capabilities
authorJiri Denemark <jdenemar@redhat.com>
Wed, 15 Jun 2016 12:35:18 +0000 (14:35 +0200)
committerJiri Denemark <jdenemar@redhat.com>
Thu, 22 Sep 2016 13:40:08 +0000 (15:40 +0200)
commit68c7011856ad0033dff55a1b2c7b9749ce98e439
treeb812ab905e9a159ef6bedf583df49a6f55ea7e70
parent8fc6e7d82474d1d26e8f580af6034880797d676f
qemu: Store host-model CPU in qemu capabilities

Host capabilities provide libvirt's view of the host CPU, but for a
useful support for host-model CPUs we really need a hypervisor's view of
the CPU. And since the view can be differ with emulator, qemu
capabilities is the best place to store the host CPU model.

This patch just copies the CPU model from host capabilities, but this
will change in the future.

Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
src/qemu/qemu_capabilities.c
src/qemu/qemu_capspriv.h
tests/domaincapstest.c
tests/qemucapabilitiestest.c
tests/qemuxml2argvtest.c
tests/testutilsqemu.c
tests/testutilsqemu.h