[pve-devel] [PATCH qemu-server 00/13] Initial arm support...

Wolfgang Bumiller w.bumiller at proxmox.com
Wed Oct 24 10:56:36 CEST 2018


There are still some things to note:

  - No ide support for now (you need to add ISOs as scsi drives)
  - Only works with uefi, needs Thomas' new edk2 package with AAVMF
  - Loads of stuff untested (hostpci passthrough on real hardware, USB
    pass through etc...)

Example:
  # qm create 100 \
    --name arm-debian-test \
    --arch arm64 \
    --bios ovmf \
    --boot dcn \
    --bootdisk scsi0 \
    --sockets 1
    --cores 4 \
    --memory 4096 \
    --efidisk0 local:1 \
    --net0 virtio,bridge=vmbr0 \
    --ostype l26 \
    --scsi0 local:32 \
    --scsi1 iso:iso/debian-9.5.0-arm64-netinst.iso,media=cdrom \
    --scsihw virtio-scsi-pci \
    --serial0 socket

Note that it'll use virtio-gpu for vga hardware which most installers
don't have support compiled into the kernel for, including the debian
installer, so you really want the `--serial0` option there. After
installation you should also be able to see graphics.

Running on physical hardware you currently want to append:
  --cpu=host

Wolfgang Bumiller (13):
  fix and simplify kvm_version()
  add 'arch' vm configuration
  create_vm: don't add vmgenid for ARM machines by default
  use AAVMF for arm
  use qemu-system-aarch64 for arm machines
  error when using vmgenid on arm
  move cpu option creation into separate sub
  use cortex-a57 as cpu for arm emulation for now...
  only use vhost-net for native kvm machines
  arm: use UART for serial0 instead of a separate device
  arm: always use virtio-gpu for arm
  arm: pci addressing, keyboard and ehci controller
  don't use amd64-specific cpu options on arm

 PVE/API2/Qemu.pm      |  14 +-
 PVE/QemuServer.pm     | 370 +++++++++++++++++++++++++++++++++-----------------
 PVE/QemuServer/PCI.pm |  16 ++-
 PVE/QemuServer/USB.pm |  11 +-
 4 files changed, 276 insertions(+), 135 deletions(-)

-- 
2.11.0





More information about the pve-devel mailing list