[RFC,3/4] kvm-all: Pre-run cache coherency maintenance
diff mbox

Message ID 1430817227-6278-4-git-send-email-j.fanguede@virtualopensystems.com
State New
Headers show

Commit Message

Jérémy Fanguède May 5, 2015, 9:13 a.m. UTC
Inform the cache coherency maintenance of an exit from userspace.

Signed-off-by: Jérémy Fanguède <j.fanguede@virtualopensystems.com>
---
 kvm-all.c | 1 +
 1 file changed, 1 insertion(+)

Patch
diff mbox

diff --git a/kvm-all.c b/kvm-all.c
index 28f4589..c4b15b0 100644
--- a/kvm-all.c
+++ b/kvm-all.c
@@ -1802,6 +1802,7 @@  int kvm_cpu_exec(CPUState *cpu)
         }
 
         kvm_arch_pre_run(cpu, run);
+        kvm_arch_cache_coherency_pre_run();
         if (cpu->exit_request) {
             DPRINTF("interrupt exit requested\n");
             /*