]> 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 07:27:40 +0000 (10:27 +0300)
commitb401e48860d7aaf226b4db0d19531db1452b3880
tree9022db5283aabac50ea7c44ff16d3ca99bbbb999
parentd2d2524b48df23faf5d1e3e34636fb1bbd7f5f60
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