title: QEMU Run ARM Ubuntu Unsupported Machine Type
body: <p>I am trying to run a basic virtual Ubuntu on an ARM machine.</p>
  
  <p>My QEMU command looks something like this:</p>
  
  <pre><code>$: qemu-system-aarch64 -machine virt-2.6 -machine type=virtual -kernel /home/projects/projects/transfer/jfrye/QemuTestImages/ubuntu-16.04.3-server-arm64.iso
  </code></pre>
  
  <p>However, I am getting an error:</p>
  
  <pre><code>qemu-system-aarch64: -machine virt-2.6: unsupported machine type
  </code></pre>
  
  <p>Now, I have listed the supported machine types for aarch64 and looked them up here:</p>
  
  <p><a href="https://wiki.qemu.org/Documentation/Platforms/ARM" rel="nofollow noreferrer">https://wiki.qemu.org/Documentation/Platforms/ARM</a></p>
  
  <pre><code>[jfrye@cserh4 ~]$ qemu-system-aarch64 -M help
  Supported machines are:
  akita                Sharp SL-C1000 (Akita) PDA (PXA270)
  arm-generic-fdt      ARM device tree driven machine model
  arm-generic-fdt-plnx ARM device tree driven machine model for PetaLinux Zynq
  borzoi               Sharp SL-C3100 (Borzoi) PDA (PXA270)
  canon-a1100          Canon PowerShot A1100 IS
  cheetah              Palm Tungsten|E aka. Cheetah PDA (OMAP310)
  collie               Sharp SL-5500 (Collie) PDA (SA-1110)
  connex               Gumstix Connex (PXA255)
  cubieboard           cubietech cubieboard
  highbank             Calxeda Highbank (ECX-1000)
  imx25-pdk            ARM i.MX25 PDK board (ARM926)
  integratorcp         ARM Integrator/CP (ARM926EJ-S)
  kzm                  ARM KZM Emulation Baseboard (ARM1136)
  lm3s6965evb          Stellaris LM3S6965EVB
  lm3s811evb           Stellaris LM3S811EVB
  mainstone            Mainstone II (PXA27x)
  midway               Calxeda Midway (ECX-2000)
  musicpal             Marvell 88w8618 / MusicPal (ARM926EJ-S)
  n800                 Nokia N800 tablet aka. RX-34 (OMAP2420)
  n810                 Nokia N810 tablet aka. RX-44 (OMAP2420)
  netduino2            Netduino 2 Machine
  none                 empty machine
  nuri                 Samsung NURI board (Exynos4210)
  palmetto-bmc         OpenPOWER Palmetto BMC
  raspi2               Raspberry Pi 2
  realview-eb          ARM RealView Emulation Baseboard (ARM926EJ-S)
  realview-eb-mpcore   ARM RealView Emulation Baseboard (ARM11MPCore)
  realview-pb-a8       ARM RealView Platform Baseboard for Cortex-A8
  realview-pbx-a9      ARM RealView Platform Baseboard Explore for Cortex-A9
  smdkc210             Samsung SMDKC210 board (Exynos4210)
  spitz                Sharp SL-C3000 (Spitz) PDA (PXA270)
  sx1                  Siemens SX1 (OMAP310) V2
  sx1-v1               Siemens SX1 (OMAP310) V1
  terrier              Sharp SL-C3200 (Terrier) PDA (PXA270)
  tosa                 Sharp SL-6000 (Tosa) PDA (PXA255)
  verdex               Gumstix Verdex (PXA270)
  versatileab          ARM Versatile/AB (ARM926EJ-S)
  versatilepb          ARM Versatile/PB (ARM926EJ-S)
  vexpress-a15         ARM Versatile Express for Cortex-A15
  vexpress-a9          ARM Versatile Express for Cortex-A9
  virt                 QEMU 2.6 ARM Virtual Machine (alias of virt-2.6)
  virt-2.6             QEMU 2.6 ARM Virtual Machine
  xilinx-zynq-a9       Xilinx Zynq Platform Baseboard for Cortex-A9
  xlnx-ep108           Xilinx ZynqMP EP108 board
  z2                   Zipit Z2 (PXA27x)
  </code></pre>
  
  <p>Why is virt-2.6 failing? I have successfully used arm-generic-fdt and supplied a device tree to test my Zynq.</p>