diff options
| author | Marcelo Tosatti <mtosatti@redhat.com> | 2009-12-23 11:35:25 -0500 |
|---|---|---|
| committer | Marcelo Tosatti <mtosatti@redhat.com> | 2010-03-01 10:35:45 -0500 |
| commit | f656ce0185cabbbb0cf96877306879661297c7ad (patch) | |
| tree | e2c8e61642ae4849c901922552a1acf0112461b4 /include/linux | |
| parent | e93f8a0f821e290ac5149830110a5f704db7a1fc (diff) | |
KVM: switch vcpu context to use SRCU
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/kvm_host.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/kvm_host.h b/include/linux/kvm_host.h index 5e9cb902550b..0bb9aa295e6c 100644 --- a/include/linux/kvm_host.h +++ b/include/linux/kvm_host.h | |||
| @@ -83,6 +83,8 @@ struct kvm_vcpu { | |||
| 83 | struct kvm_run *run; | 83 | struct kvm_run *run; |
| 84 | unsigned long requests; | 84 | unsigned long requests; |
| 85 | unsigned long guest_debug; | 85 | unsigned long guest_debug; |
| 86 | int srcu_idx; | ||
| 87 | |||
| 86 | int fpu_active; | 88 | int fpu_active; |
| 87 | int guest_fpu_loaded; | 89 | int guest_fpu_loaded; |
| 88 | wait_queue_head_t wq; | 90 | wait_queue_head_t wq; |
