[libvirt] [PATCH 11/15] qemu: Remember CPU def from domain start
Pavel Hrdina
phrdina at redhat.com
Tue Jun 6 16:25:29 UTC 2017
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 at 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 at redhat.com>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: Digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20170606/4aec4270/attachment-0001.sig>
More information about the libvir-list
mailing list