Re: [lxc-users] Booting a Freebsd VM inside a container

2015-02-20 Thread Anjali Kulkarni
Cool thanks! On 2/20/15, 8:48 AM, "Serge Hallyn" wrote: >I've run kvm inside containers many times (mainly to test new qemu >packages from different releases). You just need to make sure to >create /dev/kvm in the container, give it the right ownership+perms, >perhaps create /dev/net/tun, and g

Re: [lxc-users] Booting a Freebsd VM inside a container

2015-02-20 Thread Serge Hallyn
I've run kvm inside containers many times (mainly to test new qemu packages from different releases). You just need to make sure to create /dev/kvm in the container, give it the right ownership+perms, perhaps create /dev/net/tun, and give the needed cgroup.devices access. -serge Quoting Anjali K

Re: [lxc-users] Booting a Freebsd VM inside a container

2015-02-20 Thread Anjali Kulkarni
There is a reason for it, but I can’t discuss that. There is enough reason, and I know you would need some funky stuff (access stuff on host) to get it working, but that’s what I was looking at to see if it is feasible or if anyone has done it. Anjali On 2/20/15, 5:37 AM, "Fajar A. Nugraha" wrot

Re: [lxc-users] Booting a Freebsd VM inside a container

2015-02-20 Thread Fajar A. Nugraha
On Fri, Feb 20, 2015 at 8:16 PM, Anjali Kulkarni wrote: > Thanks, so for networking to work, all you need to do is add the > networking links to the config file in /var/lib/lxc/ and then > networking should work in the VM as it would in a normal LXC. Not if by "VM" you mean a qemu instance. > Re

Re: [lxc-users] Booting a Freebsd VM inside a container

2015-02-20 Thread Anjali Kulkarni
Thanks, so for networking to work, all you need to do is add the networking links to the config file in /var/lib/lxc/ and then networking should work in the VM as it would in a normal LXC. Regarding the freebsd VM, I understand that the host OS has to be the same as a container OS, but what I am lo

Re: [lxc-users] Booting a Freebsd VM inside a container

2015-02-19 Thread Fajar A. Nugraha
On Fri, Feb 20, 2015 at 12:56 AM, Anjali Kulkarni wrote: > Hi, > > The following link mentions booting an Ubuntu VM inside a container: > (https://www.stgraber.org/2012/03/04/booting-an-ubuntu-12-04-virtual-machine-in-an-lxc-container/) > > However I had 2 qs > 1. If we do boot a VM inside the con

[lxc-users] Booting a Freebsd VM inside a container

2015-02-19 Thread Anjali Kulkarni
Hi, The following link mentions booting an Ubuntu VM inside a container: (https://www.stgraber.org/2012/03/04/booting-an-ubuntu-12-04-virtual-machine-in-an-lxc-container/) However I had 2 qs 1. If we do boot a VM inside the container as mentioned in the article, would it be of any use like a nor