From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=55458 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OR7T7-0004IK-Mp for qemu-devel@nongnu.org; Tue, 22 Jun 2010 13:41:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OR7T5-0000Yy-Or for qemu-devel@nongnu.org; Tue, 22 Jun 2010 13:41:04 -0400 Received: from mx1.redhat.com ([209.132.183.28]:18896) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OR7T5-0000Yd-IM for qemu-devel@nongnu.org; Tue, 22 Jun 2010 13:41:03 -0400 Received: from int-mx02.intmail.prod.int.phx2.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id o5MHf1w9026446 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Tue, 22 Jun 2010 13:41:02 -0400 From: Luiz Capitulino Date: Tue, 22 Jun 2010 14:40:38 -0300 Message-Id: <1277228451-7741-1-git-send-email-lcapitulino@redhat.com> Subject: [Qemu-devel] [PATCH v2 00/13]: QMP: Replace client argument checker List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: armbru@redhat.com Current QMP's client argument checker code is more complex than it should be and has a flaw: it ignores unknown arguments. This series solves both problems by introducing a new, simple and ultra-poweful argument checker. This wasn't trivial to get right due to the number of errors combinations, so review is very appreciated. changelog --------- v1 -> v2 - Introduce new iteration API and use it - Handle O-type correctly (I hope so) - Address several small issues found by Markus