repository: /home/avi/kvm branch: master commit 427ba3dcb25c89416524d516e3d6773672adf83d Author: Avi Kivity <[EMAIL PROTECTED]> Date: Tue Oct 9 15:20:02 2007 +0200
kvm: qemu: workaround some more wierd Red Hat 7.1 accesses diff --git a/qemu/qemu-kvm.c b/qemu/qemu-kvm.c index 9661a7d..448e2ea 100644 --- a/qemu/qemu-kvm.c +++ b/qemu/qemu-kvm.c @@ -903,6 +903,12 @@ static int kvm_readw(void *opaque, uint64_t addr, uint16_t *data) static int kvm_readl(void *opaque, uint64_t addr, uint32_t *data) { + /* hack: Red Hat 7.1 generates some wierd accesses. */ + if (addr > 0xa0000 - 4 && addr < 0xa0000) { + *data = 0; + return 0; + } + *data = ldl_phys(addr); return 0; } ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ kvm-commits mailing list kvm-commits@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/kvm-commits