Gregory Haskins wrote:
irqfd lets you create an eventfd based file-desriptor to inject interrupts
to a kvm guest. We associate one gsi per fd for fine-grained routing.
Sorry, getting to userspace a little late in the game.
@@ -34,6 +34,7 @@
#include <string.h>
#include <errno.h>
#include <sys/ioctl.h>
+#include <sys/eventfd.h>
This only made it in 2.6.22. So it needs a ./configure -time check for
existence.
+int kvm_create_irqfd(kvm_context_t kvm, int gsi, int flags)
+{
+ return -ENOENT;
+}
+
+int kvm_destroy_irqfd(kvm_context_t kvm, int fd, int flags)
+{
+ return -ENOENT;
+}
-ENOSYS is more traditional.
--
error compiling committee.c: too many arguments to function
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html