[PATCH] docs: fix typo in domcaps host-model CPU description

Jim Fehlig posted 1 patch 4 years ago
Test syntax-check failed
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/libvirt tags/patchew/20200323214749.24185-1-jfehlig@suse.com
docs/formatdomaincaps.html.in | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH] docs: fix typo in domcaps host-model CPU description
Posted by Jim Fehlig 4 years ago
The domain capabilities documentation contains a small but confusing
error in the host-model CPU description, referencing the element <mode>
instead of <model>. Fix this small typo.

Signed-off-by: Jim Fehlig <jfehlig@suse.com>
---

I only found this small typo (well, I'm pretty sure it's a typo :-)) by
tring to understand a more confusing observation. On a machine where
capabilities reports CascaseLake-Server, domcapabilities reports

    <mode name='host-model' supported='yes'>
      <model fallback='forbid'>Cascadelake-Server</model>
      <vendor>Intel</vendor>
      <feature policy='require' name='ss'/>
      <feature policy='require' name='hypervisor'/>
      <feature policy='require' name='tsc_adjust'/>
      <feature policy='require' name='umip'/>
      <feature policy='require' name='pku'/>
      <feature policy='require' name='md-clear'/>
      <feature policy='require' name='stibp'/>
      <feature policy='require' name='arch-capabilities'/>
      <feature policy='require' name='xsaves'/>
      <feature policy='require' name='invtsc'/>
    </mode>
    <mode name='custom' supported='yes'>
      ...
      <model usable='no'>Cascadelake-Server</model>
    </mode>

So using host-model will result in a CascadeLake-Server CPU, but it
is not supported when specifying a custom CPU? Interestingly, I see
something similar from domcapabilities on machine where capabilities
reports Skylake-Server-IBRS

    <mode name='host-model' supported='yes'>
      <model fallback='forbid'>Cascadelake-Server</model>
      <vendor>Intel</vendor>
      <feature policy='require' name='ss'/>
      <feature policy='require' name='hypervisor'/>
      <feature policy='require' name='tsc_adjust'/>
      <feature policy='require' name='umip'/>
      <feature policy='require' name='md-clear'/>
      <feature policy='require' name='stibp'/>
      <feature policy='require' name='arch-capabilities'/>
      <feature policy='require' name='xsaves'/>
      <feature policy='require' name='invtsc'/>
      <feature policy='disable' name='pku'/>
      <feature policy='disable' name='avx512vnni'/>
    </mode>
    <mode name='custom' supported='yes'>
      ...
      <model usable='no'>Skylake-Server-IBRS</model>
      <model usable='no'>Skylake-Server</model>
      <model usable='no'>Cascadelake-Server</model>
    </mode>

This seems contradictory to me but perhaps I'm overlooking something?

 docs/formatdomaincaps.html.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/docs/formatdomaincaps.html.in b/docs/formatdomaincaps.html.in
index 66e758501b..7fd1f91f73 100644
--- a/docs/formatdomaincaps.html.in
+++ b/docs/formatdomaincaps.html.in
@@ -232,7 +232,7 @@
       <dt><code>host-model</code></dt>
       <dd>
         If <code>host-model</code> is supported by the hypervisor, the
-        <code>mode</code> describes the guest CPU which will be used when
+        <code>model</code> describes the guest CPU which will be used when
         starting a domain with <code>host-model</code> CPU. The hypervisor
         specifics (such as unsupported CPU models or features, machine type,
         etc.) may be accounted for in this guest CPU specification and thus
-- 
2.25.0


Re: [PATCH] docs: fix typo in domcaps host-model CPU description
Posted by Jiri Denemark 4 years ago
On Mon, Mar 23, 2020 at 15:47:49 -0600, Jim Fehlig wrote:
> The domain capabilities documentation contains a small but confusing
> error in the host-model CPU description, referencing the element <mode>
> instead of <model>. Fix this small typo.
> 
> Signed-off-by: Jim Fehlig <jfehlig@suse.com>
> ---
> 
> I only found this small typo (well, I'm pretty sure it's a typo :-)) by
> tring to understand a more confusing observation. On a machine where
> capabilities reports CascaseLake-Server, domcapabilities reports
> 
>     <mode name='host-model' supported='yes'>
>       <model fallback='forbid'>Cascadelake-Server</model>
>       <vendor>Intel</vendor>
>       <feature policy='require' name='ss'/>
>       <feature policy='require' name='hypervisor'/>
>       <feature policy='require' name='tsc_adjust'/>
>       <feature policy='require' name='umip'/>
>       <feature policy='require' name='pku'/>
>       <feature policy='require' name='md-clear'/>
>       <feature policy='require' name='stibp'/>
>       <feature policy='require' name='arch-capabilities'/>
>       <feature policy='require' name='xsaves'/>
>       <feature policy='require' name='invtsc'/>
>     </mode>
>     <mode name='custom' supported='yes'>
>       ...
>       <model usable='no'>Cascadelake-Server</model>
>     </mode>
> 
> So using host-model will result in a CascadeLake-Server CPU, but it
> is not supported when specifying a custom CPU? Interestingly, I see
> something similar from domcapabilities on machine where capabilities
> reports Skylake-Server-IBRS
> 
>     <mode name='host-model' supported='yes'>
>       <model fallback='forbid'>Cascadelake-Server</model>
>       <vendor>Intel</vendor>
>       <feature policy='require' name='ss'/>
>       <feature policy='require' name='hypervisor'/>
>       <feature policy='require' name='tsc_adjust'/>
>       <feature policy='require' name='umip'/>
>       <feature policy='require' name='md-clear'/>
>       <feature policy='require' name='stibp'/>
>       <feature policy='require' name='arch-capabilities'/>
>       <feature policy='require' name='xsaves'/>
>       <feature policy='require' name='invtsc'/>
>       <feature policy='disable' name='pku'/>
>       <feature policy='disable' name='avx512vnni'/>
>     </mode>
>     <mode name='custom' supported='yes'>
>       ...
>       <model usable='no'>Skylake-Server-IBRS</model>
>       <model usable='no'>Skylake-Server</model>
>       <model usable='no'>Cascadelake-Server</model>
>     </mode>
> 
> This seems contradictory to me but perhaps I'm overlooking something?

The usable=yse|no attribute says whether a given CPU model can be
provided to a guest without any modification. That is whether you can
use
        <cpu mode='custom' match='exact'>
          <model fallback='forbid'>Cascadelake-Server</model>
        </cpu>

When usable='no', QEMU will need to disable some of the features that
are part of the Cascadelake-Server CPU model. In other words, the CPU
model is not usable as is.

On the other hand, the <mode name='host-model'> element in domain
capabilities describes the CPU used as a host-model CPU by adding or
removing some specific features. In other words, while using the simple
CPU definition mentioned above would cause QEMU to drop some features,
using a more verbose

      <cpu mode='custom' match='exact'>
        <model fallback='forbid'>Cascadelake-Server</model>
        <vendor>Intel</vendor>
        <feature policy='require' name='ss'/>
        <feature policy='require' name='hypervisor'/>
        <feature policy='require' name='tsc_adjust'/>
        <feature policy='require' name='umip'/>
        <feature policy='require' name='md-clear'/>
        <feature policy='require' name='stibp'/>
        <feature policy='require' name='arch-capabilities'/>
        <feature policy='require' name='xsaves'/>
        <feature policy='require' name='invtsc'/>
        <feature policy='disable' name='pku'/>
        <feature policy='disable' name='avx512vnni'/>
      </cpu>

explicitly asks QEMU to disable pku and avx512vnni features and thus
QEMU will not have to disable anything.

