qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH] vmxcap: Update according to SDM of September 2014
@ 2014-09-17 18:54 Adrian-Ken Rueegsegger
  2014-09-25 17:07 ` [Qemu-devel] Ping " Adrian-Ken Rueegsegger
  0 siblings, 1 reply; 3+ messages in thread
From: Adrian-Ken Rueegsegger @ 2014-09-17 18:54 UTC (permalink / raw)
  To: qemu-devel; +Cc: Adrian-Ken Rueegsegger

This adds reporting of RDSEED exiting and XSAVES/XRSTORS #UD and fixes
the range of VMCS revision as well as some typos.

Signed-off-by: Adrian-Ken Rueegsegger <ken@codelabs.ch>
---
 scripts/kvm/vmxcap |   10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)

diff --git a/scripts/kvm/vmxcap b/scripts/kvm/vmxcap
index c90eda4..8f0371f 100755
--- a/scripts/kvm/vmxcap
+++ b/scripts/kvm/vmxcap
@@ -99,7 +99,7 @@ controls = [
     Misc(
         name = 'Basic VMX Information',
         bits = {
-            (0, 31): 'Revision',
+            (0, 30): 'Revision',
             (32,44): 'VMCS size',
             48: 'VMCS restricted to 32 bit addresses',
             49: 'Dual-monitor support',
@@ -169,7 +169,9 @@ controls = [
             12: 'Enable INVPCID',
             13: 'Enable VM functions',
             14: 'VMCS shadowing',
-            18: 'EPT-violation #VE'
+            16: 'RDSEED exiting',
+            18: 'EPT-violation #VE',
+            20: 'Enable XSAVES/XRSTORS',
             },
         cap_msr = MSR_IA32_VMX_PROCBASED_CTLS2,
         ),
@@ -195,7 +197,7 @@ controls = [
         name = 'VM-Entry controls',
         bits = {
             2: 'Load debug controls',
-            9: 'IA-64 mode guest',
+            9: 'IA-32e mode guest',
             10: 'Entry to SMM',
             11: 'Deactivate dual-monitor treatment',
             13: 'Load IA32_PERF_GLOBAL_CTRL',
@@ -216,7 +218,7 @@ controls = [
             8: 'Wait-for-SIPI activity state',
             15: 'IA32_SMBASE support',
             (16,24): 'Number of CR3-target values',
-            (25,27): 'MSR-load/store count recommenation',
+            (25,27): 'MSR-load/store count recommendation',
             28: 'IA32_SMM_MONITOR_CTL[2] can be set to 1',
             29: 'VMWRITE to VM-exit information fields',
             (32,63): 'MSEG revision identifier',
-- 
1.7.10.4

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [Qemu-devel] Ping [PATCH] vmxcap: Update according to SDM of September 2014
  2014-09-17 18:54 [Qemu-devel] [PATCH] vmxcap: Update according to SDM of September 2014 Adrian-Ken Rueegsegger
@ 2014-09-25 17:07 ` Adrian-Ken Rueegsegger
  2014-09-26 17:11   ` [Qemu-devel] [Qemu-trivial] " Michael Tokarev
  0 siblings, 1 reply; 3+ messages in thread
From: Adrian-Ken Rueegsegger @ 2014-09-25 17:07 UTC (permalink / raw)
  To: qemu-devel; +Cc: qemu-trivial

As the patch makes simple changes to the vmxcap script that has no
maintainer listed in the MAINTAINERS file it may be a candidate for the
trivial patches team. Thus adding qemu-trivial as CC.

Link to patchwork:

http://patchwork.ozlabs.org/patch/390507/

Regards,
Adrian

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Qemu-devel] [Qemu-trivial] Ping [PATCH] vmxcap: Update according to SDM of September 2014
  2014-09-25 17:07 ` [Qemu-devel] Ping " Adrian-Ken Rueegsegger
@ 2014-09-26 17:11   ` Michael Tokarev
  0 siblings, 0 replies; 3+ messages in thread
From: Michael Tokarev @ 2014-09-26 17:11 UTC (permalink / raw)
  To: Adrian-Ken Rueegsegger, qemu-devel; +Cc: qemu-trivial

25.09.2014 21:07, Adrian-Ken Rueegsegger пишет:
> As the patch makes simple changes to the vmxcap script that has no
> maintainer listed in the MAINTAINERS file it may be a candidate for the
> trivial patches team. Thus adding qemu-trivial as CC.
> 
> Link to patchwork:
> 
> http://patchwork.ozlabs.org/patch/390507/

Applied to -trivial, as it _looks_ like the patch is correct, but I'm unsure ;)

BTW, the script will fail on a modern linux system since there's no /dev/msr0,
the device is named /dev/cpu/0/msr.

But I don't know how common these names are.

Thanks,

/mjt

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-09-26 17:11 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-09-17 18:54 [Qemu-devel] [PATCH] vmxcap: Update according to SDM of September 2014 Adrian-Ken Rueegsegger
2014-09-25 17:07 ` [Qemu-devel] Ping " Adrian-Ken Rueegsegger
2014-09-26 17:11   ` [Qemu-devel] [Qemu-trivial] " Michael Tokarev

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).