From 6388acc853b7862761d3c2864be99033e8b62dcc Mon Sep 17 00:00:00 2001 From: Liang Li Date: Thu, 5 Nov 2015 11:51:04 +0800 Subject: Revert "Introduce cpu_clean_all_dirty" This reverts commit de9d61e83d43be9069e6646fa9d57a3f47779d28. Now 'cpu_clean_all_dirty' is useless, we can revert the related code. Conflicts: include/sysemu/kvm.h Signed-off-by: Liang Li Message-Id: <1446695464-27116-3-git-send-email-liang.z.li@intel.com> Signed-off-by: Paolo Bonzini --- kvm-all.c | 5 ----- 1 file changed, 5 deletions(-) (limited to 'kvm-all.c') diff --git a/kvm-all.c b/kvm-all.c index c442838668..1bc1273772 100644 --- a/kvm-all.c +++ b/kvm-all.c @@ -1766,11 +1766,6 @@ void kvm_cpu_synchronize_post_init(CPUState *cpu) run_on_cpu(cpu, do_kvm_cpu_synchronize_post_init, cpu); } -void kvm_cpu_clean_state(CPUState *cpu) -{ - cpu->kvm_vcpu_dirty = false; -} - int kvm_cpu_exec(CPUState *cpu) { struct kvm_run *run = cpu->kvm_run; -- cgit v1.2.3