aboutsummaryrefslogtreecommitdiffstats
path: root/sys/linux
diff options
context:
space:
mode:
authorAlexander Potapenko <glider@google.com>2024-09-11 14:54:57 +0200
committerAlexander Potapenko <glider@google.com>2024-09-11 14:21:28 +0000
commitcda6d1ba1b1c78eabcf82e0b3ad6007ab885beb1 (patch)
tree3efc44639c211f11c70d6100307f03a3f0ac41ae /sys/linux
parent7a8712328cbe71848b87301ad6048bde121ece6a (diff)
sys/linux/dev_kvm.txt: allow returning data via kvm_device_attr
Both kvm_device_attr_generic and kvm_device_attr_arm64 are passed to ioctl$KVM_SET_DEVICE_ATTR and ioctl$KVM_GET_DEVICE_ATTR as read-only, but the `addr` parameter should be marked as inout.
Diffstat (limited to 'sys/linux')
-rw-r--r--sys/linux/dev_kvm.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/linux/dev_kvm.txt b/sys/linux/dev_kvm.txt
index cb829e5a5..0f512ffe5 100644
--- a/sys/linux/dev_kvm.txt
+++ b/sys/linux/dev_kvm.txt
@@ -523,14 +523,14 @@ kvm_device_attr_generic {
flags const[0, int32]
group int32
attr int64
- addr ptr64[in, int64]
+ addr ptr64[inout, int64]
}
kvm_device_attr_arm64 {
flags const[0, int32]
group flags[kvm_device_attr_arm64_groups, int32]
attr flags[kvm_device_attr_arm64_attrs, int64]
- addr ptr64[in, int64]
+ addr ptr64[inout, int64]
}
# Assorted device attributes from