[libvirt-users] aarch64 vm doesn't boots

daggs daggs at gmx.com
Thu Dec 26 08:00:58 UTC 2019


I'm trying to bring up a alpine rpi aarch64 image within kvm but I'm ended up with a stuck system, here is the xml:
<domain type='qemu'>
  <memory unit='KiB'>4194304</memory>
  <currentMemory unit='KiB'>4194304</currentMemory>
  <vcpu placement='static'>4</vcpu>
    <type arch='aarch64' machine='virt'>hvm</type>
    <gic version='2'/>
  <cpu mode='custom' match='exact'>
    <model fallback='allow'>cortex-a53</model>
  <clock offset='utc'/>
    <disk type='file' device='disk'>
      <driver name='qemu' type='qcow2'/>
      <source file='/home/dagg/alpine-rpi4.qcow2'/>
      <target dev='vda' bus='virtio'/>
      <boot order='2'/>
      <address type='virtio-mmio'/>
    <disk type='file' device='cdrom'>
      <driver name='qemu' type='raw'/>
      <source file='/home/dagg/alpine-virt-3.11.2-aarch64.iso'/>
      <target dev='sdb' bus='scsi'/>
      <boot order='1'/>
      <address type='drive' controller='0' bus='0' target='0' unit='1'/>
    <controller type='scsi' index='0' model='virtio-scsi'>
      <address type='virtio-mmio'/>
    <controller type='pci' index='0' model='pcie-root'/>
    <controller type='pci' index='1' model='dmi-to-pci-bridge'>
      <model name='i82801b11-bridge'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x0'/>
    <controller type='pci' index='2' model='pci-bridge'>
      <model name='pci-bridge'/>
      <target chassisNr='2'/>
      <address type='pci' domain='0x0000' bus='0x01' slot='0x01' function='0x0'/>
    <controller type='virtio-serial' index='0'>
      <address type='virtio-mmio'/>
    <interface type='network'>
      <mac address='52:54:00:e0:7a:7b'/>
      <source network='default'/>
      <model type='virtio'/>
      <address type='virtio-mmio'/>
    <serial type='pty'>
      <target port='0'/>
    <console type='pty'>
      <target type='serial' port='0'/>
    <console type='pty'>
      <target type='virtio' port='1'/>

generated using this cmd:
virt-install --cpu cortex-a53 --name alpine_rpi4_dev_machine --cdrom ./alpine-virt-3.11.2-aarch64.iso --disk path=alpine-rpi4.qcow2,size=8 --vcpus 4 --memory 2048 --os-type linux --arch aarch64

I've tried adding a vnc server and vga device but the screen stays black, qxl doesn't work.
I'm using ubuntu 16.04 with libvirt 1.3.1, if this is a version issue, I can upgrade to latest version.
what I'm I missing?



More information about the libvirt-users mailing list