Re: [libvirt-users] lxc: Add /dev/tty to lxcContainerPopulateDevices() ?

2012-05-17 Thread Sukadev Bhattiprolu
Daniel P. Berrange [berra...@redhat.com] wrote: | On Wed, May 16, 2012 at 03:44:19PM -0700, Sukadev Bhattiprolu wrote: | | No, we can't just pass in the host's /dev/tty device to the | container. We need to virtualize it, but this is not really | very easy todo if we need to take

[libvirt-users] lxc: Add /dev/tty to lxcContainerPopulateDevices() ?

2012-05-16 Thread Sukadev Bhattiprolu
Hi, src/lxc/lxc_container.c:lxcContainerPopulateDevices() has this table of devices that are automatically created when an lxc container is started. const struct { int maj; int min; mode_t mode; const char *path; } devs[] = { { LXC_DEV_MAJ_MEMORY, L

Re: [libvirt-users] Console to RHEL6.1 container

2012-05-01 Thread Sukadev Bhattiprolu
Sukadev Bhattiprolu [suka...@linux.vnet.ibm.com] wrote: | Back to the newinstance case, by putting some debug messages in the | container's /etc/rc.sysinit, I see that devpts is already mounted | with newinstance. | | With lxc, in setup_pts(), we unmount devpts in the container and then |

[libvirt-users] Console to RHEL6.1 container

2012-04-12 Thread Sukadev Bhattiprolu
We are trying to create RHEL6.1 container and having trouble getting a proper console to the container. I have used lxc containers in the past and lxc has a script (lxc-fedora) to setup a basic Fedora container. Is there something similar or docs with virtmgr ? We started out making a copy of