Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1266986

Re: [PATCH] KVM: x86: fix eflags state following processor init/reset

From Wanpeng Li <kernellwp@gmail.com>
Newsgroups linux.kernel
Subject Re: [PATCH] KVM: x86: fix eflags state following processor init/reset
Date 2015-11-11 07:40 +0100
Message-ID <qtxex-7AK-17@gated-at.bofh.it> (permalink)
References <qlV4l-35j-5@gated-at.bofh.it> <qopAZ-5Ed-11@gated-at.bofh.it> <qou7E-6S-5@gated-at.bofh.it> <qqHk5-1z5-7@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


2015-11-03 18:47 GMT+08:00 Paolo Bonzini <pbonzini@redhat.com>:
>
>
> On 28/10/2015 09:10, Nadav Amit wrote:
>> Here are my 5 cents. Note that vmx_vcpu_reset calls:
>>
>>       vmcs_writel(GUEST_RFLAGS, 0x02);
>>
>> (And the RFLAGS value is not cached by KVM, so no consistency problem should
>> occur.)
>>
>> You may want to change the value into constant or call a wrapper function
>> for setting RFLAGS, but I don’t see something broken in the functionality.
>
> I agree.  Wanpeng, if this is just a cleanup, can you send v2 that
> removes or modifies the existing call to vmcs_writel?  If there is a
> bug, can you write a unit test for it?  It should be possible to test
> for the problem using INIT+SIPI on an AP.

You are right, I write a INIT+SIPI kvm-unit-test and didn't trigger
any bug. Please ignore the patch.

Regards,
Wanpeng Li
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

Re: [PATCH] KVM: x86: fix eflags state following processor init/reset Paolo Bonzini <pbonzini@redhat.com> - 2015-11-03 11:50 +0100
  Re: [PATCH] KVM: x86: fix eflags state following processor init/reset Wanpeng Li <kernellwp@gmail.com> - 2015-11-11 07:40 +0100

csiph-web