[libvirt] [PATCH v3 17/28] qemu: Get host CPU model from QEMU on x86_64
Pavel Hrdina
phrdina at redhat.com
Thu Feb 23 19:25:15 UTC 2017
On Thu, Feb 23, 2017 at 03:15:15PM +0100, Jiri Denemark wrote:
> Until now host-model CPU mode tried to enable all CPU features supported
> by the host CPU even if QEMU/KVM did not support them. This caused a
> number of issues and made host-model quite unreliable. Asking QEMU for
> the CPU it can provide and the current host makes host-model much more
> robust.
>
> This commit fixes the following bugs:
>
> https://bugzilla.redhat.com/show_bug.cgi?id=1018251
> https://bugzilla.redhat.com/show_bug.cgi?id=1371617
> https://bugzilla.redhat.com/show_bug.cgi?id=1372581
> https://bugzilla.redhat.com/show_bug.cgi?id=1404627
> https://bugzilla.redhat.com/show_bug.cgi?id=870071
>
> In addition to that, the following bug should be mostly limited to cases
> when an unsupported feature is explicitly requested:
>
> https://bugzilla.redhat.com/show_bug.cgi?id=1335534
>
> Signed-off-by: Jiri Denemark <jdenemar at redhat.com>
> ---
>
> Notes:
> Version 3:
> - added #include "cpu/cpu_x86.h" removed in an earlier patch
> - adapted to changes to qemuMonitorCPUModelProperty
>
> Version 2:
> - no change
>
> src/qemu/qemu_capabilities.c | 77 ++++++++++++++++++++++
> .../domaincapsschemadata/qemu_2.9.0-tcg.x86_64.xml | 33 +++++++++-
> tests/domaincapsschemadata/qemu_2.9.0.x86_64.xml | 11 +++-
> 3 files changed, 119 insertions(+), 2 deletions(-)
ACK
Pavel
-------------- 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/20170223/4ea06696/attachment-0001.sig>
More information about the libvir-list
mailing list