Gregory Haskins wrote:
iofd is a mechanism to register PIO/MMIO regions to trigger an eventfd
signal when written to. Userspace can register any arbitrary address
with a corresponding eventfd.
Please start a separate patchset for this so I can merge irqfd.
diff --git
Avi Kivity wrote:
Gregory Haskins wrote:
iofd is a mechanism to register PIO/MMIO regions to trigger an eventfd
signal when written to. Userspace can register any arbitrary address
with a corresponding eventfd.
Please start a separate patchset for this so I can merge irqfd.
Ack. Will
Gregory Haskins wrote:
+#define KVM_IOFD_FLAG_PIO (1 1)
+
+struct kvm_iofd {
+__u64 addr;
+__u32 len;
+__u32 fd;
+__u32 flags;
+__u8 pad[12];
+};
+
Please add a data match capability. virtio uses a write with the data
containing the queue ID, and we want a
iofd is a mechanism to register PIO/MMIO regions to trigger an eventfd
signal when written to. Userspace can register any arbitrary address
with a corresponding eventfd.
Signed-off-by: Gregory Haskins ghask...@novell.com
---
include/linux/kvm.h | 12 +
include/linux/kvm_host.h |
Gregory Haskins wrote:
iofd is a mechanism to register PIO/MMIO regions to trigger an eventfd
signal when written to. Userspace can register any arbitrary address
with a corresponding eventfd.
Ugg..this patch header sucks, especially given all the talk around how
we need to do them better