Bug 1355857
Summary: | CPU feature cmt not found with 2.0.0-1 | |||
---|---|---|---|---|
Product: | [Community] Virtualization Tools | Reporter: | redhatbugreports_541234 | |
Component: | libvirt | Assignee: | Jiri Denemark <jdenemar> | |
Status: | CLOSED NEXTRELEASE | QA Contact: | ||
Severity: | high | Docs Contact: | ||
Priority: | unspecified | |||
Version: | unspecified | CC: | agx, dyuan, lhuang, libvirt-maint, rbalakri, redhatbugreports_541234 | |
Target Milestone: | --- | |||
Target Release: | --- | |||
Hardware: | x86_64 | |||
OS: | Linux | |||
Whiteboard: | ||||
Fixed In Version: | Doc Type: | If docs needed, set a value | ||
Doc Text: | Story Points: | --- | ||
Clone Of: | ||||
: | 1365500 (view as bug list) | Environment: | ||
Last Closed: | 2016-08-10 12:30:13 UTC | Type: | Bug | |
Regression: | --- | Mount Type: | --- | |
Documentation: | --- | CRM: | ||
Verified Versions: | Category: | --- | ||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | ||
Cloudforms Team: | --- | Target Upstream Version: | ||
Embargoed: | ||||
Bug Depends On: | ||||
Bug Blocks: | 1365500 |
Description
redhatbugreports_541234
2016-07-12 18:20:29 UTC
Patches sent upstream for review: https://www.redhat.com/archives/libvir-list/2016-August/msg00486.html This bug is now fixed in libvirt.git by commit dbb14bb0f1316d92c89541fca816c91dce0dc8fb Refs: v2.1.0-108-gdbb14bb Author: Jiri Denemark <jdenemar> AuthorDate: Tue Jun 28 10:51:41 2016 +0200 Commit: Jiri Denemark <jdenemar> CommitDate: Wed Aug 10 14:25:24 2016 +0200 cpu_x86: Introduce x86FeatureIsMigratable Signed-off-by: Jiri Denemark <jdenemar> --- src/cpu/cpu_x86.c | 37 +++++++++++++++++++++++-------------- 1 file changed, 23 insertions(+), 14 deletions(-) commit 1ac897a15da11d1bfca2642bce3b0beaad32bcf1 Refs: v2.1.0-109-g1ac897a Author: Jiri Denemark <jdenemar> AuthorDate: Tue Jun 28 11:12:41 2016 +0200 Commit: Jiri Denemark <jdenemar> CommitDate: Wed Aug 10 14:25:24 2016 +0200 cpu_x86: Properly drop non-migratable features By removing a non-migratable feature in a for loop we would fail to drop every second non-migratable feature if the features array contained several of them in a row. Signed-off-by: Jiri Denemark <jdenemar> --- src/cpu/cpu_x86.c | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) commit 58ba240df89a7dd7bff16ebb65d9aadd49fb8bbb Refs: v2.1.0-110-g58ba240 Author: Jiri Denemark <jdenemar> AuthorDate: Tue Aug 9 15:03:20 2016 +0200 Commit: Jiri Denemark <jdenemar> CommitDate: Wed Aug 10 14:25:24 2016 +0200 tests: Add a test for host-model CPU with CMT feature The generated command line wouldn't work since QEMU doesn't know what 'cmt' is. The following patch will fix this issue. https://bugzilla.redhat.com/show_bug.cgi?id=1355857 Signed-off-by: Jiri Denemark <jdenemar> --- tests/qemuxml2argvdata/qemuxml2argv-cpu-host-model-cmt.args | 22 ++++++++++++++++++++++ tests/qemuxml2argvdata/qemuxml2argv-cpu-host-model-cmt.xml | 19 +++++++++++++++++++ tests/qemuxml2argvtest.c | 1 + tests/testutilsqemu.c | 1 + 4 files changed, 43 insertions(+) commit 300f668c665f1ec0f834917fe8a58b5991322441 Refs: v2.1.0-111-g300f668 Author: Jiri Denemark <jdenemar> AuthorDate: Tue Aug 9 15:15:20 2016 +0200 Commit: Jiri Denemark <jdenemar> CommitDate: Wed Aug 10 14:25:24 2016 +0200 cpu_x86: Fix host-model CPUs on hosts with CMT Since the introduction of CMT features (commit v1.3.5-461-gf294b83) starting a domain with host-model CPU on a host which supports CMT fails because QEMU complains about unknown 'cmt' feature: qemu-system-x86_64: CPU feature cmt not found https://bugzilla.redhat.com/show_bug.cgi?id=1355857 Signed-off-by: Jiri Denemark <jdenemar> --- src/cpu/cpu_x86.c | 8 ++++++-- tests/qemuxml2argvdata/qemuxml2argv-cpu-host-model-cmt.args | 2 +- 2 files changed, 7 insertions(+), 3 deletions(-) |