From cda6d1ba1b1c78eabcf82e0b3ad6007ab885beb1 Mon Sep 17 00:00:00 2001 From: Alexander Potapenko Date: Wed, 11 Sep 2024 14:54:57 +0200 Subject: 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. --- sys/linux/dev_kvm.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/linux') 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 -- cgit mrf-deployment