]> git.proxmox.com Git - mirror_qemu.git/commit - target/i386/cpu.c
target-i386: Make plus_features/minus_features QOM-based
authorEduardo Habkost <ehabkost@redhat.com>
Fri, 30 Sep 2016 18:49:39 +0000 (15:49 -0300)
committerEduardo Habkost <ehabkost@redhat.com>
Mon, 17 Oct 2016 17:44:49 +0000 (15:44 -0200)
commit2fae0d96e6834f3bf98065a9cddedad120f9b2b4
treebffc2959e62540f9196873dcca82361347b2a6fa
parent54b8dc7c19cd781e96f1e9b001ca6001d804eb19
target-i386: Make plus_features/minus_features QOM-based

Instead of using custom feature name lookup code for
plus_features/minus_features, save the property names used in
"[+-]feature" and use object_property_set_bool() to set them.

We don't need a feat2prop() call because we now have alias
properties for the old names containing underscores.

Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
target-i386/cpu.c