repository: /home/avi/kvm
branch: master
commit 0cff6d96673f9f8a1144507b9f12f7cc8cfe84ae
Author: Avi Kivity <[EMAIL PROTECTED]>
Date:   Tue Oct 9 15:18:32 2007 +0200

    kvm: libkvm: workaround wierd accesses generated by Red Hat 7.1

diff --git a/user/kvmctl.c b/user/kvmctl.c
index 3dee407..ffa5f52 100644
--- a/user/kvmctl.c
+++ b/user/kvmctl.c
@@ -919,6 +919,10 @@ static int handle_mmio(kvm_context_t kvm, struct kvm_run 
*kvm_run)
        void *data = kvm_run->mmio.data;
        int r = -1;
 
+       /* hack: Red Hat 7.1 generates these wierd accesses. */
+       if (addr == 0xa0000 && kvm_run->mmio.len == 3)
+           return 0;
+
        if (kvm_run->mmio.is_write) {
                switch (kvm_run->mmio.len) {
                case 1:

-------------------------------------------------------------------------
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

Reply via email to