summaryrefslogtreecommitdiffstats
path: root/arch/ia64/include/asm/kvm_host.h
diff options
context:
space:
mode:
authorJes Sorensen2009-02-25 17:38:52 +0100
committerAvi Kivity2009-06-10 10:48:28 +0200
commit0c72ea7fb8a39b4bba071b19f5f835af5b5e538a (patch)
treecd5749eb3952233180b7a263da9278e6d76f2669 /arch/ia64/include/asm/kvm_host.h
parentKVM: APIC: get rid of deliver_bitmask (diff)
downloadkernel-qcow2-linux-0c72ea7fb8a39b4bba071b19f5f835af5b5e538a.tar.gz
kernel-qcow2-linux-0c72ea7fb8a39b4bba071b19f5f835af5b5e538a.tar.xz
kernel-qcow2-linux-0c72ea7fb8a39b4bba071b19f5f835af5b5e538a.zip
KVM: ia64: Map in SN2 RTC registers to the VMM module
On SN2, map in the SN2 RTC registers to the VMM module, needed for ITC emulation. Signed-off-by: Jes Sorensen <jes@sgi.com> Acked-by: Xiantao Zhang <xiantao.zhang@intel.com> Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'arch/ia64/include/asm/kvm_host.h')
-rw-r--r--arch/ia64/include/asm/kvm_host.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/ia64/include/asm/kvm_host.h b/arch/ia64/include/asm/kvm_host.h
index 5608488dc2da..12439956551b 100644
--- a/arch/ia64/include/asm/kvm_host.h
+++ b/arch/ia64/include/asm/kvm_host.h
@@ -371,6 +371,7 @@ struct kvm_vcpu_arch {
int last_run_cpu;
int vmm_tr_slot;
int vm_tr_slot;
+ int sn_rtc_tr_slot;
#define KVM_MP_STATE_RUNNABLE 0
#define KVM_MP_STATE_UNINITIALIZED 1
@@ -465,6 +466,7 @@ struct kvm_arch {
unsigned long vmm_init_rr;
int online_vcpus;
+ int is_sn2;
struct kvm_ioapic *vioapic;
struct kvm_vm_stat stat;