@hui.wang - I tested the compiled kernel on my RaspberryPi4 (4GB RAM
model). Both KVM and external SSD/USB (in my case Samsung T5, 500GB
external SSD) on the USB 3.0 port are working fine.

root@cloudstack-mgmt:~# ls /dev/kvm
/dev/kvm
root@cloudstack-mgmt:~# kvm-ok
INFO: /dev/kvm exists
KVM acceleration can be used

Further description of how KVM was tested is here along with Apache CloudStack 
(an IaaS platform):
https://github.com/rhtyd/rhtyd.github.io/blob/master/_drafts/2019-10-22-cloudstack-rpi4-kvm.markdown

Tested using guest templates Debian 9 and Debian 10, both arm64 -
http://dl.rohityadav.cloud/cloudstack-rpi/template/

Tested/issues:
- Only scsi seems to be the working disk controller (ide is not supported, 
virtio may/may not work) - when testing with linux guests. Workaround: use scsi 
by default.
- Plugging in usb devices without an explicit controller added first, fails (on 
x86_64 systems, controller seems to be already added when usb devices like 
keyboard/mouse etc are added). Workaround: add a usb controller and then add 
the usb devices - keyboard, mouse, tablet.

I've attached some screenshots of a guest VM running on the RPi4 device
using CloudStack.

** Attachment added: "Screenshot from 2019-10-23 18-22-59.png"
   
https://bugs.launchpad.net/ubuntu/+source/linux-raspi2/+bug/1783961/+attachment/5299489/+files/Screenshot%20from%202019-10-23%2018-22-59.png

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1783961

Title:
  CONFIG_KVM is disabled for linux-raspi2 (aarch64)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux-raspi2/+bug/1783961/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to