diff options
| author | Andreas Färber | 2012-12-01 06:18:14 +0100 |
|---|---|---|
| committer | Andreas Färber | 2012-12-19 14:09:32 +0100 |
| commit | f7575c96c6058763fe3bd8dd26f3d09473f2df36 (patch) | |
| tree | 9f9c620c6d38d0440d7517946088123412aa1c31 /include | |
| parent | cpu: Move kvm_state field into CPUState (diff) | |
| download | qemu-f7575c96c6058763fe3bd8dd26f3d09473f2df36.tar.gz qemu-f7575c96c6058763fe3bd8dd26f3d09473f2df36.tar.xz qemu-f7575c96c6058763fe3bd8dd26f3d09473f2df36.zip | |
cpu: Move kvm_run into CPUState
Pass CPUState / {X86,S390}CPU to helper functions.
Signed-off-by: Andreas Färber <afaerber@suse.de>
Diffstat (limited to 'include')
| -rw-r--r-- | include/qemu/cpu.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/qemu/cpu.h b/include/qemu/cpu.h index 03962eff69..fa3ffdbc2a 100644 --- a/include/qemu/cpu.h +++ b/include/qemu/cpu.h @@ -53,6 +53,7 @@ typedef struct CPUClass { } CPUClass; struct KVMState; +struct kvm_run; /** * CPUState: @@ -85,6 +86,7 @@ struct CPUState { bool kvm_vcpu_dirty; #endif struct KVMState *kvm_state; + struct kvm_run *kvm_run; /* TODO Move common fields from CPUArchState here. */ }; |
