vmmapi.h (262350) | vmmapi.h (267393) |
---|---|
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: stable/10/lib/libvmmapi/vmmapi.h 262350 2014-02-23 00:46:05Z jhb $ | 26 * $FreeBSD: stable/10/lib/libvmmapi/vmmapi.h 267393 2014-06-12 13:13:15Z jhb $ |
27 */ 28 29#ifndef _VMMAPI_H_ 30#define _VMMAPI_H_ 31 32struct vmctx; 33enum x2apic_state; 34 --- 32 unchanged lines hidden (view full) --- 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_lapic_local_irq(struct vmctx *ctx, int vcpu, int vector); 71int vm_lapic_msi(struct vmctx *ctx, uint64_t addr, uint64_t msg); 72int vm_ioapic_assert_irq(struct vmctx *ctx, int irq); 73int vm_ioapic_deassert_irq(struct vmctx *ctx, int irq); 74int vm_ioapic_pulse_irq(struct vmctx *ctx, int irq); | 27 */ 28 29#ifndef _VMMAPI_H_ 30#define _VMMAPI_H_ 31 32struct vmctx; 33enum x2apic_state; 34 --- 32 unchanged lines hidden (view full) --- 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_lapic_local_irq(struct vmctx *ctx, int vcpu, int vector); 71int vm_lapic_msi(struct vmctx *ctx, uint64_t addr, uint64_t msg); 72int vm_ioapic_assert_irq(struct vmctx *ctx, int irq); 73int vm_ioapic_deassert_irq(struct vmctx *ctx, int irq); 74int vm_ioapic_pulse_irq(struct vmctx *ctx, int irq); |
75int vm_ioapic_pincount(struct vmctx *ctx, int *pincount); |
|
75int vm_inject_nmi(struct vmctx *ctx, int vcpu); 76int vm_capability_name2type(const char *capname); 77const char *vm_capability_type2name(int type); 78int vm_get_capability(struct vmctx *ctx, int vcpu, enum vm_cap_type cap, 79 int *retval); 80int vm_set_capability(struct vmctx *ctx, int vcpu, enum vm_cap_type cap, 81 int val); 82int vm_assign_pptdev(struct vmctx *ctx, int bus, int slot, int func); --- 32 unchanged lines hidden --- | 76int vm_inject_nmi(struct vmctx *ctx, int vcpu); 77int vm_capability_name2type(const char *capname); 78const char *vm_capability_type2name(int type); 79int vm_get_capability(struct vmctx *ctx, int vcpu, enum vm_cap_type cap, 80 int *retval); 81int vm_set_capability(struct vmctx *ctx, int vcpu, enum vm_cap_type cap, 82 int val); 83int vm_assign_pptdev(struct vmctx *ctx, int bus, int slot, int func); --- 32 unchanged lines hidden --- |