Statistics
| Branch: | Revision:

root / target-i386 @ 73aaec4a

Name Size
TODO 1.1 kB
cpu.h 28.9 kB
cpuid.c 42.3 kB
exec.h 8.6 kB
helper.c 38.5 kB
helper.h 6.3 kB
helper_template.h 8.6 kB
kvm.c 50.7 kB
kvm_x86.h 578 Bytes
machine.c 14.7 kB
op_helper.c 159.3 kB
ops_sse.h 58.1 kB
ops_sse_header.h 11.7 kB
svm.h 5.8 kB
translate.c 256.5 kB

Latest revisions

# Date Author Comment
646042e1 01/23/2011 06:27 am Jan Kiszka

kvm: x86: Swallow KVM_EXIT_SET_TPR

This exit only triggers activity in the common exit path, but we should
accept it in order to be able to detect unknown exit types.

Signed-off-by: Jan Kiszka <>
Signed-off-by: Marcelo Tosatti <>

73aaec4a 01/23/2011 06:27 am Jan Kiszka

kvm: Stop on all fatal exit reasons

Ensure that we stop the guest whenever we face a fatal or unknown exit
reason. If we stop, we also have to enforce a cpu loop exit.

Signed-off-by: Jan Kiszka <>
Signed-off-by: Marcelo Tosatti <>

2bd3e04c 01/21/2011 06:05 pm Jin Dongming

Add function for checking mca broadcast of CPU

Add function for checking whether current CPU support mca broadcast.

Signed-off-by: Jin Dongming <>
Signed-off-by: Marcelo Tosatti <>

6643e2f0 01/21/2011 06:05 pm Jin Dongming

kvm: introduce kvm_mce_in_progress

Share same error handing, and rename this function after
MCIP (Machine Check In Progress) flag.

Signed-off-by: Hidetoshi Seto <>
Signed-off-by: Jin Dongming <>...

e387c338 01/21/2011 06:05 pm Jin Dongming

kvm: kvm_mce_inj_* subroutines for templated error injections

Refactor codes for maintainability.

Signed-off-by: Hidetoshi Seto <>
Signed-off-by: Jin Dongming <>
Signed-off-by: Marcelo Tosatti <>

7cc2cc3e 01/21/2011 06:05 pm Jin Dongming

kvm: introduce kvm_inject_x86_mce_on

Pass a table instead of multiple args.

Note:

kvm_inject_x86_mce(env, bank, status, mcg_status, addr, misc,
abort_on_error);

is equal to:

struct kvm_x86_mce mce = {
.bank = bank,...
acaa7550 01/21/2011 06:05 pm Jan Kiszka

kvm: x86: Fix DPL write back of segment registers

The DPL is stored in the flags and not in the selector. In fact, the RPL
may differ from the DPL at some point in time, and so we were corrupting
the guest state so far.

Signed-off-by: Jan Kiszka <>...

3980e302 01/21/2011 06:05 pm Jan Kiszka

kvm: x86: Remove obsolete SS.RPL/DPL aligment

This seems to date back to the days KVM didn't support real mode. The
check is no longer needed and, even worse, is corrupting the guest state
in case SS.RPL != DPL.

Signed-off-by: Jan Kiszka <>...

95c077c9 01/21/2011 06:05 pm Jan Kiszka

kvm: x86: Prevent sign extension of DR7 in guest debugging mode

This unbreaks guest debugging when the 4th hardware breakpoint used for
guest debugging is a watchpoint of 4 or 8 byte lenght. The 31st bit of
DR7 is set in that case and used to cause a sign extension to the high...

b9bec74b 01/21/2011 06:05 pm Jan Kiszka

kvm: x86: Fix a few coding style violations

No functional changes.

Signed-off-by: Jan Kiszka <>
Signed-off-by: Avi Kivity <>

View revisions

Also available in: Atom