4 #include "kvm/disk-image.h"
6 #define DEFAULT_KVM_DEV "/dev/kvm"
7 #define DEFAULT_CONSOLE "serial"
8 #define DEFAULT_NETWORK "user"
9 #define DEFAULT_HOST_ADDR "192.168.33.1"
10 #define DEFAULT_GUEST_ADDR "192.168.33.15"
11 #define DEFAULT_GUEST_MAC "02:15:15:15:15:15"
12 #define DEFAULT_HOST_MAC "02:01:01:01:01:01"
13 #define DEFAULT_SCRIPT "none"
14 #define DEFAULT_SANDBOX_FILENAME "guest/sandbox.sh"
16 #define MIN_RAM_SIZE_MB (64ULL)
17 #define MIN_RAM_SIZE_BYTE (MIN_RAM_SIZE_MB << MB_SHIFT)
20 struct disk_image_params disk_image[MAX_DISK_IMAGES];
29 const char *kernel_cmdline;
30 const char *kernel_filename;
31 const char *vmlinux_filename;
32 const char *initrd_filename;
33 const char *firmware_filename;
39 const char *guest_mac;
42 const char *guest_name;
44 const char *hugetlbfs_path;
45 const char *custom_rootfs_name;
46 const char *real_cmdline;
47 struct virtio_net_params *net_params;