summaryrefslogtreecommitdiffstats
path: root/tools/lguest/lguest.c
diff options
context:
space:
mode:
authorRusty Russell <rusty@rustcorp.com.au>2015-02-11 05:49:01 +0100
committerRusty Russell <rusty@rustcorp.com.au>2015-02-11 07:17:40 +0100
commiteb39f83372b45bebc8af59b34af5d35bb0defe53 (patch)
tree0d37d61ad87b49a404e75b4941b68b9a31b97309 /tools/lguest/lguest.c
parentlguest: Convert console device to virtio 1.0 PCI. (diff)
downloadlinux-eb39f83372b45bebc8af59b34af5d35bb0defe53.tar.xz
linux-eb39f83372b45bebc8af59b34af5d35bb0defe53.zip
lguest: define VIRTIO_CONFIG_NO_LEGACY in example launcher.
We only support virtio 1.0 now Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Diffstat (limited to '')
-rw-r--r--tools/lguest/lguest.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/lguest/lguest.c b/tools/lguest/lguest.c
index fadd5723ba57..663166aff1f5 100644
--- a/tools/lguest/lguest.c
+++ b/tools/lguest/lguest.c
@@ -63,6 +63,7 @@ typedef uint16_t u16;
typedef uint8_t u8;
/*:*/
+#define VIRTIO_CONFIG_NO_LEGACY
#define VIRTIO_PCI_NO_LEGACY
#define VIRTIO_BLK_NO_LEGACY