diff options
author | Jan Kiszka <jan.kiszka@siemens.com> | 2010-03-01 18:17:24 +0100 |
---|---|---|
committer | Marcelo Tosatti <mtosatti@redhat.com> | 2010-03-01 14:30:14 -0300 |
commit | d019e29a72d0724f46fe2304ea711a7dd75ca82f (patch) | |
tree | 3f4d7b35d462f09bf774d484b9ab1102c3c7b527 /kvm.h | |
parent | dbb8952aa23df12ff52f5b7dff5700c0ce8cea82 (diff) |
KVM: x86: Restrict writeback of VCPU state
Do not write nmi_pending, sipi_vector, and mpstate unless we at least go
through a reset. And TSC as well as KVM wallclocks should only be
written on full sync, otherwise we risk to drop some time on during
state read-modify-write.
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Diffstat (limited to 'kvm.h')
-rw-r--r-- | kvm.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -44,7 +44,7 @@ int kvm_log_stop(target_phys_addr_t phys_addr, ram_addr_t size); int kvm_has_sync_mmu(void); int kvm_has_vcpu_events(void); int kvm_has_robust_singlestep(void); -int kvm_put_vcpu_events(CPUState *env); +int kvm_put_vcpu_events(CPUState *env, int level); int kvm_get_vcpu_events(CPUState *env); void kvm_cpu_register_phys_memory_client(void); |