From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:50380) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cTEYu-0003Vy-8L for qemu-devel@nongnu.org; Mon, 16 Jan 2017 16:11:33 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cTEYt-00013p-AG for qemu-devel@nongnu.org; Mon, 16 Jan 2017 16:11:32 -0500 Received: from mx1.redhat.com ([209.132.183.28]:51576) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cTEYt-00013k-45 for qemu-devel@nongnu.org; Mon, 16 Jan 2017 16:11:31 -0500 From: Eduardo Habkost Date: Mon, 16 Jan 2017 19:11:20 -0200 Message-Id: <20170116211124.29245-1-ehabkost@redhat.com> Subject: [Qemu-devel] [PATCH v2 0/4] target-i386: Implement query-cpu-model-expansion List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Cornelia Huck , Christian Borntraeger , David Hildenbrand , libvir-list@redhat.com, Jiri Denemark , "Jason J. Herne" , Markus Armbruster , Richard Henderson , Igor Mammedov , Eric Blake This series implements query-cpu-model-expansion on target-i386. Changes v1 -> v2: ----------------- This version is highly simplified compared to v1. It contains only an implementation that will return a limited set of properties. I have a follow-up series that will expend type=full expansion to return every single QOM property, but this version will return the same data for type=static and type=full expansion for simplicity (except that type=static expansion will use the "base" CPU model as base). This means this version also won't include "pmu" and "host-cache-info" in full expansion, and won't require special code for those properties. The unit test code was also removed in this version, to keep the series simple and easier to review. Most of the patches on the previous series were changes just to make the test case work. I will send the test-case-related changes as a follow-up series. --- Cc: Cornelia Huck Cc: Christian Borntraeger Cc: David Hildenbrand Cc: libvir-list@redhat.com Cc: Jiri Denemark Cc: "Jason J. Herne" Cc: Markus Armbruster Cc: Richard Henderson Cc: Igor Mammedov Cc: Eric Blake Eduardo Habkost (4): target-i386: Reorganize and document CPUID initialization steps qapi-schema: Comment about full expansion of non-migration-safe models target-i386: Define static "base" CPU model target-i386: Implement query-cpu-model-expansion QMP command qapi-schema.json | 9 ++ target/i386/cpu-qom.h | 2 + monitor.c | 4 +- target/i386/cpu.c | 317 ++++++++++++++++++++++++++++++++++++++++++++------ 4 files changed, 298 insertions(+), 34 deletions(-) -- 2.11.0.259.g40922b1