diff options
author | Mark McLoughlin <markmc@redhat.com> | 2009-05-18 12:55:27 +0100 |
---|---|---|
committer | Mark McLoughlin <markmc@redhat.com> | 2009-06-09 11:38:49 +0100 |
commit | 463af5349a787160642f023dad10eaf0cb419fb7 (patch) | |
tree | 5e8bb3409816c956e473c9c81ab666038094a45e /hw/qdev.c | |
parent | 3471b757d0ca63a0e8188c4c96acd1c279a8c737 (diff) |
net: add fd_readv() handler to qemu_new_vlan_client() args
This, apparently, is the style we prefer - all VLANClientState
should be an argument to qemu_new_vlan_client().
Signed-off-by: Mark McLoughlin <markmc@redhat.com>
Diffstat (limited to 'hw/qdev.c')
-rw-r--r-- | hw/qdev.c | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -258,15 +258,16 @@ void qdev_connect_gpio_out(DeviceState * dev, int n, qemu_irq pin) } VLANClientState *qdev_get_vlan_client(DeviceState *dev, - IOReadHandler *fd_read, IOCanRWHandler *fd_can_read, + IOReadHandler *fd_read, + IOReadvHandler *fd_readv, NetCleanup *cleanup, void *opaque) { NICInfo *nd = dev->nd; assert(nd); - return qemu_new_vlan_client(nd->vlan, nd->model, nd->name, - fd_read, fd_can_read, cleanup, opaque); + return qemu_new_vlan_client(nd->vlan, nd->model, nd->name, fd_can_read, + fd_read, fd_readv, cleanup, opaque); } |