I'm quite sure virtme requires at least
CONFIG_BLK_DEV_INITRD
Needed for the initrd to work at all. Otherwise only non-initrd stuff works. (shell)
CONFIG_INOTIFY_USER
Needed for proper udev /dev/virtio-port mounting. Without this you'll see error:
virtme-init: cannot find script I/O port; make sure virtio-serial is available
CONFIG_ACPI
Needed for shutdown to actually close the vm. otherwise it hangs on message reboot: System halted
On top of the already documented ones. This should probably be added to virtme/configkernel.
I did:
rm .config
make tinyconfig
make kvmconfig
./scripts/config \
-e EARLY_PRINTK \
-e 64BIT \
-e BPF -d EMBEDDED -d EXPERT \
-e INOTIFY_USER \
-e ACPI
./scripts/config \
-e VIRTIO -e VIRTIO_PCI -e VIRTIO_MMIO \
-e NET -e NET_CORE -e NETDEVICES -e NETWORK_FILESYSTEMS \
-e INET -e NET_9P -e NET_9P_VIRTIO -e 9P_FS \
-e VIRTIO_NET -e VIRTIO_CONSOLE \
-e DEVTMPFS -e SCSI_VIRTIO -e BINFMT_SCRIPT -e TMPFS \
-e UNIX -e TTY -e VT -e UNIX98_PTYS -e WATCHDOG -e WATCHDOG_CORE \
-e I6300ESB_WDT \
-e BLOCK -e SCSI_LOWLEVEL -e SCSI -e SCSI_VIRTIO \
-e BLK_DEV_SD -e BLK_DEV_INITRD \
-e VIRTIO_BALLOON \
-d CMDLINE_OVERRIDE \
-d UEVENT_HELPER \
-d EMBEDDED -d EXPERT \
-d MODULE_SIG_FORCE
make olddefconfig
make bzImage
I'm quite sure virtme requires at least
CONFIG_BLK_DEV_INITRD
Needed for the initrd to work at all. Otherwise only non-initrd stuff works. (shell)
CONFIG_INOTIFY_USER
Needed for proper udev /dev/virtio-port mounting. Without this you'll see error:
virtme-init: cannot find script I/O port; make sure virtio-serial is availableCONFIG_ACPI
Needed for shutdown to actually close the vm. otherwise it hangs on message
reboot: System haltedOn top of the already documented ones. This should probably be added to virtme/configkernel.
I did: