]> git.ipfire.org Git - thirdparty/qemu.git/commit
target/i386/hvf: fix lflags_to_rflags
authorPaolo Bonzini <pbonzini@redhat.com>
Thu, 3 Apr 2025 19:39:54 +0000 (21:39 +0200)
committerMichael Tokarev <mjt@tls.msk.ru>
Thu, 24 Apr 2025 08:16:03 +0000 (11:16 +0300)
commit1cc062970e49e8387ae14b120bc94b1009b634c1
tree23807e531b47379a474008c54cd849fb5967cb79
parentaf01cf195ba106fe039ab320ce9e8074b4ddd841
target/i386/hvf: fix lflags_to_rflags

Clear the flags before adding in the ones computed from lflags.

Cc: Wei Liu <liuwe@linux.microsoft.com>
Cc: qemu-stable@nongnu.org
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
(cherry picked from commit 94a159f3dc737d00749cc930adaec112abe07b3c)
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
target/i386/hvf/x86_flags.c