summaryrefslogtreecommitdiff
path: root/hw/virtio/vhost-backend.c
diff options
context:
space:
mode:
authorMarkus Armbruster <armbru@redhat.com>2016-06-22 19:11:19 +0200
committerMarkus Armbruster <armbru@redhat.com>2016-07-12 16:19:16 +0200
commita9c94277f07d19d3eb14f199c3e93491aa3eae0e (patch)
treefbacb9207afd71c3ad206a4099099d95b7824c16 /hw/virtio/vhost-backend.c
parentb35399bb4e9968296a12303b00f9f2066470e987 (diff)
downloadqemu-a9c94277f07d19d3eb14f199c3e93491aa3eae0e.tar.gz
Use #include "..." for our own headers, <...> for others
Tracked down with an ugly, brittle and probably buggy Perl script. Also move includes converted to <...> up so they get included before ours where that's obviously okay. Signed-off-by: Markus Armbruster <armbru@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com> Tested-by: Eric Blake <eblake@redhat.com> Reviewed-by: Richard Henderson <rth@twiddle.net>
Diffstat (limited to 'hw/virtio/vhost-backend.c')
-rw-r--r--hw/virtio/vhost-backend.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/hw/virtio/vhost-backend.c b/hw/virtio/vhost-backend.c
index d62372e597..7681f152f3 100644
--- a/hw/virtio/vhost-backend.c
+++ b/hw/virtio/vhost-backend.c
@@ -9,12 +9,11 @@
*/
#include "qemu/osdep.h"
+#include <linux/vhost.h>
+#include <sys/ioctl.h>
#include "hw/virtio/vhost.h"
#include "hw/virtio/vhost-backend.h"
#include "qemu/error-report.h"
-#include "linux/vhost.h"
-
-#include <sys/ioctl.h>
static int vhost_kernel_call(struct vhost_dev *dev, unsigned long int request,
void *arg)