From patchwork Fri Mar 1 17:53:40 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michael Roth X-Patchwork-Id: 224425 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id 766ED2C02FE for ; Sat, 2 Mar 2013 04:55:26 +1100 (EST) Received: from localhost ([::1]:59621 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UBUB2-00063g-Bx for incoming@patchwork.ozlabs.org; Fri, 01 Mar 2013 12:55:24 -0500 Received: from eggs.gnu.org ([208.118.235.92]:44814) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UBUAl-000602-TD for qemu-devel@nongnu.org; Fri, 01 Mar 2013 12:55:09 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UBUAk-0001VU-NA for qemu-devel@nongnu.org; Fri, 01 Mar 2013 12:55:07 -0500 Received: from mail-oa0-f54.google.com ([209.85.219.54]:54782) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UBUAk-0001Ui-JV; Fri, 01 Mar 2013 12:55:06 -0500 Received: by mail-oa0-f54.google.com with SMTP id n12so6088113oag.27 for ; Fri, 01 Mar 2013 09:55:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:sender:from:to:cc:subject:date:message-id:x-mailer; bh=s1ZHKBPH1DmmSqVy+EufFBB70g41yDyYTZ6lu3saMYM=; b=vu2WmMCJ4WYkBJfYAoV1cslDUxpAjXlSci58h2zQNmf/bEc2hxb0S7Spd3HjMNEejP /M0FTULXOG38ajhaUNJhMSvgSe8xw87MLfekzneuX9YME0ZQHu4zO3A6cHHvWbDfkJTG Y02n+62VypbyE5TAaI7DLtao6CpzrpSbPIVQMJl00wb+OE/F6VFn7PsiDJ8Uz+3KDZK1 /Qw0NuX3fADcCmVSL0nMKRUpBcGNo+DMXctBYYp021ndjWK9/hGmCaegJQlb5Ea7jud0 M9DGvFDERtvPBgMkr5u9v9hYFT8maoip+k2+HTLXRNnoLYphYn4DpPaBvWKtp9F/Coox NPBw== X-Received: by 10.60.11.35 with SMTP id n3mr9162308oeb.90.1362160505744; Fri, 01 Mar 2013 09:55:05 -0800 (PST) Received: from localhost ([32.97.110.59]) by mx.google.com with ESMTPS id i19sm18169426obf.0.2013.03.01.09.55.04 (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Fri, 01 Mar 2013 09:55:05 -0800 (PST) From: Michael Roth To: qemu-devel@nongnu.org Date: Fri, 1 Mar 2013 11:53:40 -0600 Message-Id: <1362160421-20637-1-git-send-email-mdroth@linux.vnet.ibm.com> X-Mailer: git-send-email 1.7.9.5 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy] X-Received-From: 209.85.219.54 Cc: qemu-stable@nongnu.org Subject: [Qemu-devel] [PATCH] qemu-ga: make guest-sync-delimited available during fsfreeze X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org We currently maintain a whitelist of commands that are safe during fsfreeze. During fsfreeze, we disable all commands that aren't part of that whitelist. guest-sync-delimited meets the criteria for being whitelisted, and is also required for qemu-ga clients that rely on guest-sync-delimited for re-syncing the channel after a timeout. Signed-off-by: Michael Roth Cc: qemu-stable@nongnu.org Reviewed-by: Eric Blake --- qga/main.c | 1 + 1 file changed, 1 insertion(+) diff --git a/qga/main.c b/qga/main.c index db281a5..ad75171 100644 --- a/qga/main.c +++ b/qga/main.c @@ -85,6 +85,7 @@ static const char *ga_freeze_whitelist[] = { "guest-ping", "guest-info", "guest-sync", + "guest-sync-delimited", "guest-fsfreeze-status", "guest-fsfreeze-thaw", NULL