[vbox-dev] ARM virtualization

Gianfranco Costamagna costamagnagianfranco at yahoo.it
Sun Jun 28 07:05:00 GMT 2015


>Yes, that is what I was trying to use earlier tonight. But after years of using VirtualBox and the great GUI it has for setting things up correctly and launching >VMs, I found QEMU to be more difficult than I cared for.  In the end, I never did figure out tonight how to correctly start my ARM images with QEMU.
>
>This is why I decided to ask on the dev list if there were any plans on one day adding support for additional hardware architecture.  Not only would it be a great >tool for things like Raspberry Pi and Beagle Bone, but I imagine it could prove to be quite useful for people who want to work on phones and tablets.



In Debian/Ubuntu we have a sort of wrapper for it, because we usually test/build in clean environments.
the pbuilder arm tester uses it, and you can create one with:
pbuilder-dist DISTRO ARCH create
DISTRO can be sid, stretch, wily, vivid, trusty, lucid, jessie, wheezy and so on
ARCH can be armhf armel arm64 (or other, but you requested arm)

with "--debug-echo" you can see how qemu is called.

(in my environment:

pbuilder-dist sid armhf login --debug-echo

['sudo', 'HOME=/home/user', 'ARCHITECTURE=armhf', 'DISTRIBUTION=sid', 'ARCH=armhf', 'DIST=sid', 'DEB_BUILD_OPTIONS=', 'pbuilder', '--login', '--distribution', 'sid', '--buildresult', '/home/user/pbuilder/sid-armhf_result', '--basetgz', '/home/user/pbuilder/sid-armhf-base.tgz', '--mirror', 'http://ftp.debian.org/debian', '--debootstrapopts', '--keyring=/usr/share/keyrings/debian-archive-keyring.gpg', '--aptcache', '/home/user/pbuilder/aptcache/debian', '--components', 'main contrib non-free', '--debootstrapopts', '--arch=armhf', '--debootstrap', 'qemu-debootstrap']


HTH

Gianfranco




More information about the vbox-dev mailing list