Browse Source

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>
Rusty Russell 10 năm trước cách đây
mục cha
commit
eb39f83372
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  1. 1 0
      tools/lguest/lguest.c

+ 1 - 0
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