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>