aboutsummaryrefslogtreecommitdiffstats
path: root/sys/linux
diff options
context:
space:
mode:
authorAlexander Potapenko <glider@google.com>2024-09-11 16:01:03 +0200
committerAlexander Potapenko <glider@google.com>2024-09-11 14:21:28 +0000
commit5b19af73b6945e8a55858781da5581e084addd93 (patch)
tree8c4a22d388cc9179fc633adee73b676f8e4d6f7b /sys/linux
parent5f1081d9a01893fde73938097eea6bd13b571995 (diff)
sys/linux/dev_kvm.txt: pass flags to ioctl$KVM_IRQFD
See https://docs.kernel.org/virt/kvm/api.html#kvm-irqfd for more details.
Diffstat (limited to 'sys/linux')
-rw-r--r--sys/linux/dev_kvm.txt4
-rw-r--r--sys/linux/dev_kvm.txt.const2
2 files changed, 5 insertions, 1 deletions
diff --git a/sys/linux/dev_kvm.txt b/sys/linux/dev_kvm.txt
index e495d9150..a369be758 100644
--- a/sys/linux/dev_kvm.txt
+++ b/sys/linux/dev_kvm.txt
@@ -663,10 +663,12 @@ kvm_s390_interrupt {
parm64 int64
}
+kvm_irqfd_flags = KVM_IRQFD_FLAG_DEASSIGN, KVM_IRQFD_FLAG_RESAMPLE
+
kvm_irqfd {
fd fd_event
gsi int32
- flags int32
+ flags flags[kvm_irqfd_flags, int32]
rfd fd_event
pad array[const[0, int8], 16]
}
diff --git a/sys/linux/dev_kvm.txt.const b/sys/linux/dev_kvm.txt.const
index e38dbc264..1f4b504e1 100644
--- a/sys/linux/dev_kvm.txt.const
+++ b/sys/linux/dev_kvm.txt.const
@@ -207,6 +207,8 @@ KVM_IRQCHIP_IOAPIC = 2, arm64:mips64le:ppc64le:s390x:???
KVM_IRQCHIP_PIC_MASTER = 0, arm64:mips64le:ppc64le:s390x:???
KVM_IRQCHIP_PIC_SLAVE = 1, arm64:mips64le:ppc64le:s390x:???
KVM_IRQFD = 1075883638, mips64le:ppc64le:2149625462
+KVM_IRQFD_FLAG_DEASSIGN = 1
+KVM_IRQFD_FLAG_RESAMPLE = 2
KVM_IRQ_LINE = 1074310753, mips64le:ppc64le:2148052577
KVM_IRQ_LINE_STATUS = 3221794407
KVM_IRQ_ROUTING_HV_SINT = 4