1 --- linux-4.12/tools/lguest/lguest.c.orig 2017-07-03 01:07:02.000000000 +0200
2 +++ linux-4.12/tools/lguest/lguest.c 2017-07-13 17:27:08.446483634 +0200
4 #include <linux/virtio_ring.h>
5 #include "../../include/uapi/linux/virtio_pci.h"
6 #include <asm/bootparam.h>
8 #include "../../include/linux/lguest_launcher.h"
10 #define BRIDGE_PFX "bridge:"
12 * simple, single region.
14 boot->e820_entries = 1;
15 - boot->e820_table[0] = ((struct e820_entry) { 0, mem, E820_TYPE_RAM });
16 + boot->e820_table[0] = ((struct boot_e820_entry) { 0, mem, E820_RAM });
18 * The boot header contains a command line pointer: we put the command
19 * line after the boot header.