qemu-patch-raspberry4/target-i386
Will Auld f28558d3d3 target-i386: Enabling IA32_TSC_ADJUST for QEMU KVM guest VMs
CPUID.7.0.EBX[1]=1 indicates IA32_TSC_ADJUST MSR 0x3b is supported

Basic design is to emulate the MSR by allowing reads and writes to the
hypervisor vcpu specific locations to store the value of the emulated MSRs.
In this way the IA32_TSC_ADJUST value will be included in all reads to
the TSC MSR whether through rdmsr or rdtsc.

As this is a new MSR that the guest may access and modify its value needs
to be migrated along with the other MRSs. The changes here are specifically
for recognizing when IA32_TSC_ADJUST is enabled in CPUID and code added
for migrating its value.

Signed-off-by: Will Auld <will.auld@intel.com>
Reviewed-by: Andreas Färber <afaerber@suse.de>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
2012-12-14 18:17:36 -02:00
..
arch_dump.c
arch_memory_mapping.c
cc_helper.c
cc_helper_template.h
cpu-qom.h
cpu.c target-i386: Postpone cpuid_level update to realize time 2012-12-07 19:03:04 +01:00
cpu.h target-i386: Enabling IA32_TSC_ADJUST for QEMU KVM guest VMs 2012-12-14 18:17:36 -02:00
excp_helper.c
fpu_helper.c
helper.c cpus: Pass CPUState to run_on_cpu() 2012-10-31 04:12:23 +01:00
helper.h target-i386: rename helper flags 2012-10-28 14:54:23 +01:00
hyperv.c
hyperv.h
int_helper.c
ioport-user.c
kvm-stub.c
kvm.c target-i386: Enabling IA32_TSC_ADJUST for QEMU KVM guest VMs 2012-12-14 18:17:36 -02:00
kvm_i386.h
machine.c target-i386: Enabling IA32_TSC_ADJUST for QEMU KVM guest VMs 2012-12-14 18:17:36 -02:00
Makefile.objs
mem_helper.c
misc_helper.c
ops_sse.h
ops_sse_header.h
seg_helper.c
shift_helper_template.h
smm_helper.c
svm.h
svm_helper.c
TODO
translate.c TCG: Use gen_opc_instr_start from context instead of global variable. 2012-12-08 14:24:43 +00:00