From Fedora Project Wiki

Revision as of 23:43, 22 September 2014 by Crobinso (talk | contribs) (Create test case)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Description

Run an AArch64 (ARM 64) disk image as a VM on your x86 machine.

Setup

Get the media

Note.png
Fedora AArch64 images are not yet supported
Fedora's AArch64 preview images expect to be run on UEFI, which is still under development for ARM/AArch64 virt usage

We will use some images from Linaro for this test:

How to test

Warning.png
This currently doesn't work
Libvirt chokes on the --cpu specification, which is needed for the VM to boot correctly. Bug or fix forthcoming

Import with virt-install

sudo virt-install \
     --name aarch64-vm --ram 1024 --import \
     --cpu cortex-a57 --arch aarch64 \
     --boot machine=virt,kernel=Image,extra_args="root=/dev/vda2 rw rootwait mem=1024M console=ttyAMA0" \
     --disk vexpress64-openembedded_lamp-armv8-gcc-4.9_20140727-682.img,bus=virtio \
     --network default,model=virtio

Expected Results

Guest starts fine, seems usable.