View | Details | Raw Unified | Return to bug 276421 | Differences between
and this patch

Collapse All | Expand All

(-)b/sys/x86/x86/identcpu.c (-2 / +12 lines)
Lines 1409-1415 identify_hypervisor_cpuid_base(void) Link Here
1409
				 * If we found a specific hypervisor, then
1409
				 * If we found a specific hypervisor, then
1410
				 * we are finished.
1410
				 * we are finished.
1411
				 */
1411
				 */
1412
				if (vm_guest != VM_GUEST_VM)
1412
				if (vm_guest != VM_GUEST_VM &&
1413
				    /*
1414
				     * Xen and other hypervisors can expose the
1415
				     * HyperV signature in addition to the
1416
				     * native one in order to support Viridian
1417
				     * extensions for Windows guests.
1418
				     *
1419
				     * Do the full cpuid scan if HyperV is
1420
				     * detected, as the native hypervisor is
1421
				     * preferred.
1422
				     */
1423
				    vm_guest != VM_GUEST_HV)
1413
					return;
1424
					return;
1414
			}
1425
			}
1415
		}
1426
		}
1416
- 

Return to bug 276421