Document the relationship between enum VM_GUEST and the vm_guest_sysctl_names

array.

Approved by:	gnn (original version)
This commit is contained in:
Ivan Voras 2008-12-30 23:49:54 +00:00
parent 7438d60b4b
commit 98a4431181

View File

@ -73,7 +73,9 @@ __FBSDID("$FreeBSD$");
#define MAXFILES (maxproc * 2)
#endif
enum VM_GUEST { VM_GUEST_NO, VM_GUEST_VM, VM_GUEST_XEN };
/* Values of enum VM_GUEST members are used as indices in
* vm_guest_sysctl_names */
enum VM_GUEST { VM_GUEST_NO = 0, VM_GUEST_VM, VM_GUEST_XEN };
static int sysctl_kern_vm_guest(SYSCTL_HANDLER_ARGS);