qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] Re: [PATCH 09/13] kvm: x86: Consolidate TCG and KVM MCE inj


From: Marcelo Tosatti
Subject: [Qemu-devel] Re: [PATCH 09/13] kvm: x86: Consolidate TCG and KVM MCE injection code
Date: Thu, 17 Feb 2011 16:08:58 -0200
User-agent: Mutt/1.5.21 (2010-09-15)

On Tue, Feb 15, 2011 at 09:23:33AM +0100, Jan Kiszka wrote:
> This switches KVM's MCE injection path to cpu_x86_inject_mce, both for
> SIGBUS and monitor initiated events. This means we prepare the MCA MSRs
> in the VCPUState also for KVM.
> 
> We have to drop the MSRs writeback restrictions for this purpose which
> is now safe as every uncoordinated MSR injection is removed with this
> patch.
> 
> We have to execute every per-VCPU event setup on the target VCPU as we
> are performing a read-modify-write on its state.
> 
> Signed-off-by: Jan Kiszka <address@hidden>
> CC: Huang Ying <address@hidden>
> CC: Hidetoshi Seto <address@hidden>
> CC: Jin Dongming <address@hidden>

Difficult to review, please split:

- drop writeback restriction
- unify monitor/sigbus injection paths 
- cleanup / refactor




reply via email to

[Prev in Thread] Current Thread [Next in Thread]