[PATCH 1/4][kvm-unit-test nVMX]: Rename guest_pat_main to guest_state_test_main

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

 



  ...so that it can be re-used by other tests.

Signed-off-by: Krish Sadhukhan <krish.sadhukhan@xxxxxxxxxx>
Reviewed-by: Karl Heubaum <karl.heubaum@xxxxxxxxxx>
---
 x86/vmx_tests.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/x86/vmx_tests.c b/x86/vmx_tests.c
index c01fa9d..ee96596 100644
--- a/x86/vmx_tests.c
+++ b/x86/vmx_tests.c
@@ -4995,7 +4995,7 @@ static void test_sysenter_field(u32 field, const char *name)
 	vmcs_write(field, addr_saved);
 }
 
-static void guest_pat_main(void)
+static void guest_state_test_main(void)
 {
 	while (1) {
 		if (vmx_get_test_stage() != 2)
@@ -5097,7 +5097,7 @@ static void test_pat(u32 fld, const char * fld_name, u32 ctrl_fld, u64 ctrl_bit)
 	vmcs_clear_bits(ctrl_fld, ctrl_bit);
 	if (fld == GUEST_PAT) {
 		vmx_set_test_stage(1);
-		test_set_guest(guest_pat_main);
+		test_set_guest(guest_state_test_main);
 	}
 
 	for (i = 0; i < 256; i = (i < PAT_VAL_LIMIT) ? i + 1 : i * 2) {
-- 
2.20.1




[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