From patchwork Wed Feb 6 20:27:22 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Markus Armbruster X-Patchwork-Id: 218751 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 500BA2C02E9 for ; Thu, 7 Feb 2013 08:06:42 +1100 (EST) Received: from localhost ([::1]:51770 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U3Bby-0007wu-7n for incoming@patchwork.ozlabs.org; Wed, 06 Feb 2013 15:28:54 -0500 Received: from eggs.gnu.org ([208.118.235.92]:46508) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U3Bag-00071j-8Z for qemu-devel@nongnu.org; Wed, 06 Feb 2013 15:27:42 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1U3Bab-00053M-Py for qemu-devel@nongnu.org; Wed, 06 Feb 2013 15:27:34 -0500 Received: from oxygen.pond.sub.org ([2a01:4f8:121:10e4::3]:59086) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U3Bab-00052V-GA for qemu-devel@nongnu.org; Wed, 06 Feb 2013 15:27:29 -0500 Received: from blackfin.pond.sub.org (p5B32B9A6.dip.t-dialin.net [91.50.185.166]) by oxygen.pond.sub.org (Postfix) with ESMTPA id 0D514A4310; Wed, 6 Feb 2013 21:27:27 +0100 (CET) Received: by blackfin.pond.sub.org (Postfix, from userid 1000) id AF166200B2; Wed, 6 Feb 2013 21:27:26 +0100 (CET) From: Markus Armbruster To: qemu-devel@nongnu.org Date: Wed, 6 Feb 2013 21:27:22 +0100 Message-Id: <1360182446-1502-10-git-send-email-armbru@redhat.com> X-Mailer: git-send-email 1.7.11.7 In-Reply-To: <1360182446-1502-1-git-send-email-armbru@redhat.com> References: <1360182446-1502-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 v2 09/13] 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 --- qemu-char.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/qemu-char.c b/qemu-char.c index 2f59a61..cdbbafe 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);