virt-install-aarch64-machvirt.xml 1.02 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
<domain type="qemu">
  <name>foobar</name>
  <uuid>00000000-1111-2222-3333-444444444444</uuid>
  <memory>65536</memory>
  <currentMemory>65536</currentMemory>
  <vcpu>1</vcpu>
  <os>
    <type arch="aarch64" machine="virt">hvm</type>
    <kernel>/f19-arm.kernel</kernel>
    <initrd>/f19-arm.initrd</initrd>
    <cmdline>console=ttyAMA0,1234 rw root=/dev/vda3</cmdline>
  </os>
  <cpu mode="custom" match="exact">
    <model>cortex-a57</model>
  </cpu>
  <clock offset="utc"/>
  <devices>
    <emulator>/usr/bin/qemu-system-aarch64</emulator>
    <disk type="file" device="disk">
      <driver name="qemu" type="qcow2"/>
      <source file="/dev/default-pool/testvol1.img"/>
      <target dev="sda" bus="scsi"/>
    </disk>
24
    <controller type="usb" index="0" model="qemu-xhci" ports="8"/>
25 26 27 28 29 30 31 32 33
    <controller type="scsi" index="0" model="virtio-scsi"/>
    <interface type="bridge">
      <source bridge="eth0"/>
      <mac address="00:11:22:33:44:55"/>
      <model type="virtio"/>
    </interface>
    <console type="pty"/>
  </devices>
</domain>