Re: [libvirt] [PATCH] virsh: Free stream when shutdown console

2011-03-14 Thread Osier Yang
于 2011年03月11日 23:19, Eric Blake 写道: > On 03/11/2011 06:56 AM, Osier Yang wrote: >> Otherwise connection of hypervisor driver will be leaked when >> one shutdown the guest in console. e.g. >> >> [root@localhost]# init 0 >> .. >> init: Re-executing /sbin/init >> Halting system... >> Power down. >

Re: [libvirt] [PATCH] virsh: Free stream when shutdown console

2011-03-11 Thread Eric Blake
On 03/11/2011 06:56 AM, Osier Yang wrote: > Otherwise connection of hypervisor driver will be leaked when > one shutdown the guest in console. e.g. > > [root@localhost]# init 0 > .. > init: Re-executing /sbin/init > Halting system... > Power down. > > error: Failed to disconnect from the hype

[libvirt] [PATCH] virsh: Free stream when shutdown console

2011-03-11 Thread Osier Yang
Otherwise connection of hypervisor driver will be leaked when one shutdown the guest in console. e.g. [root@localhost]# init 0 .. init: Re-executing /sbin/init Halting system... Power down. error: Failed to disconnect from the hypervisor, 1 leaked reference(s) --- tools/console.c |2 ++