On 05/16/2018 04:39 AM, Jiri Denemark wrote:
When computing a baseline CPU for a specific hypervisor we have to
make
sure to include only CPU features supported by the hypervisor. Otherwise
the computed CPU could not be used for starting a new domain.
Signed-off-by: Jiri Denemark <jdenemar(a)redhat.com>
---
src/bhyve/bhyve_driver.c | 2 +-
src/cpu/cpu.c | 8 +++++---
src/cpu/cpu.h | 2 ++
src/cpu/cpu_arm.c | 1 +
src/cpu/cpu_ppc64.c | 1 +
src/cpu/cpu_x86.c | 18 ++++++++++++++++++
src/libxl/libxl_driver.c | 2 +-
src/qemu/qemu_driver.c | 2 +-
src/test/test_driver.c | 2 +-
src/vz/vz_driver.c | 2 +-
tests/cputest.c | 2 +-
11 files changed, 33 insertions(+), 9 deletions(-)
Reviewed-by: Collin Walling <walling(a)linux.ibm.com>
--
Respectfully,
- Collin Walling