vmxcap: Augment reported information
Parse the Basic VMX Information MSR and add the bit for the new postedinterrupts.
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>Signed-off-by: Gleb Natapov <gleb@redhat.com>
vmxcap: Report APIC register emulation and RDTSCP control
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
vmxcap: Update according to SDM of January 2013
This adds reporting of VMCS shadowing, #VE, IA32_SMBASE, unrestrictedVMWRITE and fixes the range of the MSEG revision ID.
vmxcap: Open MSR file in unbuffered mode
Python may otherwise decide to to read larger chunks, applying the seekonly on the software buffer. This will return results from the wrongMSRs.
vmxcap: bit 9 of VMX_PROCBASED_CTLS2 is 'virtual interrupt delivery'
Bit 9 of MSR_IA32_VMX_PROCBASED_CTLS2 isvirtual interrupt delivery.
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
s390/kvm_stat: correct sys_perf_event_open syscall number
Correct sys_perf_event_open syscall number for s390 architecture - the hardcoded syscall number 298 is for x86 but should be different for other architectures. In case we figure out via /proc/cpuinfo that we are running...
s390: make kvm_stat work on s390
Add s390_exit_reasons so kvm_stat doesn't crash when called on s390.Look for 'vendor_id' in /proc/cpuinfo as well, instead of just for'flags', so we can determine if we run on S390.
Signed-off-by: Jens Freimann <jfrei@linux.vnet.ibm.com>...
kvm: update vmxcap for EPT A/D, INVPCID, RDRAND, VMFUNC
Signed-off-by: Avi Kivity <avi@redhat.com>Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
kvm: add flightrecorder script
The kvm kernel module includes a number of trace events which can beuseful when debugging system behavior. Even on production systems thesetrace events can be used to observe guest behavior and identify thesource of problems....
kvm: Add top-like kvm statistics script
Taken from original qemu-kvm/kvm/kvm_stat.
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>Signed-off-by: Avi Kivity <avi@redhat.com>
View revisions
Also available in: Atom