Re: [PATCH -v3] Add savevm/loadvm support for MCE

Marcelo Tosatti
2010-03-04T14:50:26Z

On Wed, Mar 03, 2010 at 04:52:46PM +0800, Huang Ying wrote:
> MCE registers are saved/load into/from CPUState in
> kvm_arch_save/load_regs. To simulate the MCG_STATUS clearing upon
> reset, MSR_MCG_STATUS is set to 0 for KVM_PUT_RESET_STATE.
>
> v3:
>
> - use msrs[] in kvm_arch_load/save_regs and get_msr_entry directly.
>
> v2:
>
> - Rebased on new CPU registers save/load framework.
>
> Signed-off-by: Huang Ying <ying.huang@intel.com>
> ---
> qemu-kvm-x86.c | 36 ++++++++++++++++++++++++++++++++++++
> 1 file changed, 36 insertions(+)

Applied, thanks.