Re: [PATCH 3/4 v3][kvm-unit-test nVMX]: Re-name 'test_vmx_controls' to 'test_vmx_vmlaunch' and pass the expected error code to it

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

 



On Thu, Feb 07, 2019 at 02:05:32PM -0500, Krish Sadhukhan wrote:
> The error code returned by KVM when vmlaunch fails, is hard-coded in
> 'test_vmx_controls'. Because that function has been thus far used only for
> testing the VMX controls. Re-name the function to 'test_vmx_vmlaunch' and pass
> the expected error code to it so that it can be used for testing any VMCS
> field.
> Add two wrappers around 'test_vmx_vmlaunch' for testing the VMX controls.
> 
> Signed-off-by: Krish Sadhukhan <krish.sadhukhan@xxxxxxxxxx>
> Suggested-by: Sean Christopherson <sean.j.christopherson@xxxxxxxxx>

Reviewed-by: Sean Christopherson <sean.j.christopherson@xxxxxxxxx>



[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