Changes

Jump to: navigation, search

VMs+Emulation

1,884 bytes added, 18:33, 18 April 2010
no edit summary
<h2>Process</h2>
<h3>Installation</h3>
Arm Emulation
 
The chosen hypervisor to run Fedora-ARM under Fedora was QEMU. QEMU was chosen over other hypervisors as it is a well known emulator that supports ARM platforms.
 
Libvert
 
Libvirt is a virtualization management framework and is full of useful tools. Libvirt provides tools such as “virsh” virtualization shell, as well as the “virt-manager” GUI tool that manipulates the command-line virtual machine management tools.
 
Installing and starting the virtualization software
 
yum groupinstall virtualization
yum install qemu-system-arm
service libvirtd start
 
Installing the ARM root filesystem and XML
 
cd /var/lib/libvirt/images
wget http://ftp.linux.org.uk/pub/linux/arm/fedora/qemu/zImage-versatile-2.6.24-rc7.armv5tel \
http://cdot.senecac.on.ca/arm/arm1.xml \
http://cdot.senecac.on.ca/arm/arm1.img.gz
gunzip arm1.img.gz
restorecon *
virsh define arm1.xml
 
 
Booting the VM
 
Currently there seems to be an issue while running SELinux and Arm emulation under libvirt management. To bypass this problem, issue the command “setenforce 0”.
 
The virtual machine should now be bootable and can be accessed using the virt-manager tool located (Applications>System Tools>Virtual Machine Manager)
 
Or from the command line: virsh start arm1
 
Alternatively, you can access the graphical display using the virt-viewer command: virt-viewer arm1
 
 
Creating Additional ARM Virtual Machines
 
In order to create additional ARM virtual machines:
Make a new copy of the arm1.img file under a different name in /var/lib/libvirt/images
Edit the XML, making the following changes:
1. Change the UUID (you can use uuidgen to generate a new one)
2. Change the image filename (in the source tag in the devices section) to point to the new image file you just created.
Use virsh define nameOfXMLFile to define the new VM from the modified XML file
1
edit

Navigation menu