The situation on the first machine is a bit strange as there are no
features disabled in host-model CPU definition, which makes it unclear
why QEMU reports Cascadelake-Server as unusable (QEMU reports the
reason, but we don't do so yet).

Anyway, would you mind running the tests/cputestdata/cpu-gather.sh
script on both machines (make sure to install qemu, python3, and cpuid
packages first) and send us the output so that we can check the CPU
models are properly detected?

>  docs/formatdomaincaps.html.in | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/docs/formatdomaincaps.html.in b/docs/formatdomaincaps.html.in
> index 66e758501b..7fd1f91f73 100644
> --- a/docs/formatdomaincaps.html.in
> +++ b/docs/formatdomaincaps.html.in
> @@ -232,7 +232,7 @@
>        <dt><code>host-model</code></dt>
>        <dd>
>          If <code>host-model</code> is supported by the hypervisor, the
> -        <code>mode</code> describes the guest CPU which will be used when
> +        <code>model</code> describes the guest CPU which will be used when
>          starting a domain with <code>host-model</code> CPU. The hypervisor
>          specifics (such as unsupported CPU models or features, machine type,
>          etc.) may be accounted for in this guest CPU specification and thus

As strange as it seems, there's no typo. The <model> element describes
just a small part of the whole CPU. There are additional <vendor> and
<feature> elements which also belong to the CPU definition. All these
elements are children of the <mode> element and thus the <mode> element
describes the guest CPU. Yes, this is not the best design and having an
entire <cpu> element rather than its children in the
<mode name='host-model' supported='yes'> element would be better, but we
can't really do anything about it now.

Jirka

Re: [PATCH] docs: fix typo in domcaps host-model CPU description
Posted by Jim Fehlig 4 years ago
On 3/24/20 3:44 AM, Jiri Denemark wrote:
> On Mon, Mar 23, 2020 at 15:47:49 -0600, Jim Fehlig wrote:
>> The domain capabilities documentation contains a small but confusing
>> error in the host-model CPU description, referencing the element <mode>
>> instead of <model>. Fix this small typo.
>>
>> Signed-off-by: Jim Fehlig <jfehlig@suse.com>
>> ---
>>
>> I only found this small typo (well, I'm pretty sure it's a typo :-)) by
>> tring to understand a more confusing observation. On a machine where
>> capabilities reports CascaseLake-Server, domcapabilities reports
>>
>>      <mode name='host-model' supported='yes'>
>>        <model fallback='forbid'>Cascadelake-Server</model>
>>        <vendor>Intel</vendor>
>>        <feature policy='require' name='ss'/>
>>        <feature policy='require' name='hypervisor'/>
>>        <feature policy='require' name='tsc_adjust'/>
>>        <feature policy='require' name='umip'/>
>>        <feature policy='require' name='pku'/>
>>        <feature policy='require' name='md-clear'/>
>>        <feature policy='require' name='stibp'/>
>>        <feature policy='require' name='arch-capabilities'/>
>>        <feature policy='require' name='xsaves'/>
>>        <feature policy='require' name='invtsc'/>
>>      </mode>
>>      <mode name='custom' supported='yes'>
>>        ...
>>        <model usable='no'>Cascadelake-Server</model>
>>      </mode>
>>
>> So using host-model will result in a CascadeLake-Server CPU, but it
>> is not supported when specifying a custom CPU? Interestingly, I see
>> something similar from domcapabilities on machine where capabilities
>> reports Skylake-Server-IBRS
>>
>>      <mode name='host-model' supported='yes'>
>>        <model fallback='forbid'>Cascadelake-Server</model>
>>        <vendor>Intel</vendor>
>>        <feature policy='require' name='ss'/>
>>        <feature policy='require' name='hypervisor'/>
>>        <feature policy='require' name='tsc_adjust'/>
>>        <feature policy='require' name='umip'/>
>>        <feature policy='require' name='md-clear'/>
>>        <feature policy='require' name='stibp'/>
>>        <feature policy='require' name='arch-capabilities'/>
>>        <feature policy='require' name='xsaves'/>
>>        <feature policy='require' name='invtsc'/>
>>        <feature policy='disable' name='pku'/>
>>        <feature policy='disable' name='avx512vnni'/>
>>      </mode>
>>      <mode name='custom' supported='yes'>
>>        ...
>>        <model usable='no'>Skylake-Server-IBRS</model>
>>        <model usable='no'>Skylake-Server</model>
>>        <model usable='no'>Cascadelake-Server</model>
>>      </mode>
>>
>> This seems contradictory to me but perhaps I'm overlooking something?
> 
> The usable=yse|no attribute says whether a given CPU model can be
> provided to a guest without any modification. That is whether you can
> use
>          <cpu mode='custom' match='exact'>
>            <model fallback='forbid'>Cascadelake-Server</model>
>          </cpu>
> 
> When usable='no', QEMU will need to disable some of the features that
> are part of the Cascadelake-Server CPU model. In other words, the CPU
> model is not usable as is.
> 
> On the other hand, the <mode name='host-model'> element in domain
> capabilities describes the CPU used as a host-model CPU by adding or
> removing some specific features. In other words, while using the simple
> CPU definition mentioned above would cause QEMU to drop some features,
> using a more verbose
> 
>        <cpu mode='custom' match='exact'>
>          <model fallback='forbid'>Cascadelake-Server</model>
>          <vendor>Intel</vendor>
>          <feature policy='require' name='ss'/>
>          <feature policy='require' name='hypervisor'/>
>          <feature policy='require' name='tsc_adjust'/>
>          <feature policy='require' name='umip'/>
>          <feature policy='require' name='md-clear'/>
>          <feature policy='require' name='stibp'/>
>          <feature policy='require' name='arch-capabilities'/>
>          <feature policy='require' name='xsaves'/>
>          <feature policy='require' name='invtsc'/>
>          <feature policy='disable' name='pku'/>
>          <feature policy='disable' name='avx512vnni'/>
>        </cpu>
> 
> explicitly asks QEMU to disable pku and avx512vnni features and thus
> QEMU will not have to disable anything.

Thanks for the detailed explanation!

