[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [libvirt] [PATCH] cpu_x86: Properly disable unknown CPU features



On Mon, Jun 19, 2017 at 15:09:04 +0200, Jiri Denemark wrote:
> CPU features unknown to a hypervisor will not be present in dataDisabled
> even though the feature won't naturally be enabled because it is
> unknown. Thus any features we asked for which are not in dataEnabled
> should be considered disabled.
> 
> Signed-off-by: Jiri Denemark <jdenemar redhat com>
> ---
>  src/cpu/cpu_x86.c                                  |   9 +-
>  tests/cputest.c                                    |   1 +
>  .../x86_64-cpuid-Core-i7-5600U-arat-disabled.xml   |   5 +
>  .../x86_64-cpuid-Core-i7-5600U-arat-enabled.xml    |   8 +
>  .../x86_64-cpuid-Core-i7-5600U-arat-guest.xml      |  29 +++
>  .../x86_64-cpuid-Core-i7-5600U-arat-host.xml       |  30 +++
>  .../x86_64-cpuid-Core-i7-5600U-arat-json.xml       |  14 ++
>  .../x86_64-cpuid-Core-i7-5600U-arat.json           | 202 +++++++++++++++++++++
>  .../x86_64-cpuid-Core-i7-5600U-arat.xml            |  41 +++++
>  9 files changed, 335 insertions(+), 4 deletions(-)
>  create mode 100644 tests/cputestdata/x86_64-cpuid-Core-i7-5600U-arat-disabled.xml
>  create mode 100644 tests/cputestdata/x86_64-cpuid-Core-i7-5600U-arat-enabled.xml
>  create mode 100644 tests/cputestdata/x86_64-cpuid-Core-i7-5600U-arat-guest.xml
>  create mode 100644 tests/cputestdata/x86_64-cpuid-Core-i7-5600U-arat-host.xml
>  create mode 100644 tests/cputestdata/x86_64-cpuid-Core-i7-5600U-arat-json.xml
>  create mode 100644 tests/cputestdata/x86_64-cpuid-Core-i7-5600U-arat.json
>  create mode 100644 tests/cputestdata/x86_64-cpuid-Core-i7-5600U-arat.xml

ACK

Attachment: signature.asc
Description: PGP signature


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]