]> git.proxmox.com Git - mirror_qemu.git/commit - target/i386/cpu.c
target-i386: Replace custom apic-id setter/getter with static property
authorIgor Mammedov <imammedo@redhat.com>
Wed, 6 Jul 2016 06:20:41 +0000 (08:20 +0200)
committerEduardo Habkost <ehabkost@redhat.com>
Wed, 20 Jul 2016 15:02:18 +0000 (12:02 -0300)
commit2da00e3176abac34ca7a6aab1f5bbb94a0d03fc5
tree3eab9e454cacd4a1ca0134a91815627db6426bf0
parent4ec60c76d5ab513e375f17b043d2b9cb849adf6c
target-i386: Replace custom apic-id setter/getter with static property

Custom apic-id setter/getter doesn't do any property specific
checks anymore, so clean it up and use more compact static
property DEFINE_PROP_UINT32 instead.

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