[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: qemu status on ARM



On 13/12/13 12:43, Riku Voipio wrote:
On Tue, Dec 10, 2013 at 11:51:41PM +0000, Tim Fletcher wrote:

To use kvm, you need to pass -enable-kvm to qemu-system-arm command
line. For example, if you want to try prebuilt linaro guest image from:

https://snapshots.linaro.org/ubuntu/images/kvm/263

You would run the following command:

qemu-system-arm -smp 2 -m 1024 -cpu cortex-a15 -M vexpress-a15 \
	-kernel ./zImage -dtb ./vexpress-v2p-ca15-tc1.dtb \
	-append 'root=/dev/mmcblk0p2 rw rootwait mem=1024M console=ttyAMA0,38400n8' \
	-drive if=sd,cache=writeback,file=kvm.qcow2 \
	-nographic -enable-kvm

Thanks for the help Riku, I've got this work reliably now. The only thing I had to change was the network setup, I have openvswitch running on the Cubietruck (it makes things easier) so I had to add these lines:

-net tap,ifname=linaro-test,script=/root/bin/ovs-ifup,downscript=/root/bin/ovs-ifdown

and

-net nic,model=lan9118,id=linaro-test

The scripts just add and remove the ports from the internal vswitch.

--
Tim Fletcher <tim@night-shade.org.uk>


Reply to: