[libvirt-users] configuring a lxc guest to run 32bits from a 64bits host under libvirt-lxc

Daniel P. Berrange berrange at redhat.com
Wed Jul 2 09:29:07 UTC 2014


On Wed, Jul 02, 2014 at 12:56:18AM +0200, Thierry Parmentelat wrote:
> Hi again
> 
> Answering my own e-mail on a few points:
> 
> . first off, stupid me, http://libvirt.org/format.html indeed is empty and it seems to be by design, but the subtrees are not, like e.g.
> http://libvirt.org/formatdomain.html
> 
> . from this page it seems like using something like
>   <os>
>     <type arch='i686'>exe</type>
>     <init>/sbin/init</init>
>   </os>
> in the guest XML config should do the trick

Yes, setting arch='i686' should force the container to have a 32-bit
personality on x64_64. Likewise for ppc vs ppc64, s390 vs s390x, etc

Regards,
Daniel
-- 
|: http://berrange.com      -o-    http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org              -o-             http://virt-manager.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org       -o-       http://live.gnome.org/gtk-vnc :|




More information about the libvirt-users mailing list