Closed krha closed 11 years ago
--> QEMU touches mmaped file in abnormal way?
It is not happening at Yohsi's code, so the problem might be coming from FUSE related code. I'll revert my fuse code to original to remove all my modification.
This is interesting bug. It only happens at certain environment where the system has around 4GB memory. It seems to be related to available cache size and cannot reproduce with my custom mmap test program.
I disabled EPT by
$ sudo modprobe -r kvm_intel $ sudo modprobe kvm_intel "ept=0"
and verified disabled EPT by
$ cat /sys/module/kvm_intel/parameters/ept
Wow, it works well without EPT!!
EPT makes problem at mmaped fuse memory.
First, check you have EPT support or not.
$ cat /proc/cpuinfo | grep " ept" If it shows something, you have EPT support.
Disable EPT if you have it by
$ sudo modprobe -r kvm_intel $ sudo modprobe kvm_intel "ept=0"
Verify that you successfully disabled it by
$ cat /sys/module/kvm_intel/parameters/ept N $
I'll keep working on this. Before having concrete solution, you can use this workaround if you have this problem.
This is randomly reported when create overlay VM. It tends to be happen more frequently on low-end machine.
How to reproduce
Follow up Test
Possible causes