5 #include <sys/kernel.h>
6 #include <sys/module.h>
10 xenhvm_modevent(module_t mod, int type, void *arg)
15 if (inw(0x10) == 0x49d2) {
17 printf("Xen detected: disabling emulated block and network devices\n");
26 static moduledata_t xenhvm_mod = {
32 DECLARE_MODULE(xenhvm, xenhvm_mod, SI_SUB_DRIVERS, SI_ORDER_FIRST);