From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:33391) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TfyFB-00007t-08 for qemu-devel@nongnu.org; Tue, 04 Dec 2012 14:33:33 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TfyEx-0006Be-Ep for qemu-devel@nongnu.org; Tue, 04 Dec 2012 14:33:24 -0500 Received: from mx1.redhat.com ([209.132.183.28]:51750) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TfyEx-0006BE-3s for qemu-devel@nongnu.org; Tue, 04 Dec 2012 14:33:11 -0500 From: Eduardo Habkost Date: Tue, 4 Dec 2012 17:34:37 -0200 Message-Id: <1354649683-9078-1-git-send-email-ehabkost@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Subject: [Qemu-devel] [PATCH 0/6] short x86 CPU init cleanup (v3) List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Igor Mammedov , Don Slutz , =?UTF-8?q?Andreas=20F=C3=A4rber?= Changes v3: - Fix memory leak spotted by Igor, on patch 2 Changes v2: - Coding style changes (patches 1-2) - Use "return -1" directly instead of "goto error" on cpu_x86_find_by_name() (patch 2) This series is based on the qom-cpu branch from afaerber's tree. The full branch can be found in a git tree, at: git://github.com/ehabkost/qemu-hacks.git cpu-init-cleanup-short-v3 https://github.com/ehabkost/qemu-hacks/tree/cpu-init-cleanup-short-v3 References to previous versions: v2: http://marc.info/?l=qemu-devel&m=135464803607329 v1: http://article.gmane.org/gmane.comp.emulators.qemu/182713 previous (long) cleanup series: http://article.gmane.org/gmane.comp.emulators.qemu/180137 Eduardo Habkost (2): target-i386/cpu.c: coding style fixes target-i386: cpu: separate feature string parsing from CPU model lookup Igor Mammedov (4): target-i386: use define for cpuid vendor string size target-i386: postpone cpuid_level update to realize time add visitor for parsing hz[KMG] input string target-i386: use visit_type_hz to parse tsc_freq property value qapi/qapi-visit-core.c | 11 +++++ qapi/qapi-visit-core.h | 2 + qapi/string-input-visitor.c | 22 ++++++++++ target-i386/cpu.c | 105 ++++++++++++++++++++++++++++---------------- target-i386/cpu.h | 2 + 5 files changed, 103 insertions(+), 39 deletions(-) -- 1.7.11.7