From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:60832) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XMhAE-0004A4-6J for qemu-devel@nongnu.org; Wed, 27 Aug 2014 13:37:52 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XMhA1-00036L-Hf for qemu-devel@nongnu.org; Wed, 27 Aug 2014 13:37:42 -0400 Received: from e39.co.us.ibm.com ([32.97.110.160]:45615) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XMhA1-000362-7i for qemu-devel@nongnu.org; Wed, 27 Aug 2014 13:37:29 -0400 Received: from /spool/local by e39.co.us.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Wed, 27 Aug 2014 11:37:28 -0600 From: Michael Roth Date: Wed, 27 Aug 2014 12:35:58 -0500 Message-Id: <1409160982-16389-2-git-send-email-mdroth@linux.vnet.ibm.com> In-Reply-To: <1409160982-16389-1-git-send-email-mdroth@linux.vnet.ibm.com> References: <1409160982-16389-1-git-send-email-mdroth@linux.vnet.ibm.com> Subject: [Qemu-devel] [PATCH 01/25] qmp: hide "hotplugged" device property from device-list-properties List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: qemu-stable@nongnu.org From: Stefan Hajnoczi The "hotplugged" device property was not reported before commit f4eb32b590bf58c1c67570775eb78beb09964fad ("qmp: show QOM properties in device-list-properties"). Fix this difference. Signed-off-by: Stefan Hajnoczi Reviewed-by: Eric Blake (cherry picked from commit 4115dd6527fbdf49dbd1eba24ad68e0fae1e305a) Signed-off-by: Michael Roth --- qmp.c | 1 + 1 file changed, 1 insertion(+) diff --git a/qmp.c b/qmp.c index 0d2553a..c6767c4 100644 --- a/qmp.c +++ b/qmp.c @@ -509,6 +509,7 @@ DevicePropertyInfoList *qmp_device_list_properties(const char *typename, if (strcmp(prop->name, "type") == 0 || strcmp(prop->name, "realized") == 0 || strcmp(prop->name, "hotpluggable") == 0 || + strcmp(prop->name, "hotplugged") == 0 || strcmp(prop->name, "parent_bus") == 0) { continue; } -- 1.9.1