Changeset View
Changeset View
Standalone View
Standalone View
head/sys/sys/systm.h
Show First 20 Lines • Show All 73 Lines • ▼ Show 20 Lines | |||||
/* | /* | ||||
* Detected virtual machine guest types. The intention is to expand | * Detected virtual machine guest types. The intention is to expand | ||||
* and/or add to the VM_GUEST_VM type if specific VM functionality is | * and/or add to the VM_GUEST_VM type if specific VM functionality is | ||||
* ever implemented (e.g. vendor-specific paravirtualization features). | * ever implemented (e.g. vendor-specific paravirtualization features). | ||||
* Keep in sync with vm_guest_sysctl_names[]. | * Keep in sync with vm_guest_sysctl_names[]. | ||||
*/ | */ | ||||
enum VM_GUEST { VM_GUEST_NO = 0, VM_GUEST_VM, VM_GUEST_XEN, VM_GUEST_HV, | enum VM_GUEST { VM_GUEST_NO = 0, VM_GUEST_VM, VM_GUEST_XEN, VM_GUEST_HV, | ||||
VM_GUEST_VMWARE, VM_GUEST_KVM, VM_GUEST_BHYVE, VM_GUEST_VBOX, | VM_GUEST_VMWARE, VM_GUEST_KVM, VM_GUEST_BHYVE, VM_GUEST_VBOX, | ||||
VM_LAST }; | VM_GUEST_PARALLELS, VM_LAST }; | ||||
/* | /* | ||||
* These functions need to be declared before the KASSERT macro is invoked in | * These functions need to be declared before the KASSERT macro is invoked in | ||||
* !KASSERT_PANIC_OPTIONAL builds, so their declarations are sort of out of | * !KASSERT_PANIC_OPTIONAL builds, so their declarations are sort of out of | ||||
* place compared to other function definitions in this header. On the other | * place compared to other function definitions in this header. On the other | ||||
* hand, this header is a bit disorganized anyway. | * hand, this header is a bit disorganized anyway. | ||||
*/ | */ | ||||
void panic(const char *, ...) __dead2 __printflike(1, 2); | void panic(const char *, ...) __dead2 __printflike(1, 2); | ||||
▲ Show 20 Lines • Show All 492 Lines • Show Last 20 Lines |