]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: Store updated CPU in save cookie
authorJiri Denemark <jdenemar@redhat.com>
Fri, 2 Jun 2017 20:52:03 +0000 (22:52 +0200)
committerJiri Denemark <jdenemar@redhat.com>
Wed, 7 Jun 2017 11:36:02 +0000 (13:36 +0200)
commit8c19fbf452372c7c1becf987497525ee8b61abbf
tree5216233df5c3722217d54d608ceb5e1e64c06d5b
parent48bc3053b8f2bfa3adc93d3c316d48d0f482cde4
qemu: Store updated CPU in save cookie

Since the domain XML saved in a snapshot or saved image uses the
original guest CPU definition but we still want to enforce ABI when
restoring the domain if libvirt and QEMU are new enough, we save the
live updated CPU definition in a save cookie.

Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
Reviewed-by: Pavel Hrdina <phrdina@redhat.com>
src/qemu/qemu_domain.c
src/qemu/qemu_domain.h