diff options
author | Michael S. Tsirkin <mst@redhat.com> | 2012-03-20 14:31:38 +0200 |
---|---|---|
committer | Marcelo Tosatti <mtosatti@redhat.com> | 2012-04-12 19:01:41 -0300 |
commit | 4b8f1c88e9de2ded754b12a967a93d395bed1245 (patch) | |
tree | 1d868d3e0c6027c70b60771b29f50988c0ad1c52 /kvm.h | |
parent | 56b9ead234439317629054fa370c547c652ab09a (diff) | |
download | qemu-4b8f1c88e9de2ded754b12a967a93d395bed1245.tar.gz qemu-4b8f1c88e9de2ded754b12a967a93d395bed1245.tar.bz2 qemu-4b8f1c88e9de2ded754b12a967a93d395bed1245.zip |
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 <mst@redhat.com>
Reviewed-by: Amos Kong <akong@redhat.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'kvm.h')
-rw-r--r-- | kvm.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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 |