Re: [PATCH 2/2][kvm-unit-test] nVMX x86: Check VMX-preemption timer controls on vmentry of L2 guests

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 01/12/18 03:12, Krish Sadhukhan wrote:
> For adhering to the rule, we should also disable the control at the end
> of preemption_timer_exit_handler():
> 
> ...
>      vmcs_write(PIN_CONTROLS, vmcs_read(PIN_CONTROLS) & ~PIN_PREEMPT);
> +  vmcs_write(EXI_CONTROLS,
> +                     vmcs_read(EXI_CONTROLS) & ~EXI_SAVE_PREEMPT);
>            return VMX_TEST_VMEXIT;
> 

Or also remove the other vmcs_write, since the VMCS is not reused across
tests.

> Should I send out a revised patch or you will apply these changes ?

I have already applied the patch.

Paolo



[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux