Lines Matching refs:avic_mode
56 enum avic_modes avic_mode; variable
83 avic_mode == AVIC_MODE_X2) { in avic_activate_vmcb()
244 if ((avic_mode == AVIC_MODE_X1 && index > AVIC_MAX_PHYSICAL_ID) || in avic_get_physical_id_entry()
245 (avic_mode == AVIC_MODE_X2 && index > X2AVIC_MAX_PHYSICAL_ID)) in avic_get_physical_id_entry()
292 if ((avic_mode == AVIC_MODE_X1 && id > AVIC_MAX_PHYSICAL_ID) || in avic_init_backing_page()
293 (avic_mode == AVIC_MODE_X2 && id > X2AVIC_MAX_PHYSICAL_ID)) in avic_init_backing_page()
744 if (!lapic_in_kernel(vcpu) || avic_mode == AVIC_MODE_NONE) in avic_set_virtual_apic_mode()
1169 avic_mode = AVIC_MODE_X1; in avic_hardware_setup()
1176 avic_mode = AVIC_MODE_X1; in avic_hardware_setup()
1183 if (avic_mode == AVIC_MODE_X1) { in avic_hardware_setup()
1184 avic_mode = AVIC_MODE_X2; in avic_hardware_setup()
1192 if (avic_mode != AVIC_MODE_NONE) in avic_hardware_setup()
1195 return !!avic_mode; in avic_hardware_setup()