From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NZOuT-0000vu-Oa for qemu-devel@nongnu.org; Mon, 25 Jan 2010 08:23:17 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NZOuP-0000sN-Ua for qemu-devel@nongnu.org; Mon, 25 Jan 2010 08:23:17 -0500 Received: from [199.232.76.173] (port=42836 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NZOuP-0000s7-FJ for qemu-devel@nongnu.org; Mon, 25 Jan 2010 08:23:13 -0500 Received: from oxygen.pond.sub.org ([213.239.205.148]:60564) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1NZOuO-0003TK-Ma for qemu-devel@nongnu.org; Mon, 25 Jan 2010 08:23:12 -0500 Received: from blackfin.pond.sub.org (pD9E3A875.dip.t-dialin.net [217.227.168.117]) by oxygen.pond.sub.org (Postfix) with ESMTPA id 9A56F276D6B for ; Mon, 25 Jan 2010 14:22:56 +0100 (CET) From: Markus Armbruster Date: Mon, 25 Jan 2010 14:23:00 +0100 Message-Id: <1264425788-8245-1-git-send-email-armbru@redhat.com> Subject: [Qemu-devel] [PATCH v3 0/8] Convert migrate_set_speed, migrate_set_downtime to QObject List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org These conversions take a few extra steps, because do_migrate_set_speed() and do_migrate_set_downtime() interpret their string argument as floating-point number + optional unit suffix. This is quite inappropriate for QMP. v3: reject NaN and infinity in monitor (we shouldn't get them over QMP, because JSON doesn't support them) Bug fixes v2: Initial post v1: Never existed (I fat-fingered "PATCH v2" into my initial post) Markus Armbruster (8): monitor: Document argument type 'M' QDict: New qdict_get_double() monitor: New argument type 'b' monitor: Use argument type 'b' for migrate_set_speed monitor: convert do_migrate_set_speed() to QObject monitor: New argument type 'T' monitor: Use argument type 'T' for migrate_set_downtime monitor: convert do_migrate_set_downtime() to QObject migration.c | 38 +++++-------------------- migration.h | 5 ++- monitor.c | 81 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ qdict.c | 24 ++++++++++++++++ qdict.h | 1 + qemu-monitor.hx | 10 ++++--- 6 files changed, 123 insertions(+), 36 deletions(-)