Revision 97b15621 hw/virtio.h
b/hw/virtio.h | ||
---|---|---|
15 | 15 |
#define _QEMU_VIRTIO_H |
16 | 16 |
|
17 | 17 |
#include "hw.h" |
18 |
#include "net.h" |
|
18 | 19 |
#include "qdev.h" |
19 | 20 |
#include "sysemu.h" |
20 | 21 |
|
... | ... | |
163 | 164 |
|
164 | 165 |
/* Base devices. */ |
165 | 166 |
VirtIODevice *virtio_blk_init(DeviceState *dev, DriveInfo *dinfo); |
166 |
VirtIODevice *virtio_net_init(DeviceState *dev); |
|
167 |
VirtIODevice *virtio_net_init(DeviceState *dev, NICConf *conf);
|
|
167 | 168 |
VirtIODevice *virtio_console_init(DeviceState *dev); |
168 | 169 |
VirtIODevice *virtio_balloon_init(DeviceState *dev); |
169 | 170 |
|
171 |
void virtio_net_exit(VirtIODevice *vdev); |
|
172 |
|
|
170 | 173 |
#endif |
Also available in: Unified diff