diff options
author | Luca Tettamanti <kronos.it@gmail.com> | 2007-06-20 00:41:20 +0400 |
---|---|---|
committer | Avi Kivity <avi@qumranet.com> | 2007-07-16 13:05:48 +0400 |
commit | 02c03a326a5df825cc01de426f72e160db2b9538 (patch) | |
tree | 6b6e765fbe03832a7fd68c4c28e7f105875d40ed /scripts/show_delta | |
parent | 74906345ff9f84f2b3b772d368c7e49f4ba27456 (diff) | |
download | linux-02c03a326a5df825cc01de426f72e160db2b9538.tar.xz |
KVM: Fix x86 emulator writeback
When the old value and new one are the same the emulator skips the
write; this is undesirable when the destination is a MMIO area and the
write shall be performed regardless of the previous value. This
optimization breaks e.g. a Linux guest APIC compiled without
X86_GOOD_APIC.
Remove the check and perform the writeback stage in the emulation unless
it's explicitly disabled (currently push and some 2 bytes instructions
may disable the writeback).
Signed-Off-By: Luca Tettamanti <kronos.it@gmail.com>
Signed-off-by: Avi Kivity <avi@qumranet.com>
Diffstat (limited to 'scripts/show_delta')
0 files changed, 0 insertions, 0 deletions