[libvirt] [PATCH v2 0/2] qemu: cpu: fix "full" CPU to include all "reported" CPU features

Nikolay Shirokovskiy nshirokovskiy at virtuozzo.com
Wed Apr 11 08:57:30 UTC 2018


diff from v1:
- add test data for CPU for which issue was triggered

Patch 1 adds tests for CPU on which problem was detected. However we
don't test <cpu mode='host-model' check='partial'> case which have
issue.

Patch 2 is actual fix.

Nikolay Shirokovskiy (2):
  cputest: New test for Intel Core i5-650
  qemu: cpu: fix "full" CPU to include all "reported" CPU features

 src/qemu/qemu_capabilities.c                       |   12 +-
 tests/cputest.c                                    |    1 +
 .../x86_64-cpuid-Core-i5-650-disabled.xml          |    5 +
 .../x86_64-cpuid-Core-i5-650-enabled.xml           |    7 +
 .../cputestdata/x86_64-cpuid-Core-i5-650-guest.xml |   24 +
 .../cputestdata/x86_64-cpuid-Core-i5-650-host.xml  |   25 +
 .../cputestdata/x86_64-cpuid-Core-i5-650-json.xml  |   12 +
 tests/cputestdata/x86_64-cpuid-Core-i5-650.json    | 1068 ++++++++++++++++++++
 tests/cputestdata/x86_64-cpuid-Core-i5-650.xml     |   30 +
 9 files changed, 1181 insertions(+), 3 deletions(-)
 create mode 100644 tests/cputestdata/x86_64-cpuid-Core-i5-650-disabled.xml
 create mode 100644 tests/cputestdata/x86_64-cpuid-Core-i5-650-enabled.xml
 create mode 100644 tests/cputestdata/x86_64-cpuid-Core-i5-650-guest.xml
 create mode 100644 tests/cputestdata/x86_64-cpuid-Core-i5-650-host.xml
 create mode 100644 tests/cputestdata/x86_64-cpuid-Core-i5-650-json.xml
 create mode 100644 tests/cputestdata/x86_64-cpuid-Core-i5-650.json
 create mode 100644 tests/cputestdata/x86_64-cpuid-Core-i5-650.xml

-- 
1.8.3.1




More information about the libvir-list mailing list