mirror of https://gitee.com/openkylin/qemu.git
ivshmem: no need for opaque argument
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Reviewed-by: Markus Armbruster <armbru@redhat.com>
This commit is contained in:
parent
10ae9d7638
commit
2c64846972
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue