qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH] i386: make 'hv-spinlocks' a regular uint32 prop


From: Eduardo Habkost
Subject: Re: [Qemu-devel] [PATCH] i386: make 'hv-spinlocks' a regular uint32 property
Date: Tue, 18 Jun 2019 19:54:00 -0300

On Tue, Jun 18, 2019 at 11:07:06AM +0000, Roman Kagan wrote:
> 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 <address@hidden>

Reviewed-by: Eduardo Habkost <address@hidden>

Queued on x86-next.  Thanks!

-- 
Eduardo



reply via email to

[Prev in Thread] Current Thread [Next in Thread]