vmxcap: Show raw MSR value, add TSC scaling bit
cover vmxcap: Show raw MSR value, add TSC scaling bit
Eduardo Habkost (2):
vmxcap: Show raw MSR value
vmxcap: Add TSC scaling bit
scripts/kvm/vmxcap | 2 ++ 1 file changed, 2 insertions(+)
Signature · 1 line
2.7.4
PATCH 1/2 vmxcap: Show raw MSR value
This will be helpful to allow checking of bits that are not in the 'bits' table yet.
Signed-off-by Eduardo Habkost <[email protected]>
--- scripts/kvm/vmxcap | 1 + 1 file changed, 1 insertion(+)
scripts/kvm/vmxcap +1 -0
@@ -79,6 +79,7 @@ class Misc(object): def show(self): print self.name value = msr().read(self.msr, 0) + print ' Hex: 0x%x' % (value) def first_bit(key): if type(key) is tuple: return key[0]
Signature · 1 line
2.7.4
PATCH 2/2 vmxcap: Add TSC scaling bit
In reply to Eduardo HabkostSigned-off-by Eduardo Habkost <[email protected]>
--- scripts/kvm/vmxcap | 1 + 1 file changed, 1 insertion(+)
scripts/kvm/vmxcap +1 -0
@@ -173,6 +173,7 @@ controls = [ 16: 'RDSEED exiting', 18: 'EPT-violation #VE', 20: 'Enable XSAVES/XRSTORS', + 25: 'TSC scaling', }, cap_msr = MSR_IA32_VMX_PROCBASED_CTLS2, ),
Signature · 1 line
2.7.4
Paolo Bonzini
AppliedQuoted 7 lines · Eduardo Habkost
Eduardo Habkost (2):
vmxcap: Show raw MSR value
vmxcap: Add TSC scaling bitscripts/kvm/vmxcap | 2 ++ 1 file changed, 2 insertions(+)
Queued for 2.8, thanks.
Paolo