virtio/gpu: improve the error message for when Qemu is too old
initial import
Unik is a Go module for running Go programs as unikernels, without an underlying operating system. The included demo is a functional Gio GUI program that demonstrates the virtio GPU and tablet drivers.
dnf install edk2-ovmf
on Fedora)The build.sh
script takes a go
package or file list, builds the Go
program and a bootable FAT image with the bootloader and program. To
build the demo, run
$ ./build.sh ./cmd/demo
The qemu.sh
script runs the bootable image inside Qemu, with the
virtio GPU and tablet devices enabled. If everything goes well,
$ ./qemu.sh
should give you a functional GUI program with mouse support. There is not yet support for the keyboard input.