From 4b8f1c88e9de2ded754b12a967a93d395bed1245 Mon Sep 17 00:00:00 2001 From: "Michael S. Tsirkin" Date: Tue, 20 Mar 2012 14:31:38 +0200 Subject: kvm: allow arbitrarily sized mmio ioeventfd We use a 2 byte ioeventfd for virtio memory, add support for this. Signed-off-by: Michael S. Tsirkin Reviewed-by: Amos Kong Signed-off-by: Avi Kivity --- kvm.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'kvm.h') diff --git a/kvm.h b/kvm.h index 330f17b1db..9bdbdb020e 100644 --- a/kvm.h +++ b/kvm.h @@ -210,7 +210,8 @@ int kvm_physical_memory_addr_from_host(KVMState *s, void *ram_addr, #endif #endif -int kvm_set_ioeventfd_mmio_long(int fd, uint32_t adr, uint32_t val, bool assign); +int kvm_set_ioeventfd_mmio(int fd, uint32_t adr, uint32_t val, bool assign, + uint32_t size); int kvm_set_ioeventfd_pio_word(int fd, uint16_t adr, uint16_t val, bool assign); #endif -- cgit v1.2.3