diff options
author | neel <neel@FreeBSD.org> | 2012-08-04 22:46:29 +0000 |
---|---|---|
committer | neel <neel@FreeBSD.org> | 2012-08-04 22:46:29 +0000 |
commit | ac88464d24af550cd19d2c9aefd2f431e6ae89ed (patch) | |
tree | b08927969c4f03ffa459bf474f91b2cc522117f4 /lib/libvmmapi/vmmapi.c | |
parent | 66c8120152f661ab4690b86ac87beeb00cc887e5 (diff) | |
download | FreeBSD-src-ac88464d24af550cd19d2c9aefd2f431e6ae89ed.zip FreeBSD-src-ac88464d24af550cd19d2c9aefd2f431e6ae89ed.tar.gz |
Allow the 'bhyve' process to control whether or not the virtual machine sees an
ioapic.
Obtained from: NetApp
Diffstat (limited to 'lib/libvmmapi/vmmapi.c')
-rw-r--r-- | lib/libvmmapi/vmmapi.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/libvmmapi/vmmapi.c b/lib/libvmmapi/vmmapi.c index d88b694..5882bd2 100644 --- a/lib/libvmmapi/vmmapi.c +++ b/lib/libvmmapi/vmmapi.c @@ -306,11 +306,12 @@ vm_inject_event2(struct vmctx *ctx, int vcpu, enum vm_event_type type, } int -vm_build_tables(struct vmctx *ctxt, int ncpu, void *oemtbl, int oemtblsz) +vm_build_tables(struct vmctx *ctxt, int ncpu, int ioapic, + void *oemtbl, int oemtblsz) { return (vm_build_mptable(ctxt, BIOS_ROM_BASE, BIOS_ROM_SIZE, ncpu, - oemtbl, oemtblsz)); + ioapic, oemtbl, oemtblsz)); } int |