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 <jan.kis...@siemens.com> > CC: Huang Ying <ying.hu...@intel.com> > CC: Hidetoshi Seto <seto.hideto...@jp.fujitsu.com> > CC: Jin Dongming <jin.dongm...@np.css.fujitsu.com>
Difficult to review, please split: - drop writeback restriction - unify monitor/sigbus injection paths - cleanup / refactor