diff options
author | Zhang Xiantao <xiantao.zhang@intel.com> | 2007-12-13 21:20:16 -0500 |
---|---|---|
committer | Avi Kivity <avi@qumranet.com> | 2008-01-30 10:58:10 -0500 |
commit | bfc6d222bdb1123d12c1193bcd7c755e6617b405 (patch) | |
tree | 72fb596179845648c3a050669f6f8ab16a834d3b /drivers/kvm/x86.h | |
parent | d7deeeb02cf73fd98cb71a6a0a5dffab9ef79556 (diff) |
KVM: Portability: Move round_robin_prev_vcpu and tss_addr to kvm_arch
This patches moves two fields round_robin_prev_vcpu and tss to kvm_arch.
Signed-off-by: Zhang Xiantao <xiantao.zhang@intel.com>
Acked-by: Carsten Otte <cotte@de.ibm.com>
Signed-off-by: Avi Kivity <avi@qumranet.com>
Diffstat (limited to 'drivers/kvm/x86.h')
-rw-r--r-- | drivers/kvm/x86.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/kvm/x86.h b/drivers/kvm/x86.h index ef23a30bf048..945583934853 100644 --- a/drivers/kvm/x86.h +++ b/drivers/kvm/x86.h | |||
@@ -277,6 +277,10 @@ struct kvm_arch{ | |||
277 | struct list_head active_mmu_pages; | 277 | struct list_head active_mmu_pages; |
278 | struct kvm_pic *vpic; | 278 | struct kvm_pic *vpic; |
279 | struct kvm_ioapic *vioapic; | 279 | struct kvm_ioapic *vioapic; |
280 | |||
281 | int round_robin_prev_vcpu; | ||
282 | unsigned int tss_addr; | ||
283 | struct page *apic_access_page; | ||
280 | }; | 284 | }; |
281 | 285 | ||
282 | struct kvm_vcpu_stat { | 286 | struct kvm_vcpu_stat { |