diff options
Diffstat (limited to 'arch/ia64')
-rw-r--r-- | arch/ia64/kvm/kvm-ia64.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/arch/ia64/kvm/kvm-ia64.c b/arch/ia64/kvm/kvm-ia64.c index 40505200249..df6b1419405 100644 --- a/arch/ia64/kvm/kvm-ia64.c +++ b/arch/ia64/kvm/kvm-ia64.c | |||
@@ -809,10 +809,13 @@ static void kvm_build_io_pmt(struct kvm *kvm) | |||
809 | #define GUEST_PHYSICAL_RR4 0x2739 | 809 | #define GUEST_PHYSICAL_RR4 0x2739 |
810 | #define VMM_INIT_RR 0x1660 | 810 | #define VMM_INIT_RR 0x1660 |
811 | 811 | ||
812 | int kvm_arch_init_vm(struct kvm *kvm) | 812 | int kvm_arch_init_vm(struct kvm *kvm, unsigned long type) |
813 | { | 813 | { |
814 | BUG_ON(!kvm); | 814 | BUG_ON(!kvm); |
815 | 815 | ||
816 | if (type) | ||
817 | return -EINVAL; | ||
818 | |||
816 | kvm->arch.is_sn2 = ia64_platform_is("sn2"); | 819 | kvm->arch.is_sn2 = ia64_platform_is("sn2"); |
817 | 820 | ||
818 | kvm->arch.metaphysical_rr0 = GUEST_PHYSICAL_RR0; | 821 | kvm->arch.metaphysical_rr0 = GUEST_PHYSICAL_RR0; |