Revision bb6834cf hw/virtio.h
b/hw/virtio.h | ||
---|---|---|
14 | 14 |
#ifndef _QEMU_VIRTIO_H |
15 | 15 |
#define _QEMU_VIRTIO_H |
16 | 16 |
|
17 |
#include <sys/uio.h> |
|
18 | 17 |
#include "hw.h" |
19 | 18 |
#include "pci.h" |
20 | 19 |
|
20 |
#ifdef _WIN32 |
|
21 |
struct iovec { |
|
22 |
void *iov_base; |
|
23 |
size_t iov_len; |
|
24 |
}; |
|
25 |
#else |
|
26 |
#include <sys/uio.h> |
|
27 |
#endif |
|
28 |
|
|
21 | 29 |
/* from Linux's linux/virtio_config.h */ |
22 | 30 |
|
23 | 31 |
/* Status byte for guest to report progress, and synchronize features. */ |
Also available in: Unified diff