]> git.proxmox.com Git - qemu.git/commit
target-i386: Introduce feat2prop() for CPU properties
authorIgor Mammedov <imammedo@redhat.com>
Fri, 26 Apr 2013 16:04:32 +0000 (18:04 +0200)
committerAndreas Färber <afaerber@suse.de>
Wed, 1 May 2013 11:04:18 +0000 (13:04 +0200)
commit72ac2e876ddc6158f5b6d5f758d4e38c436010ed
treea21aacdb2595142b5e6e27fdf4e04e2d43d89b8f
parentb8622725cf0196f672f272922b0941dc8ba1c408
target-i386: Introduce feat2prop() for CPU properties

This helper replaces '_' with '-' in a uniform way.
As a side effect, even custom mappings must use '-' now.

Signed-off-by: Igor Mammedov <imammedo@redhat.com>
[AF: Split off; operate on NUL-terminated string rather than '=' delimiter]
Signed-off-by: Andreas Färber <afaerber@suse.de>
target-i386/cpu.c