From patchwork Tue Mar 12 00:53:14 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michael Roth X-Patchwork-Id: 226734 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 4DE182C02AF for ; Tue, 12 Mar 2013 11:57:28 +1100 (EST) Received: from localhost ([::1]:39361 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UFDWw-00084s-Km for incoming@patchwork.ozlabs.org; Mon, 11 Mar 2013 20:57:26 -0400 Received: from eggs.gnu.org ([208.118.235.92]:42733) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UFDV0-0005Mo-7k for qemu-devel@nongnu.org; Mon, 11 Mar 2013 20:55:27 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UFDUx-0000a7-CA for qemu-devel@nongnu.org; Mon, 11 Mar 2013 20:55:26 -0400 Received: from mail-ob0-x22a.google.com ([2607:f8b0:4003:c01::22a]:35683) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UFDUx-0000Zs-7U for qemu-devel@nongnu.org; Mon, 11 Mar 2013 20:55:23 -0400 Received: by mail-ob0-f170.google.com with SMTP id wc20so3998581obb.1 for ; Mon, 11 Mar 2013 17:55:22 -0700 (PDT) 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 :in-reply-to:references; bh=/RQVdYz8/tzgqrOKbkCsBZp+cWvrjPQ5qTEGp+A9/so=; b=Tqs+8G5PSYa/M8pUF6NDdFuyMn3xYpGezOJAZYLeojGa0RiHtYcb9Rq3XW2OM2jNKy /w8Rh+uCA7RYICdp7bfgwlT/v3tmGiNfBlTOECaDqfxPvn6rRVvtEJeWhg00pNIaIFmu CI3fleYCZYDpLbxsYstJPzsDLYG+oxr7C4wNBDtcjekMQf25munvpe/w9PKrTX4u4dQn 8vCKe5R9jWFAAALLXowmcDdXjuvMc8U0YS8H128jGtFJku8iNA9M4hK9yhM96MVu2bR3 5q5HAOyvq+eePY4V7Te4l9j8xwuDkFe3N4vZjaaU99qo/OMZu1JA4jlusdqVr9d5Y4sj A9Aw== X-Received: by 10.60.1.34 with SMTP id 2mr10430692oej.47.1363049722603; Mon, 11 Mar 2013 17:55:22 -0700 (PDT) Received: from localhost ([32.97.110.51]) by mx.google.com with ESMTPS id d10sm19462771obk.1.2013.03.11.17.55.21 (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Mon, 11 Mar 2013 17:55:22 -0700 (PDT) From: Michael Roth To: qemu-devel@nongnu.org Date: Mon, 11 Mar 2013 19:53:14 -0500 Message-Id: <1363049600-29456-4-git-send-email-mdroth@linux.vnet.ibm.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1363049600-29456-1-git-send-email-mdroth@linux.vnet.ibm.com> References: <1363049600-29456-1-git-send-email-mdroth@linux.vnet.ibm.com> X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2607:f8b0:4003:c01::22a Cc: aliguori@us.ibm.com, lersek@redhat.com, lilei@linux.vnet.ibm.com, stefanha@redhat.com Subject: [Qemu-devel] [PATCH 3/9] 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