diff options
| author | Roman Kagan | 2019-06-18 13:07:06 +0200 |
|---|---|---|
| committer | Eduardo Habkost | 2019-07-05 22:08:03 +0200 |
| commit | 915aee93e7fc54c272872b28630e7423252d05ca (patch) | |
| tree | 6654576208c2c02ef8e532ad63e9eae3664fb650 /include | |
| parent | i386: Fix signedness of hyperv_spinlock_attempts (diff) | |
| download | qemu-915aee93e7fc54c272872b28630e7423252d05ca.tar.gz qemu-915aee93e7fc54c272872b28630e7423252d05ca.tar.xz qemu-915aee93e7fc54c272872b28630e7423252d05ca.zip | |
i386: make 'hv-spinlocks' a regular uint32 property
X86CPU.hv-spinlocks is a uint32 property that has a special setter
validating the value to be no less than 0xFFF and no bigger than
UINT_MAX. The latter check is redundant; as for the former, there
appears to be no reason to prohibit the user from setting it to a lower
value.
So nuke the dedicated getter/setter pair and convert 'hv-spinlocks' to a
regular uint32 property.
Signed-off-by: Roman Kagan <rkagan@virtuozzo.com>
Message-Id: <20190618110659.14744-1-rkagan@virtuozzo.com>
Reviewed-by: Eduardo Habkost <ehabkost@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