> The situation on the first machine is a bit strange as there are no
> features disabled in host-model CPU definition, which makes it unclear
> why QEMU reports Cascadelake-Server as unusable (QEMU reports the
> reason, but we don't do so yet).

It's not clear to me even after looking at the output of cpu-gather.

> Anyway, would you mind running the tests/cputestdata/cpu-gather.sh
> script on both machines (make sure to install qemu, python3, and cpuid
> packages first) and send us the output so that we can check the CPU
> models are properly detected?

Attached.

> 
>>   docs/formatdomaincaps.html.in | 2 +-
>>   1 file changed, 1 insertion(+), 1 deletion(-)
>>
>> diff --git a/docs/formatdomaincaps.html.in b/docs/formatdomaincaps.html.in
>> index 66e758501b..7fd1f91f73 100644
>> --- a/docs/formatdomaincaps.html.in
>> +++ b/docs/formatdomaincaps.html.in
>> @@ -232,7 +232,7 @@
>>         <dt><code>host-model</code></dt>
>>         <dd>
>>           If <code>host-model</code> is supported by the hypervisor, the
>> -        <code>mode</code> describes the guest CPU which will be used when
>> +        <code>model</code> describes the guest CPU which will be used when
>>           starting a domain with <code>host-model</code> CPU. The hypervisor
>>           specifics (such as unsupported CPU models or features, machine type,
>>           etc.) may be accounted for in this guest CPU specification and thus
> 
> As strange as it seems, there's no typo. The <model> element describes
> just a small part of the whole CPU. There are additional <vendor> and
> <feature> elements which also belong to the CPU definition. All these
> elements are children of the <mode> element and thus the <mode> element
> describes the guest CPU.

Ah, yes, now it makes sense. Thanks again!

Regards,
Jim
model name	: Intel(R) Xeon(R) Platinum 8260L CPU @ 2.40GHz
CPU:
   0x00000000 0x00: eax=0x00000016 ebx=0x756e6547 ecx=0x6c65746e edx=0x49656e69
   0x00000001 0x00: eax=0x00050656 ebx=0x06400800 ecx=0x7ffefbff edx=0xbfebfbff
   0x00000002 0x00: eax=0x76036301 ebx=0x00f0b6ff ecx=0x00000000 edx=0x00c30000
   0x00000003 0x00: eax=0x00000000 ebx=0x00000000 ecx=0x00000000 edx=0x00000000
   0x00000004 0x00: eax=0x7c004121 ebx=0x01c0003f ecx=0x0000003f edx=0x00000000
   0x00000004 0x01: eax=0x7c004122 ebx=0x01c0003f ecx=0x0000003f edx=0x00000000
   0x00000004 0x02: eax=0x7c004143 ebx=0x03c0003f ecx=0x000003ff edx=0x00000000
   0x00000004 0x03: eax=0x7c0fc163 ebx=0x0280003f ecx=0x0000cfff edx=0x00000005
   0x00000005 0x00: eax=0x00000040 ebx=0x00000040 ecx=0x00000003 edx=0x00002020
   0x00000006 0x00: eax=0x00000ef7 ebx=0x00000002 ecx=0x00000009 edx=0x00000000
   0x00000007 0x00: eax=0x00000000 ebx=0xd39ffffb ecx=0x00000818 edx=0xbc000400
   0x00000008 0x00: eax=0x00000000 ebx=0x00000000 ecx=0x00000000 edx=0x00000000
   0x00000009 0x00: eax=0x00000000 ebx=0x00000000 ecx=0x00000000 edx=0x00000000
   0x0000000a 0x00: eax=0x07300804 ebx=0x00000000 ecx=0x00000000 edx=0x00000603
   0x0000000b 0x00: eax=0x00000001 ebx=0x00000002 ecx=0x00000100 edx=0x00000006
   0x0000000b 0x01: eax=0x00000006 ebx=0x00000030 ecx=0x00000201 edx=0x00000006
   0x0000000c 0x00: eax=0x00000000 ebx=0x00000000 ecx=0x00000000 edx=0x00000000
   0x0000000d 0x00: eax=0x000002ff ebx=0x00000a88 ecx=0x00000a88 edx=0x00000000
   0x0000000d 0x01: eax=0x0000000f ebx=0x00000a08 ecx=0x00000100 edx=0x00000000
   0x0000000d 0x02: eax=0x00000100 ebx=0x00000240 ecx=0x00000000 edx=0x00000000
   0x0000000d 0x03: eax=0x00000040 ebx=0x000003c0 ecx=0x00000000 edx=0x00000000
   0x0000000d 0x04: eax=0x00000040 ebx=0x00000400 ecx=0x00000000 edx=0x00000000
   0x0000000d 0x05: eax=0x00000040 ebx=0x00000440 ecx=0x00000000 edx=0x00000000
   0x0000000d 0x06: eax=0x00000200 ebx=0x00000480 ecx=0x00000000 edx=0x00000000
   0x0000000d 0x07: eax=0x00000400 ebx=0x00000680 ecx=0x00000000 edx=0x00000000
   0x0000000d 0x09: eax=0x00000008 ebx=0x00000a80 ecx=0x00000000 edx=0x00000000
   0x0000000e 0x00: eax=0x00000000 ebx=0x00000000 ecx=0x00000000 edx=0x00000000
   0x0000000f 0x00: eax=0x00000000 ebx=0x000000cf ecx=0x00000000 edx=0x00000002
   0x0000000f 0x01: eax=0x00000000 ebx=0x0001a000 ecx=0x000000cf edx=0x00000007
   0x00000010 0x00: eax=0x00000000 ebx=0x0000000a ecx=0x00000000 edx=0x00000000
   0x00000010 0x01: eax=0x0000000a ebx=0x00000600 ecx=0x00000004 edx=0x0000000f
   0x00000011 0x00: eax=0x00000000 ebx=0x00000000 ecx=0x00000000 edx=0x00000000
   0x00000012 0x00: eax=0x00000000 ebx=0x00000000 ecx=0x00000000 edx=0x00000000
   0x00000013 0x00: eax=0x00000000 ebx=0x00000000 ecx=0x00000000 edx=0x00000000
   0x00000014 0x00: eax=0x00000001 ebx=0x0000000f ecx=0x00000007 edx=0x00000000
   0x00000014 0x01: eax=0x02490002 ebx=0x003f3fff ecx=0x00000000 edx=0x00000000
   0x00000015 0x00: eax=0x00000002 ebx=0x000000c0 ecx=0x00000000 edx=0x00000000
   0x00000016 0x00: eax=0x00000960 ebx=0x00000f3c ecx=0x00000064 edx=0x00000000
   0x80000000 0x00: eax=0x80000008 ebx=0x00000000 ecx=0x00000000 edx=0x00000000
   0x80000001 0x00: eax=0x00000000 ebx=0x00000000 ecx=0x00000121 edx=0x2c100800
   0x80000002 0x00: eax=0x65746e49 ebx=0x2952286c ecx=0x6f655820 edx=0x2952286e
   0x80000003 0x00: eax=0x616c5020 ebx=0x756e6974 ecx=0x3238206d edx=0x204c3036
   0x80000004 0x00: eax=0x20555043 ebx=0x2e322040 ecx=0x48473034 edx=0x0000007a
   0x80000005 0x00: eax=0x00000000 ebx=0x00000000 ecx=0x00000000 edx=0x00000000
   0x80000006 0x00: eax=0x00000000 ebx=0x00000000 ecx=0x01006040 edx=0x00000000
   0x80000007 0x00: eax=0x00000000 ebx=0x00000000 ecx=0x00000000 edx=0x00000100
   0x80000008 0x00: eax=0x0000302e ebx=0x00000000 ecx=0x00000000 edx=0x00000000
   0x80860000 0x00: eax=0x00000960 ebx=0x00000f3c ecx=0x00000064 edx=0x00000000
   0xc0000000 0x00: eax=0x00000960 ebx=0x00000f3c ecx=0x00000064 edx=0x00000000

MSR:
   0x10a: 0x00000000000000ab

{"QMP": {"version": {"qemu": {"micro": 1, "minor": 1, "major": 3}, "package": "SUSE Linux Enterprise 12"}, "capabilities": []}}
{"return": {}}
{"return": {"model": {"name": "base", "props": {"phys-bits": 0, "core-id": -1, "xlevel": 2147483656, "cmov": true, "ia64": false, "ssb-no": false, "aes": true, "mmx": true, "rdpid": false, "arat": true, "gfni": false, "ibrs-all": true, "pause-filter": false, "xsavec": true, "intel-pt": false, "hv-frequencies": false, "tsc-frequency": 0, "xd": true, "hv-vendor-id": "", "kvm-asyncpf": true, "kvm_asyncpf": true, "perfctr_core": false, "perfctr-core": false, "mpx": true, "pbe": false, "decodeassists": false, "avx512cd": true, "sse4_1": true, "sse4.1": true, "sse4-1": true, "family": 6, "legacy-cache": true, "vmware-cpuid-freq": true, "wbnoinvd": false, "avx512f": true, "msr": true, "mce": true, "mca": true, "hv-runtime": false, "xcrypt": false, "thread-id": -1, "min-level": 13, "xgetbv1": true, "cid": false, "hv-relaxed": false, "hv-crash": false, "ds": false, "fxsr": true, "xsaveopt": true, "xtpr": false, "hv-evmcs": false, "avx512vl": true, "avx512-vpopcntdq": false, "phe": false, "extapic": false, "3dnowprefetch": true, "avx512vbmi2": false, "cr8legacy": false, "stibp": true, "cpuid-0xb": true, "xcrypt-en": false, "kvm_pv_eoi": true, "apic-id": 4294967295, "rsba": false, "pn": false, "dca": false, "vendor": "GenuineIntel", "hv-ipi": false, "pku": true, "smx": false, "cmp_legacy": false, "cmp-legacy": false, "node-id": -1, "avx512-4fmaps": false, "vmcb_clean": false, "vmcb-clean": false, "3dnowext": false, "amd-no-ssb": false, "hle": true, "npt": false, "rdctl-no": true, "memory": "/machine/unattached/system[0]", "clwb": true, "lbrv": false, "adx": true, "ss": true, "pni": true, "svm_lock": false, "svm-lock": false, "pfthreshold": false, "smep": true, "smap": true, "x2apic": true, "avx512vbmi": false, "avx512vnni": true, "hv-stimer": false, "x-hv-synic-kvm-only": false, "i64": true, "flushbyasid": false, "f16c": true, "ace2-en": false, "pat": true, "pae": true, "sse": true, "phe-en": false, "kvm_nopiodelay": true, "kvm-nopiodelay": true, "tm": false, "kvmclock-stable-bit": true, "hypervisor": true, "socket-id": -1, "mds-no": true, "pcommit": false, "syscall": true, "level": 13, "avx512dq": true, "x-migrate-smi-count": true, "svm": false, "full-cpuid-auto-level": true, "hv-reset": false, "invtsc": false, "sse3": true, "sse2": true, "ssbd": true, "est": false, "avx512ifma": false, "tm2": false, "kvm-pv-ipi": false, "kvm-pv-eoi": true, "cx8": true, "cldemote": false, "hv-reenlightenment": false, "kvm_mmu": false, "kvm-mmu": false, "sse4_2": true, "sse4.2": true, "sse4-2": true, "pge": true, "fill-mtrr-mask": true, "avx512bitalg": false, "nodeid_msr": false, "pdcm": false, "movbe": true, "model": 85, "nrip_save": false, "nrip-save": false, "kvm_pv_unhalt": true, "ssse3": true, "sse4a": false, "invpcid": true, "pdpe1gb": true, "tsc-deadline": true, "skip-l1dfl-vmentry": true, "fma": true, "cx16": true, "de": true, "pconfig": false, "enforce": false, "stepping": 6, "xsave": true, "clflush": true, "skinit": false, "tsc": true, "tce": false, "fpu": true, "ibs": false, "ds_cpl": false, "ds-cpl": false, "host-phys-bits": false, "fma4": false, "la57": false, "osvw": false, "check": true, "hv-spinlocks": -1, "pmm": false, "pmu": false, "apic": true, "spec-ctrl": true, "min-xlevel2": 0, "tsc-adjust": true, "tsc_adjust": true, "kvm-steal-time": true, "kvm_steal_time": true, "kvmclock": true, "pschange-mc-no": true, "l3-cache": true, "lwp": false, "amd-ssbd": false, "ibpb": false, "xop": false, "avx": true, "core-capability": false, "movdiri": false, "ace2": false, "avx512bw": true, "acpi": false, "hv-vapic": false, "fsgsbase": true, "ht": false, "nx": true, "pclmulqdq": true, "mmxext": false, "vaes": false, "popcnt": true, "xsaves": true, "movdir64b": false, "tcg-cpuid": true, "lm": true, "umip": true, "pse": true, "avx2": true, "sep": true, "pclmuldq": true, "virt-ssbd": false, "x-hv-max-vps": -1, "nodeid-msr": false, "md-clear": true, "split-lock-detect": false, "kvm": true, "misalignsse": false, "min-xlevel": 2147483656, "kvm-pv-unhalt": true, "bmi2": true, "bmi1": true, "realized": false, "tsc_scale": false, "tsc-scale": false, "topoext": false, "hv-vpindex": false, "xlevel2": 0, "clflushopt": true, "kvm-no-smi-migration": false, "monitor": false, "avx512er": false, "pmm-en": false, "pcid": true, "taa-no": false, "arch-capabilities": true, "3dnow": false, "erms": true, "lahf-lm": true, "lahf_lm": true, "vpclmulqdq": false, "fxsr-opt": false, "hv-synic": false, "xstore": false, "fxsr_opt": false, "kvm-hint-dedicated": false, "rtm": true, "lmce": true, "hv-time": false, "perfctr-nb": false, "perfctr_nb": false, "ffxsr": false, "hv-tlbflush": false, "rdrand": true, "rdseed": true, "avx512-4vnniw": false, "vmx": false, "vme": true, "dtes64": false, "mtrr": true, "rdtscp": true, "pse36": true, "kvm-pv-tlb-flush": false, "tbm": false, "wdt": false, "pause_filter": false, "sha-ni": false, "model-id": "Intel(R) Xeon(R) Platinum 8260L CPU @ 2.40GHz", "abm": true, "avx512pf": false, "xstore-en": false}}}, "id": "model-expansion"}
{"return": [{"name": "max", "typename": "max-x86_64-cpu", "unavailable-features": [], "static": false, "migration-safe": false}, {"name": "host", "typename": "host-x86_64-cpu", "unavailable-features": [], "static": false, "migration-safe": false}, {"name": "base", "typename": "base-x86_64-cpu", "unavailable-features": [], "static": true, "migration-safe": true}, {"name": "qemu64", "typename": "qemu64-x86_64-cpu", "unavailable-features": [], "static": false, "migration-safe": true}, {"name": "qemu32", "typename": "qemu32-x86_64-cpu", "unavailable-features": [], "static": false, "migration-safe": true}, {"name": "phenom", "typename": "phenom-x86_64-cpu", "unavailable-features": ["mmxext", "fxsr-opt", "3dnowext", "3dnow", "sse4a", "npt"], "static": false, "migration-safe": true}, {"name": "pentium3", "typename": "pentium3-x86_64-cpu", "unavailable-features": [], "static": false, "migration-safe": true}, {"name": "pentium2", "typename": "pentium2-x86_64-cpu", "unavailable-features": [], "static": false, "migration-safe": true}, {"name": "pentium", "typename": "pentium-x86_64-cpu", "unavailable-features": [], "static": false, "migration-safe": true}, {"name": "n270", "typename": "n270-x86_64-cpu", "unavailable-features": [], "static": false, "migration-safe": true}, {"name": "kvm64", "typename": "kvm64-x86_64-cpu", "unavailable-features": [], "static": false, "migration-safe": true}, {"name": "kvm32", "typename": "kvm32-x86_64-cpu", "unavailable-features": [], "static": false, "migration-safe": true}, {"name": "coreduo", "typename": "coreduo-x86_64-cpu", "unavailable-features": [], "static": false, "migration-safe": true}, {"name": "core2duo", "typename": "core2duo-x86_64-cpu", "unavailable-features": [], "static": false, "migration-safe": true}, {"name": "athlon", "typename": "athlon-x86_64-cpu", "unavailable-features": ["mmxext", "3dnowext", "3dnow"], "static": false, "migration-safe": true}, {"name": "Westmere-IBRS", "typename": "Westmere-IBRS-x86_64-cpu", "unavailable-features": [], "static": false, "migration-safe": true}, {"name": "Westmere", "typename": "Westmere-x86_64-cpu", "unavailable-features": [], "static": false, "migration-safe": true}, {"name": "Snowridge", "typename": "Snowridge-x86_64-cpu", "unavailable-features": ["sha-ni", "gfni", "cldemote", "movdiri", "movdir64b", "core-capability", "split-lock-detect"], "static": false, "migration-safe": true}, {"name": "Skylake-Server-IBRS", "typename": "Skylake-Server-IBRS-x86_64-cpu", "unavailable-features": [], "static": false, "migration-safe": true}, {"name": "Skylake-Server", "typename": "Skylake-Server-x86_64-cpu", "unavailable-features": [], "static": false, "migration-safe": true}, {"name": "Skylake-Client-IBRS", "typename": "Skylake-Client-IBRS-x86_64-cpu", "unavailable-features": [], "static": false, "migration-safe": true}, {"name": "Skylake-Client", "typename": "Skylake-Client-x86_64-cpu", "unavailable-features": [], "static": false, "migration-safe": true}, {"name": "SandyBridge-IBRS", "typename": "SandyBridge-IBRS-x86_64-cpu", "unavailable-features": [], "static": false, "migration-safe": true}, {"name": "SandyBridge", "typename": "SandyBridge-x86_64-cpu", "unavailable-features": [], "static": false, "migration-safe": true}, {"name": "Penryn", "typename": "Penryn-x86_64-cpu", "unavailable-features": [], "static": false, "migration-safe": true}, {"name": "Opteron_G5", "typename": "Opteron_G5-x86_64-cpu", "unavailable-features": ["sse4a", "misalignsse", "xop", "fma4", "tbm"], "static": false, "migration-safe": true}, {"name": "Opteron_G4", "typename": "Opteron_G4-x86_64-cpu", "unavailable-features": ["sse4a", "misalignsse", "xop", "fma4"], "static": false, "migration-safe": true}, {"name": "Opteron_G3", "typename": "Opteron_G3-x86_64-cpu", "unavailable-features": ["sse4a", "misalignsse"], "static": false, "migration-safe": true}, {"name": "Opteron_G2", "typename": "Opteron_G2-x86_64-cpu", "unavailable-features": [], "static": false, "migration-safe": true}, {"name": "Opteron_G1", "typename": "Opteron_G1-x86_64-cpu", "unavailable-features": [], "static": false, "migration-safe": true}, {"name": "Nehalem-IBRS", "typename": "Nehalem-IBRS-x86_64-cpu", "unavailable-features": [], "static": false, "migration-safe": true}, {"name": "Nehalem", "typename": "Nehalem-x86_64-cpu", "unavailable-features": [], "static": false, "migration-safe": true}, {"name": "KnightsMill", "typename": "KnightsMill-x86_64-cpu", "unavailable-features": ["avx512pf", "avx512er", "avx512-vpopcntdq", "avx512-4vnniw", "avx512-4fmaps"], "static": false, "migration-safe": true}, {"name": "IvyBridge-IBRS", "typename": "IvyBridge-IBRS-x86_64-cpu", "unavailable-features": [], "static": false, "migration-safe": true}, {"name": "IvyBridge", "typename": "IvyBridge-x86_64-cpu", "unavailable-features": [], "static": false, "migration-safe": true}, {"name": "Icelake-Server", "typename": "Icelake-Server-x86_64-cpu", "unavailable-features": ["avx512vbmi", "", "avx512vbmi2", "gfni", "vaes", "vpclmulqdq", "avx512bitalg", "avx512-vpopcntdq", "la57", "wbnoinvd"], "static": false, "migration-safe": true}, {"name": "Icelake-Client", "typename": "Icelake-Client-x86_64-cpu", "unavailable-features": ["avx512vbmi", "", "avx512vbmi2", "gfni", "vaes", "vpclmulqdq", "avx512bitalg", "avx512-vpopcntdq", "wbnoinvd"], "static": false, "migration-safe": true}, {"name": "Haswell-noTSX-IBRS", "typename": "Haswell-noTSX-IBRS-x86_64-cpu", "unavailable-features": [], "static": false, "migration-safe": true}, {"name": "Haswell-noTSX", "typename": "Haswell-noTSX-x86_64-cpu", "unavailable-features": [], "static": false, "migration-safe": true}, {"name": "Haswell-IBRS", "typename": "Haswell-IBRS-x86_64-cpu", "unavailable-features": [], "static": false, "migration-safe": true}, {"name": "Haswell", "typename": "Haswell-x86_64-cpu", "unavailable-features": [], "static": false, "migration-safe": true}, {"name": "EPYC-IBPB", "typename": "EPYC-IBPB-x86_64-cpu", "unavailable-features": ["sha-ni", "mmxext", "fxsr-opt", "cr8legacy", "sse4a", "misalignsse", "osvw", "ibpb"], "static": false, "migration-safe": true}, {"name": "EPYC", "typename": "EPYC-x86_64-cpu", "unavailable-features": ["sha-ni", "mmxext", "fxsr-opt", "cr8legacy", "sse4a", "misalignsse", "osvw"], "static": false, "migration-safe": true}, {"name": "Conroe", "typename": "Conroe-x86_64-cpu", "unavailable-features": [], "static": false, "migration-safe": true}, {"name": "Cascadelake-Server", "typename": "Cascadelake-Server-x86_64-cpu", "unavailable-features": [""], "static": false, "migration-safe": true}, {"name": "Broadwell-noTSX-IBRS", "typename": "Broadwell-noTSX-IBRS-x86_64-cpu", "unavailable-features": [], "static": false, "migration-safe": true}, {"name": "Broadwell-noTSX", "typename": "Broadwell-noTSX-x86_64-cpu", "unavailable-features": [], "static": false, "migration-safe": true}, {"name": "Broadwell-IBRS", "typename": "Broadwell-IBRS-x86_64-cpu", "unavailable-features": [], "static": false, "migration-safe": true}, {"name": "Broadwell", "typename": "Broadwell-x86_64-cpu", "unavailable-features": [], "static": false, "migration-safe": true}, {"name": "486", "typename": "486-x86_64-cpu", "unavailable-features": [], "static": false, "migration-safe": true}], "id": "definitions"}
{"return": {}}
{"timestamp": {"seconds": 1585058514, "microseconds": 928697}, "event": "SHUTDOWN", "data": {"guest": false}}
model name	: Intel(R) Xeon(R) W-2123 CPU @ 3.60GHz
CPU:
   0x00000000 0x00: eax=0x00000016 ebx=0x756e6547 ecx=0x6c65746e edx=0x49656e69
   0x00000001 0x00: eax=0x00050654 ebx=0x09100800 ecx=0x7ffefbff edx=0xbfebfbff
   0x00000002 0x00: eax=0x76036301 ebx=0x00f0b5ff ecx=0x00000000 edx=0x00c30000
   0x00000003 0x00: eax=0x00000000 ebx=0x00000000 ecx=0x00000000 edx=0x00000000
   0x00000004 0x00: eax=0x1c004121 ebx=0x01c0003f ecx=0x0000003f edx=0x00000000
   0x00000004 0x01: eax=0x1c004122 ebx=0x01c0003f ecx=0x0000003f edx=0x00000000
   0x00000004 0x02: eax=0x1c004143 ebx=0x03c0003f ecx=0x000003ff edx=0x00000000
   0x00000004 0x03: eax=0x1c03c163 ebx=0x0280003f ecx=0x00002fff edx=0x00000004
   0x00000005 0x00: eax=0x00000040 ebx=0x00000040 ecx=0x00000003 edx=0x00002020
   0x00000006 0x00: eax=0x00000ef7 ebx=0x00000002 ecx=0x00000009 edx=0x00000000
   0x00000007 0x00: eax=0x00000000 ebx=0xd39ffffb ecx=0x00000000 edx=0x9c002400
   0x00000008 0x00: eax=0x00000000 ebx=0x00000000 ecx=0x00000000 edx=0x00000000
   0x00000009 0x00: eax=0x00000000 ebx=0x00000000 ecx=0x00000000 edx=0x00000000
   0x0000000a 0x00: eax=0x07300404 ebx=0x00000000 ecx=0x00000000 edx=0x00000603
   0x0000000b 0x00: eax=0x00000001 ebx=0x00000002 ecx=0x00000100 edx=0x00000009
   0x0000000b 0x01: eax=0x00000004 ebx=0x00000008 ecx=0x00000201 edx=0x00000009
   0x0000000c 0x00: eax=0x00000000 ebx=0x00000000 ecx=0x00000000 edx=0x00000000
   0x0000000d 0x00: eax=0x000000ff ebx=0x00000a80 ecx=0x00000a80 edx=0x00000000
   0x0000000d 0x01: eax=0x0000000f ebx=0x00000a00 ecx=0x00000100 edx=0x00000000
   0x0000000d 0x02: eax=0x00000100 ebx=0x00000240 ecx=0x00000000 edx=0x00000000
   0x0000000d 0x03: eax=0x00000040 ebx=0x000003c0 ecx=0x00000000 edx=0x00000000
   0x0000000d 0x04: eax=0x00000040 ebx=0x00000400 ecx=0x00000000 edx=0x00000000
   0x0000000d 0x05: eax=0x00000040 ebx=0x00000440 ecx=0x00000000 edx=0x00000000
   0x0000000d 0x06: eax=0x00000200 ebx=0x00000480 ecx=0x00000000 edx=0x00000000
   0x0000000d 0x07: eax=0x00000400 ebx=0x00000680 ecx=0x00000000 edx=0x00000000
   0x0000000d 0x08: eax=0x00000080 ebx=0x00000000 ecx=0x00000001 edx=0x00000000
   0x0000000e 0x00: eax=0x00000000 ebx=0x00000000 ecx=0x00000000 edx=0x00000000
   0x0000000f 0x00: eax=0x00000000 ebx=0x0000002f ecx=0x00000000 edx=0x00000002
   0x0000000f 0x01: eax=0x00000000 ebx=0x00006000 ecx=0x0000002f edx=0x00000007
   0x00000010 0x00: eax=0x00000000 ebx=0x0000000a ecx=0x00000000 edx=0x00000000
   0x00000010 0x01: eax=0x0000000a ebx=0x00000600 ecx=0x00000004 edx=0x0000000f
   0x00000010 0x03: eax=0x00000059 ebx=0x00000000 ecx=0x00000004 edx=0x00000007
   0x00000011 0x00: eax=0x00000000 ebx=0x00000000 ecx=0x00000000 edx=0x00000000
   0x00000012 0x00: eax=0x00000000 ebx=0x00000000 ecx=0x00000000 edx=0x00000000
   0x00000013 0x00: eax=0x00000000 ebx=0x00000000 ecx=0x00000000 edx=0x00000000
   0x00000014 0x00: eax=0x00000001 ebx=0x0000000f ecx=0x00000007 edx=0x00000000
   0x00000014 0x01: eax=0x02490002 ebx=0x003f3fff ecx=0x00000000 edx=0x00000000
   0x00000015 0x00: eax=0x00000002 ebx=0x0000012c ecx=0x00000000 edx=0x00000000
   0x00000016 0x00: eax=0x00000e10 ebx=0x00000f3c ecx=0x00000064 edx=0x00000000
   0x80000000 0x00: eax=0x80000008 ebx=0x00000000 ecx=0x00000000 edx=0x00000000
   0x80000001 0x00: eax=0x00000000 ebx=0x00000000 ecx=0x00000121 edx=0x2c100800
   0x80000002 0x00: eax=0x65746e49 ebx=0x2952286c ecx=0x6f655820 edx=0x2952286e
   0x80000003 0x00: eax=0x322d5720 ebx=0x20333231 ecx=0x20555043 edx=0x2e332040
   0x80000004 0x00: eax=0x48473036 ebx=0x0000007a ecx=0x00000000 edx=0x00000000
   0x80000005 0x00: eax=0x00000000 ebx=0x00000000 ecx=0x00000000 edx=0x00000000
   0x80000006 0x00: eax=0x00000000 ebx=0x00000000 ecx=0x01006040 edx=0x00000000
   0x80000007 0x00: eax=0x00000000 ebx=0x00000000 ecx=0x00000000 edx=0x00000100
   0x80000008 0x00: eax=0x0000302e ebx=0x00000000 ecx=0x00000000 edx=0x00000000
   0x80860000 0x00: eax=0x00000e10 ebx=0x00000f3c ecx=0x00000064 edx=0x00000000
   0xc0000000 0x00: eax=0x00000e10 ebx=0x00000f3c ecx=0x00000064 edx=0x00000000

{"QMP": {"version": {"qemu": {"micro": 1, "minor": 1, "major": 3}, "package": "openSUSE Leap 15.1"}, "capabilities": []}}
{"return": {}}
{"return": {"model": {"name": "base", "props": {"phys-bits": 0, "core-id": -1, "xlevel": 2147483656, "cmov": true, "ia64": false, "ssb-no": false, "aes": true, "mmx": true, "rdpid": false, "arat": true, "gfni": false, "ibrs-all": false, "pause-filter": false, "xsavec": true, "intel-pt": false, "hv-frequencies": false, "tsc-frequency": 0, "xd": true, "hv-vendor-id": "", "kvm-asyncpf": true, "kvm_asyncpf": true, "perfctr_core": false, "perfctr-core": false, "mpx": true, "pbe": false, "decodeassists": false, "avx512cd": true, "sse4_1": true, "sse4.1": true, "sse4-1": true, "family": 6, "legacy-cache": true, "vmware-cpuid-freq": true, "wbnoinvd": false, "avx512f": true, "msr": true, "mce": true, "mca": true, "hv-runtime": false, "xcrypt": false, "thread-id": -1, "min-level": 13, "xgetbv1": true, "cid": false, "hv-relaxed": false, "hv-crash": false, "ds": false, "fxsr": true, "xsaveopt": true, "xtpr": false, "hv-evmcs": false, "avx512vl": true, "avx512-vpopcntdq": false, "phe": false, "extapic": false, "3dnowprefetch": true, "avx512vbmi2": false, "cr8legacy": false, "stibp": true, "cpuid-0xb": true, "xcrypt-en": false, "kvm_pv_eoi": true, "apic-id": 4294967295, "rsba": false, "pn": false, "dca": false, "vendor": "GenuineIntel", "hv-ipi": false, "pku": false, "smx": false, "cmp_legacy": false, "cmp-legacy": false, "node-id": -1, "avx512-4fmaps": false, "vmcb_clean": false, "vmcb-clean": false, "3dnowext": false, "amd-no-ssb": false, "hle": true, "npt": false, "rdctl-no": false, "memory": "/machine/unattached/system[0]", "clwb": true, "lbrv": false, "adx": true, "ss": true, "pni": true, "svm_lock": false, "svm-lock": false, "pfthreshold": false, "smep": true, "smap": true, "x2apic": true, "avx512vbmi": false, "avx512vnni": false, "hv-stimer": false, "x-hv-synic-kvm-only": false, "i64": true, "flushbyasid": false, "f16c": true, "ace2-en": false, "pat": true, "pae": true, "sse": true, "phe-en": false, "kvm_nopiodelay": true, "kvm-nopiodelay": true, "tm": false, "kvmclock-stable-bit": true, "hypervisor": true, "socket-id": -1, "mds-no": false, "pcommit": false, "syscall": true, "level": 13, "avx512dq": true, "x-migrate-smi-count": true, "svm": false, "full-cpuid-auto-level": true, "hv-reset": false, "invtsc": false, "sse3": true, "sse2": true, "ssbd": true, "est": false, "avx512ifma": false, "tm2": false, "kvm-pv-ipi": false, "kvm-pv-eoi": true, "cx8": true, "cldemote": false, "hv-reenlightenment": false, "kvm_mmu": false, "kvm-mmu": false, "sse4_2": true, "sse4.2": true, "sse4-2": true, "pge": true, "fill-mtrr-mask": true, "avx512bitalg": false, "nodeid_msr": false, "pdcm": false, "movbe": true, "model": 85, "nrip_save": false, "nrip-save": false, "kvm_pv_unhalt": true, "ssse3": true, "sse4a": false, "invpcid": true, "pdpe1gb": true, "tsc-deadline": true, "skip-l1dfl-vmentry": true, "fma": true, "cx16": true, "de": true, "pconfig": false, "enforce": false, "stepping": 4, "xsave": true, "clflush": true, "skinit": false, "tsc": true, "tce": false, "fpu": true, "ibs": false, "ds_cpl": false, "ds-cpl": false, "host-phys-bits": false, "fma4": false, "la57": false, "osvw": false, "check": true, "hv-spinlocks": -1, "pmm": false, "pmu": false, "apic": true, "spec-ctrl": true, "min-xlevel2": 0, "tsc-adjust": true, "tsc_adjust": true, "kvm-steal-time": true, "kvm_steal_time": true, "kvmclock": true, "pschange-mc-no": true, "l3-cache": true, "lwp": false, "amd-ssbd": false, "ibpb": false, "xop": false, "avx": true, "core-capability": false, "movdiri": false, "ace2": false, "avx512bw": true, "acpi": false, "hv-vapic": false, "fsgsbase": true, "ht": false, "nx": true, "pclmulqdq": true, "mmxext": false, "vaes": false, "popcnt": true, "xsaves": true, "movdir64b": false, "tcg-cpuid": true, "lm": true, "umip": true, "pse": true, "avx2": true, "sep": true, "pclmuldq": true, "virt-ssbd": false, "x-hv-max-vps": -1, "nodeid-msr": false, "md-clear": true, "split-lock-detect": false, "kvm": true, "misalignsse": false, "min-xlevel": 2147483656, "kvm-pv-unhalt": true, "bmi2": true, "bmi1": true, "realized": false, "tsc_scale": false, "tsc-scale": false, "topoext": false, "hv-vpindex": false, "xlevel2": 0, "clflushopt": true, "kvm-no-smi-migration": false, "monitor": false, "avx512er": false, "pmm-en": false, "pcid": true, "taa-no": false, "arch-capabilities": true, "3dnow": false, "erms": true, "lahf-lm": true, "lahf_lm": true, "vpclmulqdq": false, "fxsr-opt": false, "hv-synic": false, "xstore": false, "fxsr_opt": false, "kvm-hint-dedicated": false, "rtm": true, "lmce": true, "hv-time": false, "perfctr-nb": false, "perfctr_nb": false, "ffxsr": false, "hv-tlbflush": false, "rdrand": true, "rdseed": true, "avx512-4vnniw": false, "vmx": false, "vme": true, "dtes64": false, "mtrr": true, "rdtscp": true, "pse36": true, "kvm-pv-tlb-flush": false, "tbm": false, "wdt": false, "pause_filter": false, "sha-ni": false, "model-id": "Intel(R) Xeon(R) W-2123 CPU @ 3.60GHz", "abm": true, "avx512pf": false, "xstore-en": false}}}, "id": "model-expansion"}
{"return": [{"name": "max", "typename": "max-x86_64-cpu", "unavailable-features": [], "static": false, "migration-safe": false}, {"name": "host", "typename": "host-x86_64-cpu", "unavailable-features": [], "static": false, "migration-safe": false}, {"name": "base", "typename": "base-x86_64-cpu", "unavailable-features": [], "static": true, "migration-safe": true}, {"name": "qemu64", "typename": "qemu64-x86_64-cpu", "unavailable-features": [], "static": false, "migration-safe": true}, {"name": "qemu32", "typename": "qemu32-x86_64-cpu", "unavailable-features": [], "static": false, "migration-safe": true}, {"name": "phenom", "typename": "phenom-x86_64-cpu", "unavailable-features": ["mmxext", "fxsr-opt", "3dnowext", "3dnow", "sse4a", "npt"], "static": false, "migration-safe": true}, {"name": "pentium3", "typename": "pentium3-x86_64-cpu", "unavailable-features": [], "static": false, "migration-safe": true}, {"name": "pentium2", "typename": "pentium2-x86_64-cpu", "unavailable-features": [], "static": false, "migration-safe": true}, {"name": "pentium", "typename": "pentium-x86_64-cpu", "unavailable-features": [], "static": false, "migration-safe": true}, {"name": "n270", "typename": "n270-x86_64-cpu", "unavailable-features": [], "static": false, "migration-safe": true}, {"name": "kvm64", "typename": "kvm64-x86_64-cpu", "unavailable-features": [], "static": false, "migration-safe": true}, {"name": "kvm32", "typename": "kvm32-x86_64-cpu", "unavailable-features": [], "static": false, "migration-safe": true}, {"name": "coreduo", "typename": "coreduo-x86_64-cpu", "unavailable-features": [], "static": false, "migration-safe": true}, {"name": "core2duo", "typename": "core2duo-x86_64-cpu", "unavailable-features": [], "static": false, "migration-safe": true}, {"name": "athlon", "typename": "athlon-x86_64-cpu", "unavailable-features": ["mmxext", "3dnowext", "3dnow"], "static": false, "migration-safe": true}, {"name": "Westmere-IBRS", "typename": "Westmere-IBRS-x86_64-cpu", "unavailable-features": [], "static": false, "migration-safe": true}, {"name": "Westmere", "typename": "Westmere-x86_64-cpu", "unavailable-features": [], "static": false, "migration-safe": true}, {"name": "Snowridge", "typename": "Snowridge-x86_64-cpu", "unavailable-features": ["sha-ni", "gfni", "cldemote", "movdiri", "movdir64b", "core-capability", "split-lock-detect"], "static": false, "migration-safe": true}, {"name": "Skylake-Server-IBRS", "typename": "Skylake-Server-IBRS-x86_64-cpu", "unavailable-features": ["pku", "pku"], "static": false, "migration-safe": true}, {"name": "Skylake-Server", "typename": "Skylake-Server-x86_64-cpu", "unavailable-features": ["pku", "pku"], "static": false, "migration-safe": true}, {"name": "Skylake-Client-IBRS", "typename": "Skylake-Client-IBRS-x86_64-cpu", "unavailable-features": [], "static": false, "migration-safe": true}, {"name": "Skylake-Client", "typename": "Skylake-Client-x86_64-cpu", "unavailable-features": [], "static": false, "migration-safe": true}, {"name": "SandyBridge-IBRS", "typename": "SandyBridge-IBRS-x86_64-cpu", "unavailable-features": [], "static": false, "migration-safe": true}, {"name": "SandyBridge", "typename": "SandyBridge-x86_64-cpu", "unavailable-features": [], "static": false, "migration-safe": true}, {"name": "Penryn", "typename": "Penryn-x86_64-cpu", "unavailable-features": [], "static": false, "migration-safe": true}, {"name": "Opteron_G5", "typename": "Opteron_G5-x86_64-cpu", "unavailable-features": ["sse4a", "misalignsse", "xop", "fma4", "tbm"], "static": false, "migration-safe": true}, {"name": "Opteron_G4", "typename": "Opteron_G4-x86_64-cpu", "unavailable-features": ["sse4a", "misalignsse", "xop", "fma4"], "static": false, "migration-safe": true}, {"name": "Opteron_G3", "typename": "Opteron_G3-x86_64-cpu", "unavailable-features": ["sse4a", "misalignsse"], "static": false, "migration-safe": true}, {"name": "Opteron_G2", "typename": "Opteron_G2-x86_64-cpu", "unavailable-features": [], "static": false, "migration-safe": true}, {"name": "Opteron_G1", "typename": "Opteron_G1-x86_64-cpu", "unavailable-features": [], "static": false, "migration-safe": true}, {"name": "Nehalem-IBRS", "typename": "Nehalem-IBRS-x86_64-cpu", "unavailable-features": [], "static": false, "migration-safe": true}, {"name": "Nehalem", "typename": "Nehalem-x86_64-cpu", "unavailable-features": [], "static": false, "migration-safe": true}, {"name": "KnightsMill", "typename": "KnightsMill-x86_64-cpu", "unavailable-features": ["avx512pf", "avx512er", "avx512-vpopcntdq", "avx512-4vnniw", "avx512-4fmaps"], "static": false, "migration-safe": true}, {"name": "IvyBridge-IBRS", "typename": "IvyBridge-IBRS-x86_64-cpu", "unavailable-features": [], "static": false, "migration-safe": true}, {"name": "IvyBridge", "typename": "IvyBridge-x86_64-cpu", "unavailable-features": [], "static": false, "migration-safe": true}, {"name": "Icelake-Server", "typename": "Icelake-Server-x86_64-cpu", "unavailable-features": ["avx512vbmi", "pku", "", "avx512vbmi2", "gfni", "vaes", "vpclmulqdq", "avx512vnni", "avx512bitalg", "avx512-vpopcntdq", "la57", "wbnoinvd", "pku"], "static": false, "migration-safe": true}, {"name": "Icelake-Client", "typename": "Icelake-Client-x86_64-cpu", "unavailable-features": ["avx512vbmi", "pku", "", "avx512vbmi2", "gfni", "vaes", "vpclmulqdq", "avx512vnni", "avx512bitalg", "avx512-vpopcntdq", "wbnoinvd", "pku"], "static": false, "migration-safe": true}, {"name": "Haswell-noTSX-IBRS", "typename": "Haswell-noTSX-IBRS-x86_64-cpu", "unavailable-features": [], "static": false, "migration-safe": true}, {"name": "Haswell-noTSX", "typename": "Haswell-noTSX-x86_64-cpu", "unavailable-features": [], "static": false, "migration-safe": true}, {"name": "Haswell-IBRS", "typename": "Haswell-IBRS-x86_64-cpu", "unavailable-features": [], "static": false, "migration-safe": true}, {"name": "Haswell", "typename": "Haswell-x86_64-cpu", "unavailable-features": [], "static": false, "migration-safe": true}, {"name": "EPYC-IBPB", "typename": "EPYC-IBPB-x86_64-cpu", "unavailable-features": ["sha-ni", "mmxext", "fxsr-opt", "cr8legacy", "sse4a", "misalignsse", "osvw", "ibpb"], "static": false, "migration-safe": true}, {"name": "EPYC", "typename": "EPYC-x86_64-cpu", "unavailable-features": ["sha-ni", "mmxext", "fxsr-opt", "cr8legacy", "sse4a", "misalignsse", "osvw"], "static": false, "migration-safe": true}, {"name": "Conroe", "typename": "Conroe-x86_64-cpu", "unavailable-features": [], "static": false, "migration-safe": true}, {"name": "Cascadelake-Server", "typename": "Cascadelake-Server-x86_64-cpu", "unavailable-features": ["pku", "", "avx512vnni", "pku"], "static": false, "migration-safe": true}, {"name": "Broadwell-noTSX-IBRS", "typename": "Broadwell-noTSX-IBRS-x86_64-cpu", "unavailable-features": [], "static": false, "migration-safe": true}, {"name": "Broadwell-noTSX", "typename": "Broadwell-noTSX-x86_64-cpu", "unavailable-features": [], "static": false, "migration-safe": true}, {"name": "Broadwell-IBRS", "typename": "Broadwell-IBRS-x86_64-cpu", "unavailable-features": [], "static": false, "migration-safe": true}, {"name": "Broadwell", "typename": "Broadwell-x86_64-cpu", "unavailable-features": [], "static": false, "migration-safe": true}, {"name": "486", "typename": "486-x86_64-cpu", "unavailable-features": [], "static": false, "migration-safe": true}], "id": "definitions"}
{"return": {}}
{"timestamp": {"seconds": 1585059371, "microseconds": 873686}, "event": "SHUTDOWN", "data": {"guest": false}}
Re: [PATCH] docs: fix typo in domcaps host-model CPU description
Posted by Jim Fehlig 4 years ago
On 3/24/20 8:30 AM, Jim Fehlig wrote:
> On 3/24/20 3:44 AM, Jiri Denemark wrote:
>> The situation on the first machine is a bit strange as there are no
>> features disabled in host-model CPU definition, which makes it unclear
>> why QEMU reports Cascadelake-Server as unusable (QEMU reports the
>> reason, but we don't do so yet).
> 
> It's not clear to me even after looking at the output of cpu-gather.
> 
>> Anyway, would you mind running the tests/cputestdata/cpu-gather.sh
>> script on both machines (make sure to install qemu, python3, and cpuid
>> packages first) and send us the output so that we can check the CPU
>> models are properly detected?
> 
> Attached.

While experimenting with some guests on the first machine (kernel 4.12.14, qemu 
3.1.1, libvirt.git master) I encountered 
https://bugs.launchpad.net/intel/+bug/1828495 while trying to restore a guest 
whose CPU was set to host-model. The guest starts fine, although I do see

qemu-system-x86_64: warning: host doesn't support requested feature: 
CPUID.07H:ECX [bit 4]

in the guest log file. Save works as expected but then restore fails with

error: Failed to restore domain from /home/jim/sles12sp5-kvm.save
error: operation failed: guest CPU doesn't match specification: missing 
features: ospke

I wouldn't be surprised if my kernel and qemu are missing some commits mentioned 
in the LP bug (there are a lot of them!), but shouldn't it be possible to 
restore the guest if libvirt previously started it successfully?

Regards,
Jim


Re: [PATCH] docs: fix typo in domcaps host-model CPU description
Posted by Jim Fehlig 4 years ago
On 3/24/20 3:44 AM, Jiri Denemark wrote:
> The situation on the first machine is a bit strange as there are no
> features disabled in host-model CPU definition, which makes it unclear
> why QEMU reports Cascadelake-Server as unusable (QEMU reports the
> reason, but we don't do so yet).

I got back to looking at this again today and found my older qemu is missing 
some patches. Sorry for wasting time, but thanks for helping me understand this 
topic a bit better!

Regards,
Jim