diff --git a/sys/dev/xen/xenpci/xenpci.c b/sys/dev/xen/xenpci/xenpci.c index 3a596b4..7809cd4 100644 --- a/sys/dev/xen/xenpci/xenpci.c +++ b/sys/dev/xen/xenpci/xenpci.c @@ -141,6 +141,7 @@ static int xenpci_probe(device_t dev) { + return (ENXIO); if (pci_get_devid(dev) != 0x00015853) return (ENXIO); diff --git a/sys/x86/xen/hvm.c b/sys/x86/xen/hvm.c index e10659e..ea55fbb 100644 --- a/sys/x86/xen/hvm.c +++ b/sys/x86/xen/hvm.c @@ -297,6 +297,8 @@ xen_hvm_init(enum xen_hvm_init_type init_type) int error; int i; + return; + if (init_type == XEN_HVM_INIT_CANCELLED_SUSPEND) return;