Re: [libvirt] [PATCH] qemu: report useful error failling to destroy domain gracefully

2013-05-17 Thread Guan Nan Ren
Yes, it belongs to system related error rather than libvirt operation related. - Original Message - From: "Daniel P. Berrange" To: "Guannan Ren" Cc: libvir-list@redhat.com Sent: Friday, May 17, 2013 6:14:56 PM Subject: Re: [libvirt] [PATCH] qemu: report usef

Re: [libvirt] [PATCH] qemu: report useful error failling to destroy domain gracefully

2013-05-17 Thread Daniel P. Berrange
On Fri, May 17, 2013 at 05:32:06PM +0800, Guannan Ren wrote: > Resolves:https://bugzilla.redhat.com/show_bug.cgi?id=927620 > > #kill -STOP `pidof qemu-kvm` > #virsh destroy $guest --graceful > error: Failed to destroy domain testVM > error: An error occurred, but the cause is unknown > > With

[libvirt] [PATCH] qemu: report useful error failling to destroy domain gracefully

2013-05-17 Thread Guannan Ren
Resolves:https://bugzilla.redhat.com/show_bug.cgi?id=927620 #kill -STOP `pidof qemu-kvm` #virsh destroy $guest --graceful error: Failed to destroy domain testVM error: An error occurred, but the cause is unknown With --graceful, SIGTERM always is emitted to kill driver process, but it won't s