diff options
author | Mike Belopuhov <mikeb@cvs.openbsd.org> | 2016-04-19 18:15:42 +0000 |
---|---|---|
committer | Mike Belopuhov <mikeb@cvs.openbsd.org> | 2016-04-19 18:15:42 +0000 |
commit | 7beb634c39cc948303938b2f62baa81b6d1ccbb3 (patch) | |
tree | a961dfd995bea692347aeef43ca186a2b5b20820 /sys/dev/pv/if_xnf.c | |
parent | 4857fc8937b08f233ca96a8d929432f7ba514784 (diff) |
Bind event channels to backend domains
This is another piece of the QubesOS "chained VM" puzzle reported by
Marco Peereboom.
Diffstat (limited to 'sys/dev/pv/if_xnf.c')
-rw-r--r-- | sys/dev/pv/if_xnf.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/dev/pv/if_xnf.c b/sys/dev/pv/if_xnf.c index 2f9a02fbe36..67a905e1636 100644 --- a/sys/dev/pv/if_xnf.c +++ b/sys/dev/pv/if_xnf.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_xnf.c,v 1.21 2016/04/19 14:19:44 mikeb Exp $ */ +/* $OpenBSD: if_xnf.c,v 1.22 2016/04/19 18:15:41 mikeb Exp $ */ /* * Copyright (c) 2015, 2016 Mike Belopuhov @@ -253,7 +253,8 @@ xnf_attach(struct device *parent, struct device *self, void *aux) return; } - if (xen_intr_establish(0, &sc->sc_xih, xnf_intr, sc, ifp->if_xname)) { + if (xen_intr_establish(0, &sc->sc_xih, sc->sc_domid, xnf_intr, sc, + ifp->if_xname)) { printf(": failed to establish an interrupt\n"); return; } |