Statistics
| Branch: | Revision:

root / target-i386 @ 82beb536

Name Size
Makefile.objs 414 Bytes
TODO 1 kB
arch_dump.c 12.4 kB
arch_memory_mapping.c 8 kB
cc_helper.c 10.1 kB
cc_helper_template.h 6.6 kB
cpu-qom.h 3.8 kB
cpu.c 91.3 kB
cpu.h 39.8 kB
excp_helper.c 4.1 kB
fpu_helper.c 29.8 kB
gdbstub.c 7.8 kB
helper.c 41.2 kB
helper.h 7.3 kB
int_helper.c 10.5 kB
ioport-user.c 1.6 kB
kvm-stub.c 696 Bytes
kvm.c 73.9 kB
kvm_i386.h 1.3 kB
machine.c 22.4 kB
mem_helper.c 3.8 kB
misc_helper.c 16.3 kB
ops_sse.h 73.4 kB
ops_sse_header.h 13 kB
seg_helper.c 80.5 kB
shift_helper_template.h 2.8 kB
smm_helper.c 10.6 kB
svm.h 5.7 kB
svm_helper.c 27.1 kB
topology.h 4.8 kB
translate.c 271 kB

Latest revisions

# Date Author Comment
234cc647 02/03/2014 06:33 pm Paolo Bonzini

KVM: fix coexistence of KVM and Hyper-V leaves

kvm_arch_init_vcpu's initialization of the KVM leaves at 0x40000100
is broken, because KVM_CPUID_FEATURES is left at 0x40000001. Move
it to 0x40000101 if Hyper-V is enabled.

Signed-off-by: Paolo Bonzini <>

7bc3d711 02/03/2014 06:33 pm Paolo Bonzini

kvm: make availability of Hyper-V enlightenments dependent on KVM_CAP_HYPERV

The MS docs specify HV_X64_MSR_HYPERCALL as a mandatory interface,
thus we must provide the MSRs even if the user only specified
features that, like relaxed timing, in principle don't require them....

1c90ef26 02/03/2014 06:33 pm Vadim Rozenfeld

kvm: make hyperv hypercall and guest os id MSRs migratable.

Signed-off-by: Vadim Rozenfeld <>
Signed-off-by: Paolo Bonzini <>

5ef68987 02/03/2014 06:33 pm Vadim Rozenfeld

kvm: make hyperv vapic assist page migratable

Signed-off-by: Vadim Rozenfeld <>
Signed-off-by: Paolo Bonzini <>

48a5f3bc 02/03/2014 06:33 pm Vadim Rozenfeld

kvm: add support for hyper-v timers

http://msdn.microsoft.com/en-us/library/windows/hardware/ff541625%28v=vs.85%29.aspx

This code is generic for activating reference time counter or virtual reference time stamp counter

Signed-off-by: Vadim Rozenfeld <>...

c1f41226 02/03/2014 06:33 pm Eduardo Habkost

target-i386: Eliminate CONFIG_KVM #ifdefs

The compiler is already able to eliminate the kvm_arch_get_supported_cpuid()
calls in kvm_cpu_fill_host() and filter_features_for_kvm(), so we can
eliminate the CONFIG_KVM #ifdefs there.

Also, kvm_cpu_fill_host() and host_cpuid() don't need to check...

82beb536 02/03/2014 06:33 pm Eduardo Habkost

target-i386: Don't change x86_def_t struct on cpu_x86_register()

As eventually the x86_def_t data is going to be provided by the CPU
class, it's better to not touch it, and handle the special cases on the
X86CPU object itself.

Current behavior of the code should stay exactly the same....

2a573259 02/03/2014 06:33 pm Eduardo Habkost

target-i386: kvm_cpu_fill_host(): Set all feature words at end of function

Reorder the code so all the code that sets x86_cpu_def->features is at
the end of the function.

Signed-off-by: Eduardo Habkost <>
Signed-off-by: Paolo Bonzini <>

2bc65d2b 02/03/2014 06:33 pm Eduardo Habkost

target-i386: kvm_cpu_fill_host(): Fill feature words in a loop

Now that the kvm_cpu_fill_host() code is simplified, we can simply set
the feature word array using a simple loop.

Signed-off-by: Eduardo Habkost <>
Signed-off-by: Paolo Bonzini <>

f0b9b111 02/03/2014 06:33 pm Eduardo Habkost

target-i386: kvm_check_features_against_host(): Kill feature word array

We don't need the ft[] array on kvm_check_features_against_host()
anymore, as we can simply use the feature_word_info[] array, that has
everything we need.

Signed-off-by: Eduardo Habkost <>...

View revisions

Also available in: Atom