diff options
| author | Alexander Potapenko <glider@google.com> | 2025-07-18 14:19:12 +0200 |
|---|---|---|
| committer | Alexander Potapenko <glider@google.com> | 2025-07-21 09:36:32 +0000 |
| commit | 60c18d31de3a281bf4efc1df98755218d280342f (patch) | |
| tree | 431c2e192bd8ec7b75ec1e7090fe9caeae5ec3e0 /sys/linux/dev_kvm_amd64.txt | |
| parent | 851662cc5e837b10910d8ad4466684cae3b8e761 (diff) | |
sys/linux/dev_kvm_amd64.txt: fix KVM_GET_XCRS
See https://docs.kernel.org/virt/kvm/api.html#kvm-get-xcrs
Diffstat (limited to 'sys/linux/dev_kvm_amd64.txt')
| -rw-r--r-- | sys/linux/dev_kvm_amd64.txt | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/sys/linux/dev_kvm_amd64.txt b/sys/linux/dev_kvm_amd64.txt index a25d7f4fd..ae56a95b6 100644 --- a/sys/linux/dev_kvm_amd64.txt +++ b/sys/linux/dev_kvm_amd64.txt @@ -438,7 +438,7 @@ ioctl$KVM_GET_FPU(fd fd_kvmcpu, cmd const[KVM_GET_FPU], arg ptr[out, kvm_fpu]) ioctl$KVM_SET_FPU(fd fd_kvmcpu, cmd const[KVM_SET_FPU], arg ptr[in, kvm_fpu]) ioctl$KVM_GET_DEBUGREGS(fd fd_kvmcpu, cmd const[KVM_GET_DEBUGREGS], arg ptr[out, kvm_debugregs]) ioctl$KVM_SET_DEBUGREGS(fd fd_kvmcpu, cmd const[KVM_SET_DEBUGREGS], arg ptr[in, kvm_debugregs]) -ioctl$KVM_GET_XCRS(fd fd_kvmcpu, cmd const[KVM_GET_XCRS], arg ptr[in, kvm_xcrs]) +ioctl$KVM_GET_XCRS(fd fd_kvmcpu, cmd const[KVM_GET_XCRS], arg ptr[out, kvm_xcrs]) ioctl$KVM_SET_XCRS(fd fd_kvmcpu, cmd const[KVM_SET_XCRS], arg ptr[in, kvm_xcrs]) ioctl$KVM_GET_XSAVE(fd fd_kvmcpu, cmd const[KVM_GET_XSAVE], arg ptr[out, kvm_xsave]) ioctl$KVM_SET_XSAVE(fd fd_kvmcpu, cmd const[KVM_SET_XSAVE], arg ptr[in, kvm_xsave]) @@ -581,9 +581,10 @@ kvm_xcr { } kvm_xcrs { - nr len[xcrs, int32] + nr int32[0:KVM_MAX_XCRS] flags int32 - xcrs array[kvm_xcr] + xcrs array[kvm_xcr, KVM_MAX_XCRS] + pad array[const[0, int64], 16] } kvm_xsave { |
