summaryrefslogtreecommitdiff
path: root/drivers/kvm/x86.h
diff options
context:
space:
mode:
authorZhang Xiantao <xiantao.zhang@intel.com>2007-12-14 10:20:16 +0800
committerAvi Kivity <avi@qumranet.com>2008-01-30 17:58:10 +0200
commitbfc6d222bdb1123d12c1193bcd7c755e6617b405 (patch)
tree72fb596179845648c3a050669f6f8ab16a834d3b /drivers/kvm/x86.h
parentd7deeeb02cf73fd98cb71a6a0a5dffab9ef79556 (diff)
downloadlwn-bfc6d222bdb1123d12c1193bcd7c755e6617b405.tar.gz
lwn-bfc6d222bdb1123d12c1193bcd7c755e6617b405.zip
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.h4
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{
struct list_head active_mmu_pages;
struct kvm_pic *vpic;
struct kvm_ioapic *vioapic;
+
+ int round_robin_prev_vcpu;
+ unsigned int tss_addr;
+ struct page *apic_access_page;
};
struct kvm_vcpu_stat {