diff options
author | Eduardo Habkost <ehabkost@redhat.com> | 2015-04-02 17:21:53 -0300 |
---|---|---|
committer | Eduardo Habkost <ehabkost@redhat.com> | 2015-04-27 15:40:22 -0300 |
commit | b9472b76d273c7796d877c49af50969c0a879c50 (patch) | |
tree | 489235d798523929fd28b7576b5fd5e041fea4dd /qmp.c | |
parent | d9f7e29ee5a6915caa049ba64c0a9f28766351d2 (diff) |
target-i386: Make "level" and "xlevel" properties static
Static properties require only 1 line of code, much simpler than the
existing code that requires writing new getters/setters.
As a nice side-effect, this fixes an existing bug where the setters were
incorrectly allowing the properties to be changed after the CPU was
already realized.
Reviewed-by: Igor Mammedov <imammedo@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Diffstat (limited to 'qmp.c')
0 files changed, 0 insertions, 0 deletions