Eduardo Habkost 8e8aba5054 target-i386: Add "feature-words" property to X86CPU
This property will be useful for libvirt, as libvirt already has logic
based on low-level feature bits (not feature names), so it will be
really easy to convert the current libvirt logic to something using the
"feature-words" property.

The property will have two main use cases:
 - Checking host capabilities, by checking the features of the "host"
   CPU model
 - Checking which features are enabled on each CPU model

Example output:

  $ ./QMP/qmp --path=/tmp/m \
    qom-get --path=/machine/icc-bridge/icc/child[0] \
            --property=feature-words
  item[0].cpuid-register: EDX
  item[0].cpuid-input-eax: 2147483658
  item[0].features: 0
  item[1].cpuid-register: EAX
  item[1].cpuid-input-eax: 1073741825
  item[1].features: 0
  item[2].cpuid-register: EDX
  item[2].cpuid-input-eax: 3221225473
  item[2].features: 0
  item[3].cpuid-register: ECX
  item[3].cpuid-input-eax: 2147483649
  item[3].features: 101
  item[4].cpuid-register: EDX
  item[4].cpuid-input-eax: 2147483649
  item[4].features: 563346425
  item[5].cpuid-register: EBX
  item[5].cpuid-input-eax: 7
  item[5].features: 0
  item[5].cpuid-input-ecx: 0
  item[6].cpuid-register: ECX
  item[6].cpuid-input-eax: 1
  item[6].features: 2155880449
  item[7].cpuid-register: EDX
  item[7].cpuid-input-eax: 1
  item[7].features: 126614521

Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Andreas Färber <afaerber@suse.de>
2013-05-06 19:16:05 +02:00
2013-05-03 10:33:49 +02:00
2013-05-03 12:04:49 -05:00
2013-05-03 13:58:09 +02:00
2013-04-18 13:50:53 +02:00
2012-12-19 08:29:06 +01:00
2013-05-03 13:53:46 +02:00
2013-05-05 09:53:22 +00:00
2013-04-23 10:37:38 -05:00
2013-05-05 09:53:22 +00:00
2013-05-03 13:58:09 +02:00
2013-04-08 18:13:10 +02:00
2013-04-08 18:13:10 +02:00
2013-05-03 11:53:30 +02:00
2013-05-03 12:03:14 -05:00
2013-05-03 13:58:09 +02:00
2013-05-03 12:04:57 -05:00
2012-09-07 09:02:44 +03:00
2013-04-26 20:18:24 +02:00
2013-04-18 13:50:53 +02:00
2013-02-21 16:17:31 -06:00
2013-04-22 11:31:41 -05:00
2013-04-08 18:13:10 +02:00
2012-05-14 07:27:24 +02:00
2013-05-01 13:04:18 +02:00
2013-04-29 12:16:36 -05:00
2013-02-21 16:17:31 -06:00
2013-05-03 13:58:09 +02:00
2011-12-09 11:25:22 +00:00
2013-05-03 12:04:40 -05:00
2013-05-03 13:05:49 +02:00
2013-03-11 13:32:03 +01:00
2013-02-22 21:21:10 +01:00
2013-05-03 12:04:57 -05:00
2013-05-01 13:06:07 +02:00
2011-12-11 17:50:43 -06:00
2013-05-03 12:04:40 -05:00
2013-02-15 17:40:56 -06:00
2013-04-08 18:13:10 +02:00
2013-04-08 18:13:10 +02:00

Read the documentation in qemu-doc.html or on http://wiki.qemu.org

- QEMU team
S
Description
Languages
C 82.6%
C++ 6.5%
Python 3.3%
Dylan 2.9%
Shell 1.6%
Other 2.9%