From patchwork Tue Apr 2 21:45:15 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michael Roth X-Patchwork-Id: 233161 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 4AFBE2C016A for ; Wed, 3 Apr 2013 08:59:17 +1100 (EST) Received: from localhost ([::1]:44778 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UN9EZ-0001j7-HI for incoming@patchwork.ozlabs.org; Tue, 02 Apr 2013 17:59:15 -0400 Received: from eggs.gnu.org ([208.118.235.92]:36630) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UN96c-0007Af-Tl for qemu-devel@nongnu.org; Tue, 02 Apr 2013 17:51:03 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UN96X-0008WQ-C4 for qemu-devel@nongnu.org; Tue, 02 Apr 2013 17:51:02 -0400 Received: from mail-yh0-x22a.google.com ([2607:f8b0:4002:c01::22a]:44835) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UN96X-0008WJ-7a; Tue, 02 Apr 2013 17:50:57 -0400 Received: by mail-yh0-f42.google.com with SMTP id b12so140802yha.29 for ; Tue, 02 Apr 2013 14:50:56 -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=Y3Ht1tITpzhxZ24ms1Yxa5UAgFevH2Pv+yMM0mnXvy4=; b=jd5yJVP00tszdptMiE3zR00Sz0+Jnr2yXhlAvIOac9IXPbGCP1Rs11r3VQuCtAS9KA oSQ93QM0UnsTgSgKZX3hcLmoNE7NtYM7OJ089qS7wNO04iW5DjnrSXaDxWnn2K1lHJFW WeEEU7frgMIM4HglqA/q+UHV2tNvcpc7tI78t6JttIo9G+yFLljQo8ckwrU/lMSuOKtR Gh12C8h1PCZPm8xVqdmTuZoickoamQg5K2aF1pk2/TyDpmCPEIHz6gTHYb4x2onE/9f4 nAQpOt6Q0rZsgMeRcp1sgQxT2yXa7NO4IzOzMkG0HchmlHC+Va0CjS3AGG23zYslHUD2 tBZA== X-Received: by 10.236.106.9 with SMTP id l9mr17102750yhg.149.1364939456752; Tue, 02 Apr 2013 14:50:56 -0700 (PDT) Received: from localhost ([32.97.110.51]) by mx.google.com with ESMTPS id u80sm5810947yhj.5.2013.04.02.14.50.55 (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Tue, 02 Apr 2013 14:50:56 -0700 (PDT) From: Michael Roth To: qemu-devel@nongnu.org Date: Tue, 2 Apr 2013 16:45:15 -0500 Message-Id: <1364939142-30066-11-git-send-email-mdroth@linux.vnet.ibm.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1364939142-30066-1-git-send-email-mdroth@linux.vnet.ibm.com> References: <1364939142-30066-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:4002:c01::22a Cc: qemu-stable@nongnu.org Subject: [Qemu-devel] [PATCH 10/37] 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 (cherry picked from commit c5dcb6ae23a3ed7a01bae1cd75ce02abea31db5e) Signed-off-by: Michael Roth --- 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