Re: [libvirt] [PATCH] Allow 32-on-64 execution for LXC guests

2011-02-23 Thread Eric Blake
On 02/23/2011 10:20 AM, Daniel P. Berrange wrote: > Using the 'personality(2)' system call, we can make a container > on an x86_64 host appear to be i686. Likewise for most other > Linux 64bit arches. > > * src/lxc/lxc_conf.c: Fill in 32bit capabilities for x86_64 hosts > * src/lxc/lxc_container.h

[libvirt] [PATCH] Allow 32-on-64 execution for LXC guests

2011-02-23 Thread Daniel P. Berrange
Using the 'personality(2)' system call, we can make a container on an x86_64 host appear to be i686. Likewise for most other Linux 64bit arches. * src/lxc/lxc_conf.c: Fill in 32bit capabilities for x86_64 hosts * src/lxc/lxc_container.h, src/lxc/lxc_container.c: Add API to check if an arch has a