summaryrefslogtreecommitdiff
path: root/cpu-defs.h
diff options
context:
space:
mode:
authorJan Kiszka <jan.kiszka@siemens.com>2010-02-03 21:17:05 +0100
committerMarcelo Tosatti <mtosatti@redhat.com>2010-02-03 19:47:34 -0200
commitd9b9bf762868f20dacc9b427852b2727e9b292ee (patch)
tree8d5734e99b5fd6eff99d388a9ab8117844fcc554 /cpu-defs.h
parent1f30a4b73c4eb8f8b3a7d2f3072a72ce7a59dd9a (diff)
downloadqemu-d9b9bf762868f20dacc9b427852b2727e9b292ee.tar.gz
qemu-d9b9bf762868f20dacc9b427852b2727e9b292ee.tar.bz2
qemu-d9b9bf762868f20dacc9b427852b2727e9b292ee.zip
KVM: Move and rename regs_modified
Touching the user space representation of KVM's VCPU state is - naturally - a per-VCPU thing. So move the dirty flag into KVM_CPU_COMMON and rename it at this chance to reflect its true meaning. Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Diffstat (limited to 'cpu-defs.h')
-rw-r--r--cpu-defs.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/cpu-defs.h b/cpu-defs.h
index 95068b5304..7fdbe97787 100644
--- a/cpu-defs.h
+++ b/cpu-defs.h
@@ -197,6 +197,7 @@ typedef struct CPUWatchpoint {
const char *cpu_model_str; \
struct KVMState *kvm_state; \
struct kvm_run *kvm_run; \
- int kvm_fd;
+ int kvm_fd; \
+ int kvm_vcpu_dirty;
#endif