[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PULL 1/8] ivshmem: no need for opaque argument
From: |
marcandre . lureau |
Subject: |
[Qemu-devel] [PULL 1/8] ivshmem: no need for opaque argument |
Date: |
Tue, 2 Feb 2016 13:43:29 +0100 |
From: Marc-André Lureau <address@hidden>
Signed-off-by: Marc-André Lureau <address@hidden>
Reviewed-by: Markus Armbruster <address@hidden>
---
hw/misc/ivshmem.c | 4 ++--
1 file 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;
--
2.5.0
- [Qemu-devel] [PULL 0/8] Ivshmem patches, marcandre . lureau, 2016/02/02
- [Qemu-devel] [PULL 1/8] ivshmem: no need for opaque argument,
marcandre . lureau <=
- [Qemu-devel] [PULL 3/8] ivshmem-test: leak fixes, marcandre . lureau, 2016/02/02
- [Qemu-devel] [PULL 5/8] ivshmem-test: test both msi & irq cases, marcandre . lureau, 2016/02/02
- [Qemu-devel] [PULL 2/8] ivshmem: remove redundant assignment, fix crash with msi=off, marcandre . lureau, 2016/02/02
- [Qemu-devel] [PULL 4/8] libqos: remove some leaks, marcandre . lureau, 2016/02/02
- [Qemu-devel] [PULL 6/8] ivshmem: generalize ivshmem_setup_interrupts, marcandre . lureau, 2016/02/02
- [Qemu-devel] [PULL 7/8] ivshmem: use a single eventfd callback, get rid of CharDriver, marcandre . lureau, 2016/02/02
- [Qemu-devel] [PULL 8/8] char: remove qemu_chr_open_eventfd, marcandre . lureau, 2016/02/02
- Re: [Qemu-devel] [PULL 0/8] Ivshmem patches, Peter Maydell, 2016/02/02