diff options
author | Andreas Färber <afaerber@suse.de> | 2012-05-03 15:22:54 +0200 |
---|---|---|
committer | Andreas Färber <afaerber@suse.de> | 2012-10-31 04:12:23 +0100 |
commit | 8c5cf3b6219d5d5fb61a9d6e59022fc72dab8f85 (patch) | |
tree | e64d83671b05869cc696b38bbda4a2d9a7b75c66 /target-i386/kvm.c | |
parent | bee615d4b945e6d88dc37a39e40be9f105622f8d (diff) | |
download | hqemu-8c5cf3b6219d5d5fb61a9d6e59022fc72dab8f85.zip hqemu-8c5cf3b6219d5d5fb61a9d6e59022fc72dab8f85.tar.gz |
target-i386: Pass X86CPU to cpu_x86_inject_mce()
Needed for changing run_on_cpu() argument to CPUState.
Signed-off-by: Andreas Färber <afaerber@suse.de>
Diffstat (limited to 'target-i386/kvm.c')
-rw-r--r-- | target-i386/kvm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/target-i386/kvm.c b/target-i386/kvm.c index 5bf2f89c..64b837b 100644 --- a/target-i386/kvm.c +++ b/target-i386/kvm.c @@ -243,7 +243,7 @@ static void kvm_mce_inject(X86CPU *cpu, hwaddr paddr, int code) status |= 0xc0; mcg_status |= MCG_STATUS_RIPV; } - cpu_x86_inject_mce(NULL, env, 9, status, mcg_status, paddr, + cpu_x86_inject_mce(NULL, cpu, 9, status, mcg_status, paddr, (MCM_ADDR_PHYS << 6) | 0xc, cpu_x86_support_mca_broadcast(env) ? MCE_INJECT_BROADCAST : 0); |