From Fedora Project Wiki

(Update with latest instructions)
(tweak virt-install name)
Line 33: Line 33:
  
 
   sudo virt-install \
 
   sudo virt-install \
     --name aarch64-f22-url --ram 2048 --disk size=10 \
+
     --name aarch64-f22-cdrom --ram 2048 --disk size=10 \
 
     --os-variant fedora21 --arch aarch64 \
 
     --os-variant fedora21 --arch aarch64 \
 
     --cdrom /path/to/Fedora-Server-DVD-aarch64-22.iso
 
     --cdrom /path/to/Fedora-Server-DVD-aarch64-22.iso

Revision as of 20:50, 14 April 2015

Description

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

Setup

Install UEFI packages and configure libvirt

These steps are documented over here. Follow all the instructions under the 'setup' section: https://fedoraproject.org/wiki/QA:Testcase_Virtualization_UEFI#Setup

Install qemu-system-aarch64

Install qemu-system-aarch64 like: sudo dnf install qemu-system-aarch64

How to test

Install with virt-manager

Install with virt-install

virt-install should do the correct thing when you specify --arch aarch64. So do a typical --cdrom or --location install with the media referenced above, and ensure the install completes correctly.

CDROM example:

 sudo virt-install \
    --name aarch64-f22-cdrom --ram 2048 --disk size=10 \
    --os-variant fedora21 --arch aarch64 \
    --cdrom /path/to/Fedora-Server-DVD-aarch64-22.iso

Expected Results

Guest starts fine, seems usable.