lguest: define VIRTIO_CONFIG_NO_LEGACY in example launcher.
authorRusty Russell <rusty@rustcorp.com.au>
Wed, 11 Feb 2015 04:49:01 +0000 (15:19 +1030)
committerRusty Russell <rusty@rustcorp.com.au>
Wed, 11 Feb 2015 06:17:40 +0000 (16:47 +1030)
We only support virtio 1.0 now

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
tools/lguest/lguest.c

index fadd572..663166a 100644 (file)
@@ -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