]> git.proxmox.com Git - mirror_qemu.git/commit
hvf: correctly handle REX prefix in relation to legacy prefixes
authorCameron Esfahani <dirty@apple.com>
Sun, 24 Nov 2019 20:05:25 +0000 (12:05 -0800)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 26 Nov 2019 08:58:36 +0000 (09:58 +0100)
commit8c3b0e9e678a3a690d1411a8231f29082ab50988
treef623e36f38129be8126b6d94a437f9c94c5239c3
parent9fedbbeeee6dead7e73b3a53e3c80dd37392b464
hvf: correctly handle REX prefix in relation to legacy prefixes

In real x86 processors, the REX prefix must come after legacy prefixes.
REX before legacy is ignored.  Update the HVF emulation code to properly
handle this.  Fix some spelling errors in constants.  Fix some decoder
table initialization issues found by Coverity.

Signed-off-by: Cameron Esfahani <dirty@apple.com>
Message-Id: <eff30ded8307471936bec5d84c3b6efbc95e3211.1574625592.git.dirty@apple.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
target/i386/hvf/x86_decode.c
target/i386/hvf/x86_decode.h