Message ID | 1458581313-19045-10-git-send-email-mdroth@linux.vnet.ibm.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
diff --git a/hw/misc/ivshmem.c b/hw/misc/ivshmem.c index f73f0c2..7d14222 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;