diff options
author | Jan Kiszka <jan.kiszka@siemens.com> | 2011-03-02 08:56:09 +0100 |
---|---|---|
committer | Marcelo Tosatti <mtosatti@redhat.com> | 2011-03-15 01:19:05 -0300 |
commit | 316378e4d0214b45cfeaa01609aca4dabb18d78b (patch) | |
tree | aa6122d6e8259e627bfea7e2c766dd88ec3aab84 /target-i386/cpu.h | |
parent | 2fa11da0c3a6614b15e6007389986a7c2b31ac49 (diff) | |
download | qemu-316378e4d0214b45cfeaa01609aca4dabb18d78b.tar.gz qemu-316378e4d0214b45cfeaa01609aca4dabb18d78b.tar.bz2 qemu-316378e4d0214b45cfeaa01609aca4dabb18d78b.zip |
x86: Refine error reporting of MCE injection services
As this service is used by the human monitor, make sure that errors get
reported to the right channel, and also raise the verbosity.
This requires to move Monitor typedef in qemu-common.h to resolve the
include dependency.
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
CC: Huang Ying <ying.huang@intel.com>
CC: Hidetoshi Seto <seto.hidetoshi@jp.fujitsu.com>
CC: Jin Dongming <jin.dongming@np.css.fujitsu.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Diffstat (limited to 'target-i386/cpu.h')
-rw-r--r-- | target-i386/cpu.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/target-i386/cpu.h b/target-i386/cpu.h index 52bb48ec33..486af1d6e7 100644 --- a/target-i386/cpu.h +++ b/target-i386/cpu.h @@ -987,8 +987,8 @@ static inline void cpu_get_tb_cpu_state(CPUState *env, target_ulong *pc, void do_cpu_init(CPUState *env); void do_cpu_sipi(CPUState *env); -void cpu_x86_inject_mce(CPUState *cenv, int bank, uint64_t status, - uint64_t mcg_status, uint64_t addr, uint64_t misc, - int broadcast); +void cpu_x86_inject_mce(Monitor *mon, CPUState *cenv, int bank, + uint64_t status, uint64_t mcg_status, uint64_t addr, + uint64_t misc, int broadcast); #endif /* CPU_I386_H */ |