From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:54546) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ShCpA-0000Z9-5p for qemu-devel@nongnu.org; Wed, 20 Jun 2012 00:47:25 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ShCp8-0002um-J2 for qemu-devel@nongnu.org; Wed, 20 Jun 2012 00:47:23 -0400 Received: from mx1.redhat.com ([209.132.183.28]:53262) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ShCp8-0002uB-9C for qemu-devel@nongnu.org; Wed, 20 Jun 2012 00:47:22 -0400 From: Amos Kong Date: Wed, 20 Jun 2012 12:47:35 +0800 Message-Id: <1340167661-25499-1-git-send-email-akong@redhat.com> Subject: [Qemu-devel] [PATCH v3 0/6] convert sendkey to qapi List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: aliguori@us.ibm.com, eblake@redhat.com, berrange@redhat.com, lcapitulino@redhat.com, qemu-devel@nongnu.org Cc: Amos Kong This series converted 'sendkey' command to qapi. The raw value in hexadecimal format is not supported by 'sendkey' of qmp. Amos Kong (6): fix doc of using raw values with sendkey monitor: rename keyname '<' to 'less' hmp: rename arguments qapi: generate list struct and visit_list for enum qapi: convert sendkey ps2: output warning when event queue full hmp-commands.hx | 10 ++-- hmp.c | 45 ++++++++++++++++++++++ hmp.h | 1 + hw/ps2.c | 4 +- monitor.c | 99 +++++++++++++++++++++++-------------------------- monitor.h | 2 + qapi-schema.json | 45 ++++++++++++++++++++++ qmp-commands.hx | 27 +++++++++++++ scripts/qapi-types.py | 16 +++++++- scripts/qapi-visit.py | 14 ++++++- 10 files changed, 202 insertions(+), 61 deletions(-) --- Changes from v1: - using a JSON array for the key names - rename new error to 'QERR_OVERFLOW' - fix command descriptions - qapi: generate list struct for enum - add '<' fixing Changes from v2: - fix support of raw value in hexadecimal format - fix bug in processing of '<-x' - don't generate useless cleanup functions for enum - introduced two functions for enum in qapi scripts - fix command description - drop keys number limitation in sendkey - drop patch: qerror: add QERR_OVERFLOW