From mboxrd@z Thu Jan 1 00:00:00 1970 From: Gui Jianfeng Subject: virsh dump blocking problem Date: Tue, 06 Apr 2010 09:35:09 +0800 Message-ID: <4BBA8FCD.20901@cn.fujitsu.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit To: kvm@vger.kernel.org Return-path: Received: from cn.fujitsu.com ([222.73.24.84]:55461 "EHLO song.cn.fujitsu.com" rhost-flags-OK-FAIL-OK-OK) by vger.kernel.org with ESMTP id S932113Ab0DFBfp (ORCPT ); Mon, 5 Apr 2010 21:35:45 -0400 Received: from tang.cn.fujitsu.com (tang.cn.fujitsu.com [10.167.250.3]) by song.cn.fujitsu.com (Postfix) with ESMTP id 3E8C4170117 for ; Tue, 6 Apr 2010 09:35:43 +0800 (CST) Received: from fnst.cn.fujitsu.com (tang.cn.fujitsu.com [127.0.0.1]) by tang.cn.fujitsu.com (8.14.3/8.13.1) with ESMTP id o361YF1K026409 for ; Tue, 6 Apr 2010 09:34:15 +0800 Received: from [127.0.0.1] (unknown [10.167.141.226]) by fnst.cn.fujitsu.com (Postfix) with ESMTPA id A46BFDC24F for ; Tue, 6 Apr 2010 09:38:23 +0800 (CST) Sender: kvm-owner@vger.kernel.org List-ID: Hi all, I'm not sure whether it's appropriate to post the problem here. I played with "virsh" under Fedora 12, and started a KVM fedora12 guest by "virsh start" command. The fedora12 guest is successfully started. Than I run the following command to dump the guest core: #virsh dump 1 mycoredump (domain id is 1) This command seemed blocking and not return. According to he strace output, virsh dump seems that it's blocking at poll() call. I think the following should be the call trace of virsh. cmdDump() -> virDomainCoreDump() -> remoteDomainCoreDump() -> call() -> remoteIO() -> remoteIOEventLoop() -> poll(fds, ARRAY_CARDINALITY(fds), -1) Any one encounters this problem also, any thoughts? Thanks Gui