diff options
author | Andreas Färber <afaerber@suse.de> | 2012-12-01 05:35:08 +0100 |
---|---|---|
committer | Andreas Färber <afaerber@suse.de> | 2012-12-19 14:09:32 +0100 |
commit | a60f24b56b07f46453424263b276b0879c25c4e6 (patch) | |
tree | 092fd681aab3131e3663d48b10b9c36f20938031 /include | |
parent | a34a92b9ecd8d25bd1de9df601ed31ccd8ebcae7 (diff) |
cpu: Move kvm_state field into CPUState
Adapt some functions to take CPUState / {PowerPC,S390}CPU argument.
Signed-off-by: Andreas Färber <afaerber@suse.de>
Diffstat (limited to 'include')
-rw-r--r-- | include/qemu/cpu.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/qemu/cpu.h b/include/qemu/cpu.h index b8f8dd1d13..03962eff69 100644 --- a/include/qemu/cpu.h +++ b/include/qemu/cpu.h @@ -52,6 +52,8 @@ typedef struct CPUClass { void (*reset)(CPUState *cpu); } CPUClass; +struct KVMState; + /** * CPUState: * @created: Indicates whether the CPU thread has been successfully created. @@ -82,6 +84,7 @@ struct CPUState { int kvm_fd; bool kvm_vcpu_dirty; #endif + struct KVMState *kvm_state; /* TODO Move common fields from CPUArchState here. */ }; |