Luca Tettamanti wrote:
When the old value and new one are the same the emulator skips the write; this is undesiderable 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 always perform the writeback stage in the emulation.
Applied this and the next patch. Thanks! -- error compiling committee.c: too many arguments to function - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
- References:
- Re: [kvm-devel] [BUG] Oops with KVM-27
- From: Luca Tettamanti <[email protected]>
- Re: [kvm-devel] [BUG] Oops with KVM-27
- From: Avi Kivity <[email protected]>
- Re: [kvm-devel] [BUG] Oops with KVM-27
- From: Luca Tettamanti <[email protected]>
- Re: [kvm-devel] [BUG] Oops with KVM-27
- From: Luca Tettamanti <[email protected]>
- Re: [kvm-devel] [BUG] Oops with KVM-27
- From: Luca <[email protected]>
- Re: [kvm-devel] [BUG] Oops with KVM-27
- From: Avi Kivity <[email protected]>
- Re: [kvm-devel] [BUG] Oops with KVM-27
- From: Luca Tettamanti <[email protected]>
- Re: [kvm-devel] [BUG] Oops with KVM-27
- From: Avi Kivity <[email protected]>
- Re: [kvm-devel] [BUG] Oops with KVM-27
- From: Luca Tettamanti <[email protected]>
- Re: [kvm-devel] [BUG] Oops with KVM-27
- From: Avi Kivity <[email protected]>
- [PATCH 1/2] kvm: Fix x86 emulator writeback
- From: Luca Tettamanti <[email protected]>
- Re: [kvm-devel] [BUG] Oops with KVM-27
- Prev by Date: [PATCH 2/2] kvm: avoid useless memory write when possible
- Next by Date: Re: v2.6.21.4-rt11
- Previous by thread: [PATCH 1/2] kvm: Fix x86 emulator writeback
- Next by thread: Re: [PATCH 1/2] kvm: Fix x86 emulator writeback
- Index(es):