Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 6621fbc2 authored by Avi Kivity's avatar Avi Kivity
Browse files

KVM: Move #endif KVM_CAP_IRQ_ROUTING to correct place



The symbol only controls irq routing, not MSI-X.

Signed-off-by: default avatarAvi Kivity <avi@redhat.com>
parent 52c7847d
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2236,6 +2236,7 @@ static long kvm_vm_ioctl(struct file *filp,
		vfree(entries);
		break;
	}
#endif /* KVM_CAP_IRQ_ROUTING */
#ifdef __KVM_HAVE_MSIX
	case KVM_ASSIGN_SET_MSIX_NR: {
		struct kvm_assigned_msix_nr entry_nr;
@@ -2258,7 +2259,6 @@ static long kvm_vm_ioctl(struct file *filp,
		break;
	}
#endif
#endif /* KVM_CAP_IRQ_ROUTING */
	case KVM_IRQFD: {
		struct kvm_irqfd data;