summaryrefslogtreecommitdiffstats
path: root/hw
diff options
context:
space:
mode:
authorMarkus Armbruster <armbru@redhat.com>2016-03-15 19:34:29 +0100
committerTimothy Pearson <tpearson@raptorengineering.com>2019-11-29 19:49:39 -0600
commitb0211017e484d8f4b6b411d8fdee0acd9b70f79a (patch)
tree753f42d5aec9876709e27b77ebfb3789a37ac2a8 /hw
parent8a5209df8b3e1569d53083991d8c8825ae01ebe4 (diff)
downloadhqemu-b0211017e484d8f4b6b411d8fdee0acd9b70f79a.zip
hqemu-b0211017e484d8f4b6b411d8fdee0acd9b70f79a.tar.gz
ivshmem: Drop ivshmem_event() stub
Signed-off-by: Markus Armbruster <armbru@redhat.com> Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com> Message-Id: <1458066895-20632-15-git-send-email-armbru@redhat.com>
Diffstat (limited to 'hw')
-rw-r--r--hw/misc/ivshmem.c9
1 files changed, 2 insertions, 7 deletions
diff --git a/hw/misc/ivshmem.c b/hw/misc/ivshmem.c
index 9ea79ab..8356399 100644
--- a/hw/misc/ivshmem.c
+++ b/hw/misc/ivshmem.c
@@ -267,11 +267,6 @@ static int ivshmem_can_receive(void * opaque)
return sizeof(int64_t);
}
-static void ivshmem_event(void *opaque, int event)
-{
- IVSHMEM_DPRINTF("ivshmem_event %d\n", event);
-}
-
static void ivshmem_vector_notify(void *opaque)
{
MSIVector *entry = opaque;
@@ -720,7 +715,7 @@ static void ivshmem_check_version(void *opaque, const uint8_t * buf, int size)
IVSHMEM_DPRINTF("version check ok, switch to real chardev handler\n");
qemu_chr_add_handlers(s->server_chr, ivshmem_can_receive, ivshmem_read,
- ivshmem_event, s);
+ NULL, s);
}
/* Select the MSI-X vectors used by device.
@@ -942,7 +937,7 @@ static void pci_ivshmem_realize(PCIDevice *dev, Error **errp)
pci_register_bar(dev, 2, attr, &s->bar);
qemu_chr_add_handlers(s->server_chr, ivshmem_can_receive,
- ivshmem_check_version, ivshmem_event, s);
+ ivshmem_check_version, NULL, s);
} else {
/* just map the file immediately, we're not using a server */
int fd;
OpenPOWER on IntegriCloud