diff options
author | Marc-André Lureau <marcandre.lureau@redhat.com> | 2015-12-18 12:20:51 +0100 |
---|---|---|
committer | Timothy Pearson <tpearson@raptorengineering.com> | 2019-11-29 19:30:22 -0600 |
commit | 94a264a846bc0f936be76e1d74b3977df7d98619 (patch) | |
tree | e2acb80a5b9cb9f39f6a51651a0efac48e4b7c3d /hw/misc | |
parent | 910b742ae11976c6e3c1e2bf16d67844961158ff (diff) | |
download | hqemu-94a264a846bc0f936be76e1d74b3977df7d98619.zip hqemu-94a264a846bc0f936be76e1d74b3977df7d98619.tar.gz |
ivshmem: no need for opaque argument
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Diffstat (limited to 'hw/misc')
-rw-r--r-- | hw/misc/ivshmem.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/misc/ivshmem.c b/hw/misc/ivshmem.c index d5c89ae..358df24 100644 --- a/hw/misc/ivshmem.c +++ b/hw/misc/ivshmem.c @@ -350,11 +350,11 @@ static void ivshmem_vector_poll(PCIDevice *dev, } } -static CharDriverState* create_eventfd_chr_device(void * opaque, EventNotifier *n, +static CharDriverState* create_eventfd_chr_device(IVShmemState *s, + EventNotifier *n, int vector) { /* create a event character device based on the passed eventfd */ - IVShmemState *s = opaque; PCIDevice *pdev = PCI_DEVICE(s); int eventfd = event_notifier_get_fd(n); CharDriverState *chr; |