No reason not to dup. Did not find 1828495 before writing 1829760
-----Original Message-----
From: <email address hidden> [mailto:<email address hidden>] On Behalf Of Dan Streetman
Sent: Tuesday, May 21, 2019 1:04 PM
To: Lai, Paul C <email address hidden>
Subject: [Bug 1829760] Re: [KVM][CLX] CPUID_7_0_EDX_ARCH_CAPABILITIES is not enabled in VM.
note bug 1828495...even the description appears taken from that bug. is there a reason this isn't a dup?
Kernel:
commit 2bdb76c015df7125783d8394d6339d181cb5bc30
Author: Xiaoyao Li <email address hidden>
Date: Fri Mar 8 15:57:20 2019 +0800
kvm/x86: Move MSR_IA32_ARCH_CAPABILITIES to array emulated_msrs
commit 0cf9135b773bf32fba9dd8e6699c1b331ee4b749
Author: Sean Christopherson <email address hidden>
Date: Thu Mar 7 15:43:02 2019 -0800
KVM: x86: Emulate MSR_IA32_ARCH_CAPABILITIES on AMD hosts
QEMU:
commit 014018e19b3c54dd1bf5072bc912ceffea40abe8
Author: Eduardo Habkost <email address hidden>
Date: Fri Jan 25 20:06:06 2019 -0200
i386: Make arch_capabilities migratable
commit 485b1d256bcb0874bcde0223727c159b6837e6f8
Author: Eduardo Habkost <email address hidden>
Date: Fri Jan 25 20:06:05 2019 -0200
i386: kvm: Disable arch_capabilities if MSR can't be set
commit b0a1980384fc265d91de7e09aa5fe531a69e6288
Author: Tao Xu <email address hidden>
Date: Thu Dec 27 10:43:03 2018 +0800
i386: Update stepping of Cascadelake-Server
commit aec5e9c3a94cf8b7920f59bef69a6f426092c4a0
Author: Bandan Das <email address hidden>
Date: Sun Nov 25 23:17:28 2018 -0500
kvm: Use KVM_GET_MSR_INDEX_LIST for MSR_IA32_ARCH_CAPABILITIES support
commit 07585923485952bf4cb7da563c9f91fecc85d09c
Author: Robert Hoo <email address hidden>
Date: Mon Oct 15 12:47:24 2018 +0800
x86: Data structure changes to support MSR based features
commit f57bceb6ab5163ddd6c41ff4344ab8cf28a9c63d
Author: Robert Hoo <email address hidden>
Date: Mon Oct 15 12:47:23 2018 +0800
kvm: Add support to KVM_GET_MSR_FEATURE_INDEX_LIST and KVM_GET_MSRS system ioctl
commit d86f963694df27f11b3681ffd225c9362de1b634
Author: Robert Hoo <email address hidden>
Date: Mon Oct 15 12:47:25 2018 +0800
x86: define a new MSR based feature word – FEATURE_WORDS_ARCH_CAPABILITIES
commit c7a88b52f62b30c04158eeb07f73e3f72221b6a8
Author: Tao Xu <email address hidden>
Date: Wed Sep 19 11:11:22 2018 +0800
i386: Add new model of Cascadelake-Server
commit 3fc7c73139d2d38ae80c3b0bc963b1ac1555924c
Author: Robert Hoo <email address hidden>
Date: Thu Jul 5 17:09:55 2018 +0800
i386: Add CPUID bit and feature words for IA32_ARCH_CAPABILITIES MSR
commit 8a11c62da9146dd89aee98947e6bd831e65a970d
Author: Robert Hoo <email address hidden>
Date: Thu Jul 5 17:09:58 2018 +0800
i386: Add new CPU model Icelake-{Server,Client}
commit 8c80c99fcceabd0708a5a83f08577e778c9419f5
Author: Robert Hoo <email address hidden>
Date: Thu Jul 5 17:09:54 2018 +0800
i386: Add new MSR indices for IA32_PRED_CMD and IA32_ARCH_CAPABILITIES
No reason not to dup. Did not find 1828495 before writing 1829760
-----Original Message----- 0_EDX_ARCH_ CAPABILITIES is not enabled in VM.
From: <email address hidden> [mailto:<email address hidden>] On Behalf Of Dan Streetman
Sent: Tuesday, May 21, 2019 1:04 PM
To: Lai, Paul C <email address hidden>
Subject: [Bug 1829760] Re: [KVM][CLX] CPUID_7_
note bug 1828495...even the description appears taken from that bug. is there a reason this isn't a dup?
-- /bugs.launchpad .net/bugs/ 1829760
You received this bug notification because you are subscribed to the bug report.
https:/
Title: 0_EDX_ARCH_ CAPABILITIES is not enabled in VM.
[KVM][CLX] CPUID_7_
Status in qemu package in Ubuntu:
New
Bug description: 0_EDX_ARCH_ CAPABILITIES is not enabled in VM.
Description of problem:
[KVM][CLX] CPUID_7_
How reproducible:
Upstream always, Ubuntu unknown.
Steps to Reproduce:
1. Boot up guest using: -cpu Cascadelake-Server
[root@clx-2s2 yexin]# qemu-system-x86_64 -accel kvm -drive id=hd,file= /home/yexin/ rhel7u6. qcow2,format= qcow2 -m 4096
if=virtio,
-smp 4 -cpu Cascadelake-Server -serial stdio
char device redirected to /dev/pts/3 (label serial0)
qemu- system- x86_64: warning: host doesn't support requested feature:
CPUID.07H:ECX [bit 4]
qemu- system- x86_64: warning: host doesn't support requested feature:
CPUID.07H:ECX [bit 4]
qemu- system- x86_64: warning: host doesn't support requested feature:
CPUID.07H:ECX [bit 4]
qemu- system- x86_64: warning: host doesn't support requested feature:
CPUID.07H:ECX [bit 4]
2. To check CPU ID related to features[ FEAT_7_ 0_EDX] 7_0_EDX_ ARCH_CAPABILITI ES
:CPUID_
Actual results:
Host's cpuid: 0x00000007 0x00: eax=0x00000000 ebx=0xd39ffffb ecx=0x00000818 edx=0xbc000000 (EDX bit 29=1)
Guest's cpuid : 0x00000007 0x00: eax=0x00000000 ebx=0xd19f0fb9
ecx=0x00000818 edx=0x84000000 (EDX bit 29=0)
Expected results:
Both host and guest's CPUID.07H EDX bit 29 should be 1.
Additional info: 125783d8394d633 9d181cb5bc30
Upstream 5.0 fixed, commit:
2bdb76c015df7
Kernel: 5783d8394d6339d 181cb5bc30 ARCH_CAPABILITI ES to array emulated_msrs
commit 2bdb76c015df712
Author: Xiaoyao Li <email address hidden>
Date: Fri Mar 8 15:57:20 2019 +0800
kvm/x86: Move MSR_IA32_
commit 0cf9135b773bf32 fba9dd8e6699c1b 331ee4b749
Author: Sean Christopherson <email address hidden>
Date: Thu Mar 7 15:43:02 2019 -0800
KVM: x86: Emulate MSR_IA32_ ARCH_CAPABILITI ES on AMD hosts
QEMU:
commit 014018e19b3c54d d1bf5072bc912ce ffea40abe8
Author: Eduardo Habkost <email address hidden>
Date: Fri Jan 25 20:06:06 2019 -0200
i386: Make arch_capabilities migratable
commit 485b1d256bcb087 4bcde0223727c15 9b6837e6f8
Author: Eduardo Habkost <email address hidden>
Date: Fri Jan 25 20:06:05 2019 -0200
i386: kvm: Disable arch_capabilities if MSR can't be set
commit b0a1980384fc265 d91de7e09aa5fe5 31a69e6288
Author: Tao Xu <email address hidden>
Date: Thu Dec 27 10:43:03 2018 +0800
i386: Update stepping of Cascadelake-Server
commit aec5e9c3a94cf8b 7920f59bef69a6f 426092c4a0 MSR_INDEX_ LIST for MSR_IA32_ ARCH_CAPABILITI ES support
Author: Bandan Das <email address hidden>
Date: Sun Nov 25 23:17:28 2018 -0500
kvm: Use KVM_GET_
commit 07585923485952b f4cb7da563c9f91 fecc85d09c
Author: Robert Hoo <email address hidden>
Date: Mon Oct 15 12:47:24 2018 +0800
x86: Data structure changes to support MSR based features
commit f57bceb6ab5163d dd6c41ff4344ab8 cf28a9c63d MSR_FEATURE_ INDEX_LIST and KVM_GET_MSRS system ioctl
Author: Robert Hoo <email address hidden>
Date: Mon Oct 15 12:47:23 2018 +0800
kvm: Add support to KVM_GET_
commit d86f963694df27f 11b3681ffd225c9 362de1b634 WORDS_ARCH_ CAPABILITIES
Author: Robert Hoo <email address hidden>
Date: Mon Oct 15 12:47:25 2018 +0800
x86: define a new MSR based feature word – FEATURE_
commit c7a88b52f62b30c 04158eeb07f73e3 f72221b6a8
Author: Tao Xu <email address hidden>
Date: Wed Sep 19 11:11:22 2018 +0800
i386: Add new model of Cascadelake-Server
commit 3fc7c73139d2d38 ae80c3b0bc963b1 ac1555924c CAPABILITIES MSR
Author: Robert Hoo <email address hidden>
Date: Thu Jul 5 17:09:55 2018 +0800
i386: Add CPUID bit and feature words for IA32_ARCH_
commit 8a11c62da9146dd 89aee98947e6bd8 31e65a970d {Server, Client}
Author: Robert Hoo <email address hidden>
Date: Thu Jul 5 17:09:58 2018 +0800
i386: Add new CPU model Icelake-
commit 8c80c99fcceabd0 708a5a83f08577e 778c9419f5 CAPABILITIES
Author: Robert Hoo <email address hidden>
Date: Thu Jul 5 17:09:54 2018 +0800
i386: Add new MSR indices for IA32_PRED_CMD and IA32_ARCH_
To manage notifications about this bug go to: /bugs.launchpad .net/ubuntu/ +source/ qemu/+bug/ 1829760/ +subscriptions
https:/