Re: [PATCH 4/5] kvm tools: Add 'kvm list' command

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, 2011-07-03 at 21:09 +0300, Pekka Enberg wrote:
> On Sun, 3 Jul 2011, Sasha Levin wrote:
> > Use 'kvm list' to list running virtual guest.
> >
> > Signed-off-by: Sasha Levin <levinsasha928@xxxxxxxxx>
> 
> The pidfiles don't seem to get cleaned after guests exit. I ran 'make 
> check' a few times and I now see this:
> 
> penberg@tiger:~/linux/tools/kvm$ ./kvm list
> guest-6121 (PID: 6121)
> guest-6184 (PID: 6184)
> guest-6035 (PID: 6035)
> penberg@tiger:~/linux/tools/kvm$ ps -eaf|grep kvm
> root        27     2  0 21:06 ?        00:00:00 [kvm-irqfd-clean]
> penberg   6204  5502  0 21:08 pts/1    00:00:00 grep --color=auto kvm
> 

Looks like it's the result of exiting the kernel test without properly
freeing everything.

Is there a nice way to handle the pids when exiting with exit() or
die()?

-- 

Sasha.

--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux