On Thu, 2007-12-13 at 20:36 +0100, Christian Ehrhardt wrote: > @@ -2600,8 +2601,8 @@ void cpu_physical_memory_rw(target_phys_addr_t > addr, uint8_t *buf, > phys_ram_dirty[addr1 >> TARGET_PAGE_BITS] |= > (0xff & ~CODE_DIRTY_FLAG); > } > -#ifdef __ia64__ > - kvm_sync_icache((unsigned long)ptr, l); > +#ifdef USE_KVM > + flush_icache_range((unsigned long)ptr, ((unsigned long)ptr)+l); > #endif > } > } else {
A comment to explain why the icache needs flushing only in the KVM case would be useful. Other than that I'm fine with it. Signed-off-by: Hollis Blanchard <[EMAIL PROTECTED]> -- Hollis Blanchard IBM Linux Technology Center ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ kvm-devel mailing list kvm-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/kvm-devel