Re: [PATCH 02/11] KVM: vmx: refactor segmentation code in vmx_save_host_state()

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

 



On Mon, Jul 23, 2018 at 12:33 PM Sean Christopherson
<sean.j.christopherson@xxxxxxxxx> wrote:
>
> Use local variables in vmx_save_host_state() to temporarily track
> the selector and base values for FS and GS, and reorganize the
> code so that the 64-bit vs 32-bit portions are contained within
> a single #ifdef.  This refactoring paves the way for future patches
> to modify the updating of VMCS state with minimal changes to the
> code, and (hopefully) simplifies resolving a likely conflict with
> another in-flight patch[1] by being the whipping boy for future
> patches.
>
> [1] https://www.spinics.net/lists/kvm/msg171647.html
>
> Signed-off-by: Sean Christopherson <sean.j.christopherson@xxxxxxxxx>

Reviewed-by: Peter Shier <pshier@xxxxxxxxxx>
Tested-by: Peter Shier <pshier@xxxxxxxxxx>



[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