Enable KVM on default OS (Debian 9)
#4
It works very well on the current Manjaro preview:
[Image: xbcgefjhdiw.png]
[Image: rtpycmqudkx.png]
Code:
#!/bin/bash
export QEMU_AUDIO_DRV=pa

sudo qemu-system-aarch64 \
-cpu host \
-enable-kvm \
-M virt-2.12 \
-smp 2 \
-m 1.5G \
-bios QEMU_EFI.fd \
-device ramfb \
-device ich9-usb-ehci1 \
-device usb-kbd \
-device usb-mouse \
-device usb-tablet \
-device usb-storage,drive=drivers \
-drive if=none,id=drivers,media=cdrom,file=virtio-win-0.1.173.iso \
-device virtio-blk,drive=system \
-drive if=none,id=system,format=qcow2,file=system.qcow2 \
-soundhw hda \
-device usb-ehci,id=ehci -device usb-host,bus=ehci.0,vendorid=0x0bda,productid=0x8153

I used a USB network card (realtek gigabit), virtio-net and e1000 caused bluescreens. 
KVM only works on the 2 BIG cores, not the 4 little cores. Linux currently can't handle that automatically and the scheduler has problems with it as well. 
For now, I just disable the 4 little cores at runtime using the /sys/devices/system/cpu/cpu{0-3}/online flags. 


Windows image was a 19030.1, for arm64. 
x86 emulation works well, it's quite fast.


Messages In This Thread
RE: Enable KVM on default OS (Debian 9) - by manawyrm - 11-22-2019, 04:37 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Debian on Pinebook Pro u974615 7 1,031 03-31-2024, 10:11 AM
Last Post: u974615
  Nethunter default password failed lamlarryyyy 0 352 11-23-2023, 02:48 AM
Last Post: lamlarryyyy
  install debian on pbp jsch 7 4,043 11-22-2023, 04:22 PM
Last Post: TRS-80
  How to mainline kernel on daniel thompson's debian installer? hellojack 14 7,431 09-07-2023, 09:38 PM
Last Post: Der Geist der Maschine
  Unable to install Debian Bullseye because of missing wifi firmware Pino64 7 4,064 07-15-2023, 02:58 PM
Last Post: u974615
Question Debian (Vanilla) no output on display after Kernel update (6.0.8-1) as365n4 1 1,279 12-09-2022, 12:43 PM
Last Post: as365n4
  Unsuccessful using danielt's unofficial Debian installer on the PBP joeDoe 2 2,341 12-09-2022, 05:04 AM
Last Post: ndp
  How can I install Debian? ImmyChan 1 2,047 10-19-2022, 03:09 AM
Last Post: alpopa
  when i close my laptop lid the screen doesn't turn on? (debian bullseye based) computerc 3 1,904 09-23-2022, 08:37 PM
Last Post: computerc
  Debian emmc installer db579 6 2,987 08-23-2022, 06:13 AM
Last Post: db579

Forum Jump:


Users browsing this thread: 1 Guest(s)