summaryrefslogtreecommitdiffstats
path: root/tools/lguest
diff options
context:
space:
mode:
authorRusty Russell <rusty@rustcorp.com.au>2015-02-11 15:19:01 +1030
committerRusty Russell <rusty@rustcorp.com.au>2015-02-11 16:47:40 +1030
commiteb39f83372b45bebc8af59b34af5d35bb0defe53 (patch)
tree0d37d61ad87b49a404e75b4941b68b9a31b97309 /tools/lguest
parentebff01137acd21534fffaffcf35cd4a3681b95ae (diff)
downloadlinux-stable-eb39f83372b45bebc8af59b34af5d35bb0defe53.tar.gz
linux-stable-eb39f83372b45bebc8af59b34af5d35bb0defe53.tar.bz2
linux-stable-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 'tools/lguest')
-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