aboutsummaryrefslogtreecommitdiff
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
commit9ded2744667292d020455f51664eb161a449c243 (patch)
tree8d5734e99b5fd6eff99d388a9ab8117844fcc554 /cpu-defs.h
parent03c63b945239dc4abcf3a687beda6eb3b0cd69bc (diff)
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