[libvirt] [PATCH] lxc: new tty for container

Dave Leskovec dlesko at linux.vnet.ibm.com
Fri Jun 6 06:59:34 UTC 2008


The lxc driver xml parser treats the console element as input when it should be
output only.  This obviously causes problems when anything other than /dev/ptmx
is specified or when a container is shutdown and then restarted without
redefining it (so that the console field is reset).  This patch treats the
console element as output only and always creates a new device when starting a
container.  Also fixed up a string overflow when storing the device name.

Thanks!

-- 
Best Regards,
Dave Leskovec
IBM Linux Technology Center
Open Virtualization
-------------- next part --------------
A non-text attachment was scrubbed...
Name: new_tty.patch
Type: text/x-patch
Size: 1358 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20080605/9079ab64/attachment-0001.bin>


More information about the libvir-list mailing list