aboutsummaryrefslogtreecommitdiff
path: root/hw
diff options
context:
space:
mode:
authoraliguori <aliguori@c046a42c-6fe2-441c-8c8c-71466251a162>2008-12-05 20:05:26 +0000
committeraliguori <aliguori@c046a42c-6fe2-441c-8c8c-71466251a162>2008-12-05 20:05:26 +0000
commitbf9298b90eee0b95cab11fc74790dcbddca4252e (patch)
tree5073e5a326855e8044de043bd882cc29759c4364 /hw
parenta38131b669253fe40eff41e17ab7d1df78adbcd8 (diff)
Make struct iovec universally available
Vectored IO APIs will require some sort of vector argument. It makes sense to use struct iovec and just define it globally for Windows. Signed-off-by: Anthony Liguori <aliguori@us.ibm.com> git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5889 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'hw')
-rw-r--r--hw/virtio.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/hw/virtio.h b/hw/virtio.h
index 0aa3b09c4f..83511e2cb0 100644
--- a/hw/virtio.h
+++ b/hw/virtio.h
@@ -17,15 +17,6 @@
#include "hw.h"
#include "pci.h"
-#ifdef _WIN32
-struct iovec {
- void *iov_base;
- size_t iov_len;
-};
-#else
-#include <sys/uio.h>
-#endif
-
/* from Linux's linux/virtio_config.h */
/* Status byte for guest to report progress, and synchronize features. */