On Mon, Jun 05, 2017 at 11:26:59AM +0200, Jiri Denemark wrote:
When starting a domain we update the guest CPU definition to match
what
QEMU actually provided (since it is allowed to add or removed some
features unless check='full' is specified). Let's store the original CPU
in domain private data so that we can use it to provide a backward
compatible domain XML.
Signed-off-by: Jiri Denemark <jdenemar(a)redhat.com>
---
src/libvirt_private.syms | 2 ++
src/qemu/qemu_domain.c | 7 +++++++
src/qemu/qemu_domain.h | 4 ++++
src/qemu/qemu_process.c | 13 +++++++++++--
4 files changed, 24 insertions(+), 2 deletions(-)
Reviewed-by: Pavel Hrdina <phrdina(a)redhat.com>