diff options
Diffstat (limited to 'hw/virtio.h')
-rw-r--r-- | hw/virtio.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/hw/virtio.h b/hw/virtio.h index 0f9be7d106..15ad910768 100644 --- a/hw/virtio.h +++ b/hw/virtio.h @@ -15,6 +15,7 @@ #define _QEMU_VIRTIO_H #include "hw.h" +#include "net.h" #include "qdev.h" #include "sysemu.h" @@ -163,8 +164,10 @@ void virtio_bind_device(VirtIODevice *vdev, const VirtIOBindings *binding, /* Base devices. */ VirtIODevice *virtio_blk_init(DeviceState *dev, DriveInfo *dinfo); -VirtIODevice *virtio_net_init(DeviceState *dev); +VirtIODevice *virtio_net_init(DeviceState *dev, NICConf *conf); VirtIODevice *virtio_console_init(DeviceState *dev); VirtIODevice *virtio_balloon_init(DeviceState *dev); +void virtio_net_exit(VirtIODevice *vdev); + #endif |