aboutsummaryrefslogtreecommitdiff
path: root/kvm-all.c
diff options
context:
space:
mode:
authorLiang Li <liang.z.li@intel.com>2015-11-05 11:51:04 +0800
committerPaolo Bonzini <pbonzini@redhat.com>2015-11-05 11:28:23 +0100
commit6388acc853b7862761d3c2864be99033e8b62dcc (patch)
tree59e39ae2502044b2cad975d03f323fb5cadcc639 /kvm-all.c
parent0fd7e098db30e302d27920487f0afec33be8982a (diff)
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 <liang.z.li@intel.com> Message-Id: <1446695464-27116-3-git-send-email-liang.z.li@intel.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'kvm-all.c')
-rw-r--r--kvm-all.c5
1 files changed, 0 insertions, 5 deletions
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;