diff --git a/xen/arch/x86/domctl.c b/xen/arch/x86/domctl.c index cba1e378d5..6e709cb691 100644 --- a/xen/arch/x86/domctl.c +++ b/xen/arch/x86/domctl.c @@ -1512,7 +1512,7 @@ void arch_get_info_guest(struct vcpu *v, vcpu_guest_context_u c) /* IOPL privileges are virtualised: merge back into returned eflags. */ BUG_ON((c(user_regs.eflags) & X86_EFLAGS_IOPL) != 0); - c(user_regs.eflags |= v->arch.pv_vcpu.iopl << 12); + c(user_regs.eflags |= v->arch.pv_vcpu.iopl); if ( !compat ) {