aboutsummaryrefslogtreecommitdiffstats
path: root/arch/ia64/kvm/kvm-ia64.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/ia64/kvm/kvm-ia64.c')
-rw-r--r--arch/ia64/kvm/kvm-ia64.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/ia64/kvm/kvm-ia64.c b/arch/ia64/kvm/kvm-ia64.c
index 1477f91617a5..dbf527a57341 100644
--- a/arch/ia64/kvm/kvm-ia64.c
+++ b/arch/ia64/kvm/kvm-ia64.c
@@ -919,6 +919,11 @@ long kvm_arch_vm_ioctl(struct file *filp,
919 r = kvm_ioapic_init(kvm); 919 r = kvm_ioapic_init(kvm);
920 if (r) 920 if (r)
921 goto out; 921 goto out;
922 r = kvm_setup_default_irq_routing(kvm);
923 if (r) {
924 kfree(kvm->arch.vioapic);
925 goto out;
926 }
922 break; 927 break;
923 case KVM_IRQ_LINE: { 928 case KVM_IRQ_LINE: {
924 struct kvm_irq_level irq_event; 929 struct kvm_irq_level irq_event;