[libvirt] [PATCH 19/22] cpu: Add optional list of allowed features to virCPUBaseline

Ján Tomko jtomko at redhat.com
Fri May 25 13:42:56 UTC 2018


On Wed, May 16, 2018 at 10:39:38AM +0200, 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 at 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: Ján Tomko <jtomko at redhat.com>

Jano
-------------- 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/20180525/0239ab1c/attachment-0001.sig>


More information about the libvir-list mailing list