From patchwork Tue Feb 5 16:22:11 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Markus Armbruster X-Patchwork-Id: 218308 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 548552C0099 for ; Wed, 6 Feb 2013 04:35:00 +1100 (EST) Received: from localhost ([::1]:56962 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U2lIb-0003be-Eu for incoming@patchwork.ozlabs.org; Tue, 05 Feb 2013 11:23:09 -0500 Received: from eggs.gnu.org ([208.118.235.92]:41927) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U2lHw-0002IL-Cz for qemu-devel@nongnu.org; Tue, 05 Feb 2013 11:22:38 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1U2lHp-0007zj-OD for qemu-devel@nongnu.org; Tue, 05 Feb 2013 11:22:28 -0500 Received: from oxygen.pond.sub.org ([2a01:4f8:121:10e4::3]:52238) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U2lHp-0007xu-Db for qemu-devel@nongnu.org; Tue, 05 Feb 2013 11:22:21 -0500 Received: from blackfin.pond.sub.org (p57B0FFFA.dip.t-dialin.net [87.176.255.250]) by oxygen.pond.sub.org (Postfix) with ESMTPA id A0666A4310; Tue, 5 Feb 2013 17:22:20 +0100 (CET) Received: by blackfin.pond.sub.org (Postfix, from userid 1000) id 5690F200B2; Tue, 5 Feb 2013 17:22:17 +0100 (CET) From: Markus Armbruster To: qemu-devel@nongnu.org Date: Tue, 5 Feb 2013 17:22:11 +0100 Message-Id: <1360081335-6594-9-git-send-email-armbru@redhat.com> X-Mailer: git-send-email 1.7.11.7 In-Reply-To: <1360081335-6594-1-git-send-email-armbru@redhat.com> References: <1360081335-6594-1-git-send-email-armbru@redhat.com> X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a01:4f8:121:10e4::3 Cc: lilei@linux.vnet.ibm.com, lcapitulino@redhat.com Subject: [Qemu-devel] [PATCH for-1.4 08/12] qemu-char: Drop undocumented chardev "memory" compatibility syntax 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 This is a new device, so there's no compatibility to maintain, and its use case isn't common enough to justify shorthand syntax. Signed-off-by: Markus Armbruster Reviewed-by: Eric Blake --- qemu-char.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/qemu-char.c b/qemu-char.c index 9460a9d..ab011c6 100644 --- a/qemu-char.c +++ b/qemu-char.c @@ -2883,11 +2883,6 @@ QemuOpts *qemu_chr_parse_compat(const char *label, const char *filename) qemu_opt_set(opts, "path", filename); return opts; } - if (strstart(filename, "memory", &p)) { - qemu_opt_set(opts, "backend", "memory"); - qemu_opt_set(opts, "maxcapacity", p); - return opts; - } if (strstart(filename, "file:", &p)) { qemu_opt_set(opts, "backend", "file"); qemu_opt_set(opts, "path", p);