]> git.proxmox.com Git - mirror_qemu.git/commit - target/i386/cpu.c
i386/kvm: correct the meaning of '0xffffffff' value for hv-spinlocks
authorVitaly Kuznetsov <vkuznets@redhat.com>
Fri, 15 May 2020 11:48:47 +0000 (13:48 +0200)
committerEduardo Habkost <ehabkost@redhat.com>
Fri, 18 Sep 2020 17:49:54 +0000 (13:49 -0400)
commitf701c082e72d4786686dfd1d9d877b64dc1d2804
tree46c8fbd06b4942b1b10236bdaa764aac40da72e2
parent053a4177817db307ec854356e95b5b350800a216
i386/kvm: correct the meaning of '0xffffffff' value for hv-spinlocks

Hyper-V TLFS prior to version 6.0 had a mistake in it: special value
'0xffffffff' for CPUID 0x40000004.EBX was called 'never to retry', this
looked weird (like why it's not '0' which supposedly have the same effect?)
but nobody raised the question. In TLFS version 6.0 the mistake was
corrected to 'never notify' which sounds logical. Fix QEMU accordingly.

Signed-off-by: Vitaly Kuznetsov <vkuznets@redhat.com>
Message-Id: <20200515114847.74523-1-vkuznets@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
docs/hyperv.txt
target/i386/cpu.c
target/i386/cpu.h
target/i386/kvm.c