Statistics
| Branch: | Revision:

root / target-i386 @ 2bc65d2b

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 92 kB
cpu.h 39.7 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 72.2 kB
kvm_i386.h 1.3 kB
machine.c 20.6 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
81e20770 02/03/2014 06:33 pm Eduardo Habkost

target-i386: kvm_cpu_fill_host(): Kill unused code

Those host_cpuid() calls are useless. They are leftovers from when the
old code using host_cpuid() was removed.

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

7171a393 02/03/2014 06:33 pm Eduardo Habkost

target-i386: kvm_cpu_fill_host(): No need to check level

There's no need to check level (CPUID0.EAX) before calling
kvm_arch_get_supported_cpuid(s, 0x7, 0, R_EBX), because:

  • The kernel won't return any entry for CPUID 7 if CPUID0.EAX is < 7
    on the host (See kvm_dev_ioctl_get_cpuid() on the kernel code);...
b73dcfb1 02/03/2014 06:33 pm Eduardo Habkost

target-i386: kvm_cpu_fill_host(): No need to check CPU vendor

There's no need to check CPU vendor before calling
kvm_arch_get_supported_cpuid(s, 0xC0000000, 0, R_EAX), because:

  • The kernel won't return any entry for 0xC0000000 if host CPU vendor
    is not Centaur (See kvm_dev_ioctl_get_cpuid() on the kernel code);...
803a9327 02/03/2014 06:33 pm Eduardo Habkost

target-i386: kvm_cpu_fill_host(): No need to check xlevel2

There's no need to check CPU xlevel2 before calling
kvm_arch_get_supported_cpuid(s, 0xC0000001, 0, R_EDX), because:

  • The kernel won't return any entry for 0xC0000000 if host CPU vendor
    is not Centaur (See kvm_dev_ioctl_get_supported_cpuid() on the kernel...
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 <>

0169c511 01/25/2014 01:52 am Anthony Liguori

Merge remote-tracking branch 'qemu-kvm/uq/master' into staging

  • qemu-kvm/uq/master:
    kvm: always update the MPX model specific register
    KVM: fix addr type for KVM_IOEVENTFD
    KVM: Retry KVM_CREATE_VM on EINTR
    mempath prefault: fix off-by-one error
    kvm: x86: Separately write feature control MSR on reset...
439d19f2 01/20/2014 03:25 pm Paolo Bonzini

kvm: always update the MPX model specific register

The original patch from Liu Jinsong restricted them to reset or full
state updates, but that's unnecessary (and wrong) since the BNDCFGS
MSR has no side effects.

Cc: Liu Jinsong <>
Signed-off-by: Paolo Bonzini <>

133fe774 01/14/2014 04:10 am Edgar E. Iglesias

Merge remote branch 'luiz/queue/qmp' into qmpq

  • luiz/queue/qmp:
    migration: qmp_migrate(): keep working after syntax error
    qerror: Remove assert_no_error()
    qemu-option: Remove qemu_opts_create_nofail
    target-i386: Remove assert_no_error usage
    hw: Remove assert_no_error usages...
4cddc7f4 01/10/2014 09:04 pm Anthony Liguori

Merge remote-tracking branch 'afaerber/tags/qom-cpu-for-anthony' into staging

QOM CPUState refactorings / X86CPU

  • TLB invalidation optimizations
  • X86CPU initialization cleanups
  • Preparations for X86CPU hot-unplug
  1. gpg: Signature made Tue 24 Dec 2013 04:51:52 AM PST using RSA key ID 3E7E013F...

View revisions

Also available in: Atom