[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] i386: Fix signedness of hyperv_spinlock_attempt
From: |
Eduardo Habkost |
Subject: |
Re: [Qemu-devel] [PATCH] i386: Fix signedness of hyperv_spinlock_attempts |
Date: |
Tue, 18 Jun 2019 19:54:40 -0300 |
On Sat, Jun 15, 2019 at 05:05:05PM -0300, Eduardo Habkost wrote:
> The current default value for hv-spinlocks is 0xFFFFFFFF (meaning
> "never retry"). However, the value is stored as a signed
> integer, making the getter of the hv-spinlocks QOM property
> return -1 instead of 0xFFFFFFFF.
>
> Fix this by changing the type of X86CPU::hyperv_spinlock_attempts
> to uint32_t. This has no visible effect to guest operating
> systems, affecting just the behavior of the QOM getter.
>
> Signed-off-by: Eduardo Habkost <address@hidden>
Queued on x86-next.
--
Eduardo
- [Qemu-devel] [PATCH] i386: Fix signedness of hyperv_spinlock_attempts, Eduardo Habkost, 2019/06/15
- Re: [Qemu-devel] [PATCH] i386: Fix signedness of hyperv_spinlock_attempts, Vitaly Kuznetsov, 2019/06/17
- Re: [Qemu-devel] [PATCH] i386: Fix signedness of hyperv_spinlock_attempts, Roman Kagan, 2019/06/17
- Re: [Qemu-devel] [PATCH] i386: Fix signedness of hyperv_spinlock_attempts, Eduardo Habkost, 2019/06/17
- Re: [Qemu-devel] [PATCH] i386: Fix signedness of hyperv_spinlock_attempts, Roman Kagan, 2019/06/17
- Re: [Qemu-devel] [PATCH] i386: Fix signedness of hyperv_spinlock_attempts, Eduardo Habkost, 2019/06/17
- Re: [Qemu-devel] [PATCH] i386: Fix signedness of hyperv_spinlock_attempts, Vadim Rozenfeld, 2019/06/17
- Re: [Qemu-devel] [PATCH] i386: Fix signedness of hyperv_spinlock_attempts, Roman Kagan, 2019/06/18
- Re: [Qemu-devel] [PATCH] i386: Fix signedness of hyperv_spinlock_attempts, Roman Kagan, 2019/06/18
- Re: [Qemu-devel] [PATCH] i386: Fix signedness of hyperv_spinlock_attempts, Vadim Rozenfeld, 2019/06/18
Re: [Qemu-devel] [PATCH] i386: Fix signedness of hyperv_spinlock_attempts,
Eduardo Habkost <=