2 * Internal definitions for a target's KVM support
4 * This work is licensed under the terms of the GNU GPL, version 2 or later.
5 * See the COPYING file in the top-level directory.
10 #define QEMU_KVM_INT_H
12 #include "sysemu/sysemu.h"
13 #include "sysemu/accel.h"
14 #include "sysemu/kvm.h"
16 typedef struct KVMSlot
19 ram_addr_t memory_size
;
26 typedef struct KVMMemoryListener
{
27 MemoryListener listener
;
32 #define TYPE_KVM_ACCEL ACCEL_CLASS_NAME("kvm")
34 #define KVM_STATE(obj) \
35 OBJECT_CHECK(KVMState, (obj), TYPE_KVM_ACCEL)
37 void kvm_memory_listener_register(KVMState
*s
, KVMMemoryListener
*kml
,
38 AddressSpace
*as
, int as_id
);