All devices have been allocated as virtio, except serial.There are 6 cores on the RK3399, so 33% have been allocated to this VM.The Firefly-RK3399 has 4G, so I’ve allocated 25% to the VM.The machine type is “virt”, and cpu is “host” with “KVM” acceleration, everything should be running on the native ARM cores.None of those are included in the default rk3399 config. It also needs MACVTAP support for the efficient bridged networking. The host OS was compiled with KVM support and VFIO support previously ( cross-compiling the kernel). Graphical interface, framebuffer, input devices, USB.Using a small fraction, ~25%, of the host resources (cpu, memory).Access to the serial console to check boot and login if network config fails.Fast block io access to the whole disk image for an external USB raid.Boot from a raw disk image in the host filesystem.Fast network IO with a guest IP Address unique from the host.QEMU provides the system emulation for KVM, it can emulate a number of SoCs, but in this case I want a pure virtual machine.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |