Statistics
| Branch: | Revision:

root / target-i386 @ f8d926e9

Name Size
TODO 1.1 kB
cpu.h 25.6 kB
exec.h 9.1 kB
helper.c 56.6 kB
helper.h 6.2 kB
helper_template.h 8.7 kB
kvm.c 24.8 kB
machine.c 9.5 kB
op_helper.c 158 kB
ops_sse.h 57.2 kB
ops_sse_header.h 11.4 kB
svm.h 5.8 kB
translate.c 251.3 kB

Latest revisions

# Date Author Comment
f8d926e9 05/22/2009 06:50 pm Jan Kiszka

kvm: x86: Save/restore KVM-specific CPU states

Save and restore all so far neglected KVM-specific CPU states. Handling
the TSC stabilizes migration in KVM mode. The interrupt_bitmap and
mp_state are currently unused, but will become relevant for in-kernel...

b0a46a33 05/22/2009 06:50 pm Jan Kiszka

kvm: Add missing bits to support live migration

This patch adds the missing hooks to allow live migration in KVM mode.
It adds proper synchronization before/after saving/restoring the VCPU
states (note: PPC is untested), hooks into
cpu_physical_memory_set_dirty_tracking() to enable dirty memory logging...

f80f9ec9 05/21/2009 04:47 pm Anthony Liguori

Convert machine registration to use module init functions

This cleans up quite a lot of #ifdefs, extern variables, and other ugliness.

Signed-off-by: Anthony Liguori <>

76ae317f 05/20/2009 05:12 pm Mark McLoughlin

kvm: work around supported cpuid ioctl() brokenness

KVM_GET_SUPPORTED_CPUID has been known to fail to return -E2BIG
when it runs out of entries. Detect this by always trying again
with a bigger table if the ioctl() fills the table.

Signed-off-by: Mark McLoughlin <>

55616505 05/13/2009 10:54 pm Paul Brook

Include assert.h from qemu-common.h

Include assert.h from qemu-common.h and remove other direct uses.
cpu-all.h still need to include it because of the dyngen-exec.h hacks

Signed-off-by: Paul Brook <>

001faf32 05/13/2009 08:53 pm Blue Swirl

Replace gcc variadic macro extension with C99 version

Signed-off-by: Blue Swirl <>

989cebff 05/08/2009 11:51 pm Anthony Liguori

Remove noisy printf when KVM masks CPU features

Signed-off-by: Anthony Liguori <>

c6fa82c4 05/08/2009 11:42 pm Avi Kivity

Make x86 cpuid feature names available in file scope

To be used later.

Signed-off-by: Avi Kivity <>
Signed-off-by: Anthony Liguori <>

02b049df 05/08/2009 11:42 pm Avi Kivity

Fix x86 feature modifications for features that set multiple bits

QEMU allows adding or removing cpu features by using the syntax '-cpu +feature'
or '-cpu -feature'. Some cpuid features cause more than one bit to be set or
cleared; but QEMU stops after just one bit has been modified, causing the...

e8a6aec9 05/08/2009 11:42 pm Avi Kivity

kvm: Trim cpu features not supported by kvm

Remove cpu features that are not supported by kvm from the cpuid features
reported to the guest.

Signed-off-by: Avi Kivity <>
Signed-off-by: Anthony Liguori <>

View revisions

Also available in: Atom