mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-12-04 05:58:57 +00:00
Rename VM_LAST to more appropriate VM_GUEST_LAST
NFC Sponsored by: Rubicon Communications, LLC ("Netgate")
This commit is contained in:
parent
85c3ef77cc
commit
b0aaf8beb1
@ -157,7 +157,7 @@ static const char *const vm_guest_sysctl_names[] = {
|
||||
[VM_GUEST_VBOX] = "vbox",
|
||||
[VM_GUEST_PARALLELS] = "parallels",
|
||||
};
|
||||
_Static_assert(nitems(vm_guest_sysctl_names) == VM_LAST,
|
||||
_Static_assert(nitems(vm_guest_sysctl_names) == VM_GUEST_LAST,
|
||||
"new vm guest type not added to vm_guest_sysctl_names");
|
||||
|
||||
/*
|
||||
|
@ -79,7 +79,7 @@ extern u_long maxphys; /* max raw I/O transfer size */
|
||||
*/
|
||||
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_PARALLELS, VM_LAST };
|
||||
VM_GUEST_PARALLELS, VM_GUEST_LAST };
|
||||
|
||||
#endif /* KERNEL */
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user