On Wed, Oct 09, 2024 at 05:51:09PM +0800, Gao Shiyuan wrote: > Date: Wed, 9 Oct 2024 17:51:09 +0800 > From: Gao Shiyuan <gaoshiyuan@xxxxxxxxx> > Subject: [PATCH v2 1/1] x86: Add support save/load HWCR MSR > X-Mailer: git-send-email 2.39.3 (Apple Git-146) > > KVM commit 191c8137a939 ("x86/kvm: Implement HWCR support") > introduced support for emulating HWCR MSR. > > Add support for QEMU to save/load this MSR for migration purposes. > > Signed-off-by: Gao Shiyuan <gaoshiyuan@xxxxxxxxx> > Signed-off-by: Wang Liang <wangliang44@xxxxxxxxx> > --- > target/i386/cpu.h | 5 +++++ > target/i386/kvm/kvm.c | 12 ++++++++++++ > target/i386/machine.c | 20 ++++++++++++++++++++ > 3 files changed, 37 insertions(+) Reviewed-by: Zhao Liu <zhao1.liu@xxxxxxxxx>