diff --git a/xen/arch/x86/hvm/emulate.c b/xen/arch/x86/hvm/emulate.c index c09ea002ec..cd2831d34b 100644 --- a/xen/arch/x86/hvm/emulate.c +++ b/xen/arch/x86/hvm/emulate.c @@ -2350,6 +2350,7 @@ static int cf_check hvmemul_write_cr( case 2: curr->arch.hvm.guest_cr[2] = val; + hvm_update_guest_cr(curr, 2); rc = X86EMUL_OKAY; break;