public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
* [kvm-kmod PATCH] Provide pci_enable_msix_exact() for kernels < 3.15
@ 2014-05-06 18:35 gsomlo
  2014-05-07  6:29 ` Jan Kiszka
  0 siblings, 1 reply; 5+ messages in thread
From: gsomlo @ 2014-05-06 18:35 UTC (permalink / raw)
  To: jan.kiszka; +Cc: kvm

Signed-off-by: Gabriel Somlo <somlo@cmu.edu>
---

Jan,

After today's pull from kvm, I also need this to build against my
Fedora 20 kernel (3.13.10-200.fc20.x86_64).

Thanks,
  Gabriel

 x86/external-module-compat.h | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/x86/external-module-compat.h b/x86/external-module-compat.h
index dde9463..e62486b 100644
--- a/x86/external-module-compat.h
+++ b/x86/external-module-compat.h
@@ -1480,6 +1480,11 @@ static inline int __register_hotcpu_notifier(struct notifier_block *nb)
 {
 	return 0;
 }
+static inline int pci_enable_msix_exact(struct pci_dev *dev,
+		      struct msix_entry *entries, int nvec)
+{
+	return -ENOSYS;
+}
 #endif
 
 #ifndef MSR_IA32_VMX_MISC_VMWRITE_SHADOW_RO_FIELDS
-- 
1.9.0


^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2014-05-07 17:14 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-05-06 18:35 [kvm-kmod PATCH] Provide pci_enable_msix_exact() for kernels < 3.15 gsomlo
2014-05-07  6:29 ` Jan Kiszka
2014-05-07  6:54   ` Paolo Bonzini
2014-05-07 13:19   ` Gabriel L. Somlo
2014-05-07 17:14     ` Paolo Bonzini

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox