Message ID | 20130703154958.20767.2048.stgit@hds.com |
---|---|
State | New |
Headers | show
Return-Path: <qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [IPv6:2001:4830:134:3::11]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id 523552C0085 for <incoming@patchwork.ozlabs.org>; Thu, 4 Jul 2013 01:55:11 +1000 (EST) Received: from localhost ([::1]:49810 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org>) id 1UuPOf-00030k-5W for incoming@patchwork.ozlabs.org; Wed, 03 Jul 2013 11:55:09 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:60850) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <tomoki.sekiyama@hds.com>) id 1UuPK9-0004CW-9G for qemu-devel@nongnu.org; Wed, 03 Jul 2013 11:50:32 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <tomoki.sekiyama@hds.com>) id 1UuPK5-00063h-4J for qemu-devel@nongnu.org; Wed, 03 Jul 2013 11:50:29 -0400 Received: from usindpps05.hds.com ([207.126.252.18]:35039) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <tomoki.sekiyama@hds.com>) id 1UuPK4-00063H-WF for qemu-devel@nongnu.org; Wed, 03 Jul 2013 11:50:25 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=hds.com; h=subject : to : from : cc : date : message-id : in-reply-to : references : mime-version : content-type : content-transfer-encoding; s=mail1; bh=K/sWZmljxtylCsa2mOh1iSWlMo6z1kc294T8h8zqaEo=; b=eCnD4u3i3IQHWo9yhG/FRJ1GeNK7PjwTfq8aJehFRR0qHFlvwpQTtrMEfrV7wZTu9P6m Yx6qIO78YvK1Zhbk7/Qh1WO1wp964CtZkmNMrs50mpEC3ukFoa/oVP375SpSX09ypmlH VEsGHqf/Q2/7YaXjBYuJmedMbMk4JnmtCw2bWV2grOdCFV7iFZ3TDPUabEhTRxzlH9iy mMCR4Y/zEgRp1AudyFCHzPHKc+LjIUJ4qWFoVShL283ZwDV27kehcVcjM7tIVBbbKN9L w1tWAijBhedr2kWf1C+QsUDzxfU0KiBZRsmLxs4JliFpZFpBKuphqvaCUPYsoi4v0y2+ EQ== Received: from usindmail01.hds.com (usindmail03 [207.126.252.22]) by usindpps05.hds.com (8.14.5/8.14.5) with ESMTP id r63Fo0PY032736; Wed, 3 Jul 2013 11:50:00 -0400 Received: from hds.com (usindnetf5d-vlan47float.corp.hds.com [10.74.73.11]) by usindmail01.hds.com (8.14.1/8.14.1) with ESMTP id r63Fnwjd048686; Wed, 3 Jul 2013 11:49:59 -0400 (EDT) To: qemu-devel@nongnu.org From: Tomoki Sekiyama <tomoki.sekiyama@hds.com> Date: Wed, 03 Jul 2013 11:49:58 -0400 Message-ID: <20130703154958.20767.2048.stgit@hds.com> In-Reply-To: <20130703154903.20767.27940.stgit@hds.com> References: <20130703154903.20767.27940.stgit@hds.com> User-Agent: StGit/0.16 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-Proofpoint-SPF-Result: pass X-Proofpoint-SPF-Record: v=spf1 mx ip4:207.126.244.0/26 ip4:207.126.252.0/25 include:mktomail.com include:cloud.hds.com ~all X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.10.8794, 1.0.431, 0.0.0000 definitions=2013-07-03_09:2013-07-03, 2013-07-03, 1970-01-01 signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=outbound_policy score=0 kscore.is_bulkscore=4.17776924166446e-13 kscore.compositescore=0 circleOfTrustscore=0 compositescore=0.207753582200735 urlsuspect_oldscore=0.997706424038378 suspectscore=1 recipient_domain_to_sender_totalscore=0 phishscore=0 bulkscore=0 kscore.is_spamscore=0 recipient_to_sender_totalscore=0 recipient_domain_to_sender_domain_totalscore=349 rbsscore=0.207753582200735 spamscore=0 recipient_to_sender_domain_totalscore=0 urlsuspectscore=0.9 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=7.0.1-1305240000 definitions=main-1307030114 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x X-Received-From: 207.126.252.18 Cc: libaiqing@huawei.com, ghammer@redhat.com, stefanha@gmail.com, mdroth@linux.vnet.ibm.com, lcapitulino@redhat.com, vrozenfe@redhat.com, Paolo Bonzini <pbonzini@redhat.com>, seiji.aguchi@hds.com, Laszlo Ersek <lersek@redhat.com>, areis@redhat.com Subject: [Qemu-devel] [PATCH v5 11/11] QMP/qemu-ga-client: Make timeout longer for guest-fsfreeze-freeze command X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: <qemu-devel.nongnu.org> List-Unsubscribe: <https://lists.nongnu.org/mailman/options/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=unsubscribe> List-Archive: <http://lists.nongnu.org/archive/html/qemu-devel> List-Post: <mailto:qemu-devel@nongnu.org> List-Help: <mailto:qemu-devel-request@nongnu.org?subject=help> List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=subscribe> Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org |
diff --git a/QMP/qemu-ga-client b/QMP/qemu-ga-client index 46676c3..b5f7e7c 100755 --- a/QMP/qemu-ga-client +++ b/QMP/qemu-ga-client @@ -267,7 +267,9 @@ def main(address, cmd, args): print('Hint: qemu is not running?') sys.exit(1) - if cmd != 'ping': + if cmd == 'fsfreeze' and args[0] == 'freeze': + client.sync(60) + elif cmd != 'ping': client.sync() globals()['_cmd_' + cmd](client, args)