]> 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:39 +0000 (10:27 +0300)
commit00a5dc28994e96f71a4aa7ad4273af9581f4f289
treeb23486e80a073dcc296d9b7de8e3f2c720f38074
parent86ffc25d3590bedac3fe00d6e2a5613ab89a5d68
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