From 2022ba9abb541f1e704dc8d75e56b3e0a6539f40 Mon Sep 17 00:00:00 2001 From: Reyk Floeter Date: Sat, 12 Dec 2015 12:33:50 +0000 Subject: Identify hypervisors before configuring other children of the mainbus (bios, CPU, interrupt handlers, pvbus). This splits the pvbus attach function into two parts: pvbus_identify() to scan the CPUID registers for supported hypervisors and pvbus_attach() to attach the bus, print information, and configure the children. This will be needed for Xen and KVM, as discussed with mikeb@ and sf@ OK mlarkin@ --- sys/dev/pv/xenreg.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'sys/dev/pv/xenreg.h') diff --git a/sys/dev/pv/xenreg.h b/sys/dev/pv/xenreg.h index 36fc635097d..2ad409c79c7 100644 --- a/sys/dev/pv/xenreg.h +++ b/sys/dev/pv/xenreg.h @@ -85,8 +85,6 @@ # error "Not implemented" #endif -#define CPUID_OFFSET_XEN_HYPERCALL 0x2 - #if defined(__i386__) || defined(__amd64__) struct arch_vcpu_info { unsigned long cr2; -- cgit v1.2.3