diff options
| author | Alexander Potapenko <glider@google.com> | 2024-09-09 11:21:19 +0200 |
|---|---|---|
| committer | Alexander Potapenko <glider@google.com> | 2024-09-09 14:20:33 +0000 |
| commit | ad6b666d49906bc961adba5801cc0f94c3e7c811 (patch) | |
| tree | 9dc6fca16667e3257883e956966e7d5c40ca8c79 /sys/linux/dev_kvm.txt | |
| parent | df6d5ba592799e2e819c8b3447b9a08e7e8d1986 (diff) | |
sys/linux/dev_kvm.txt: fix the description of kvm_coalesced_mmio_zone
According to
https://elixir.bootlin.com/linux/v6.10.9/source/include/uapi/linux/kvm.h,
the third member of `struct kvm_coalesced_mmio_zone` is a union of
`__u32 pad` and `__u32 pio`, where `pio` can be 0 or 1, depending on whether
the user wants to use KVM_MMIO_BUS or KVM_PIO_BUS (see also
https://elixir.bootlin.com/linux/v6.10.9/source/virt/kvm/coalesced_mmio.c#L137)
Diffstat (limited to 'sys/linux/dev_kvm.txt')
| -rw-r--r-- | sys/linux/dev_kvm.txt | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/linux/dev_kvm.txt b/sys/linux/dev_kvm.txt index 26d97340d..0923929f3 100644 --- a/sys/linux/dev_kvm.txt +++ b/sys/linux/dev_kvm.txt @@ -1085,9 +1085,9 @@ kvm_reinject_control { } kvm_coalesced_mmio_zone { - addr flags[kvm_guest_addrs, int64] - size flags[kvm_guest_addr_size, int32] - pad const[0, int32] + addr flags[kvm_guest_addrs, int64] + size flags[kvm_guest_addr_size, int32] + pio_or_pad int32[0:1] } kvm_vcpu_init { |
