]> Git Repo - qemu.git/commit
target-i386: Make "level" and "xlevel" properties static
authorEduardo Habkost <[email protected]>
Thu, 2 Apr 2015 20:21:53 +0000 (17:21 -0300)
committerEduardo Habkost <[email protected]>
Mon, 27 Apr 2015 18:40:22 +0000 (15:40 -0300)
commitb9472b76d273c7796d877c49af50969c0a879c50
tree489235d798523929fd28b7576b5fd5e041fea4dd
parentd9f7e29ee5a6915caa049ba64c0a9f28766351d2
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 <[email protected]>
Signed-off-by: Eduardo Habkost <[email protected]>
target-i386/cpu.c
This page took 0.024555 seconds and 4 git commands to generate.