vmmapi.h (256176) | vmmapi.h (258075) |
---|---|
1/*- 2 * Copyright (c) 2011 NetApp, Inc. 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 9 unchanged lines hidden (view full) --- 18 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 19 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 20 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 21 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 22 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 23 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 24 * SUCH DAMAGE. 25 * | 1/*- 2 * Copyright (c) 2011 NetApp, Inc. 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 9 unchanged lines hidden (view full) --- 18 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 19 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 20 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 21 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 22 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 23 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 24 * SUCH DAMAGE. 25 * |
26 * $FreeBSD: head/lib/libvmmapi/vmmapi.h 256176 2013-10-09 03:56:07Z neel $ | 26 * $FreeBSD: head/lib/libvmmapi/vmmapi.h 258075 2013-11-12 22:51:03Z neel $ |
27 */ 28 29#ifndef _VMMAPI_H_ 30#define _VMMAPI_H_ 31 32struct vmctx; 33enum x2apic_state; 34 --- 27 unchanged lines hidden (view full) --- 62int vm_run(struct vmctx *ctx, int vcpu, uint64_t rip, 63 struct vm_exit *ret_vmexit); 64int vm_apicid2vcpu(struct vmctx *ctx, int apicid); 65int vm_inject_event(struct vmctx *ctx, int vcpu, enum vm_event_type type, 66 int vector); 67int vm_inject_event2(struct vmctx *ctx, int vcpu, enum vm_event_type type, 68 int vector, int error_code); 69int vm_lapic_irq(struct vmctx *ctx, int vcpu, int vector); | 27 */ 28 29#ifndef _VMMAPI_H_ 30#define _VMMAPI_H_ 31 32struct vmctx; 33enum x2apic_state; 34 --- 27 unchanged lines hidden (view full) --- 62int vm_run(struct vmctx *ctx, int vcpu, uint64_t rip, 63 struct vm_exit *ret_vmexit); 64int vm_apicid2vcpu(struct vmctx *ctx, int apicid); 65int vm_inject_event(struct vmctx *ctx, int vcpu, enum vm_event_type type, 66 int vector); 67int vm_inject_event2(struct vmctx *ctx, int vcpu, enum vm_event_type type, 68 int vector, int error_code); 69int vm_lapic_irq(struct vmctx *ctx, int vcpu, int vector); |
70int vm_ioapic_assert_irq(struct vmctx *ctx, int irq); 71int vm_ioapic_deassert_irq(struct vmctx *ctx, int irq); |
|
70int vm_inject_nmi(struct vmctx *ctx, int vcpu); 71int vm_capability_name2type(const char *capname); 72const char *vm_capability_type2name(int type); 73int vm_get_capability(struct vmctx *ctx, int vcpu, enum vm_cap_type cap, 74 int *retval); 75int vm_set_capability(struct vmctx *ctx, int vcpu, enum vm_cap_type cap, 76 int val); 77int vm_assign_pptdev(struct vmctx *ctx, int bus, int slot, int func); --- 29 unchanged lines hidden --- | 72int vm_inject_nmi(struct vmctx *ctx, int vcpu); 73int vm_capability_name2type(const char *capname); 74const char *vm_capability_type2name(int type); 75int vm_get_capability(struct vmctx *ctx, int vcpu, enum vm_cap_type cap, 76 int *retval); 77int vm_set_capability(struct vmctx *ctx, int vcpu, enum vm_cap_type cap, 78 int val); 79int vm_assign_pptdev(struct vmctx *ctx, int bus, int slot, int func); --- 29 unchanged lines hidden --- |