Skip to content

Commit aba9121

Browse files
bchaliosShadowCurse
authored andcommitted
doc: update CHANGELOG.md
Add entries with changes that add make `kvm_irq_routing` a FamStructWrapper and add serde support for `kvm_irq_routing` and `kvm_irq_routing_entry`. Signed-off-by: Babis Chalios <bchalios@amazon.es>
1 parent 16f1e19 commit aba9121

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

kvm-bindings/CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@
44

55
### Added
66

7+
- Added FamStructWrapper for `kvm_irq_routing` type.
8+
- Added serde support for `kvm_irq_routing` and `kvm_irq_routing_entry` types.
9+
710
### Changed
811

912
### Removed

kvm-ioctls/CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,11 @@
1616
array member (FAM) in the end in Linux 5.16 and `KVM_SET_XSAVE` may copy data
1717
beyond the traditional size (i.e. 4096 bytes). If any features are enabled
1818
dynamically on Linux 5.16+, it is recommended to use `set_xsave2()` instead.
19+
- [[#325]](https://github.com/rust-vmm/kvm/pull/325)]: Changed
20+
`set_gsi_routing()` to use the newly created `KvmIrqRouting` type which is a
21+
`FamStruct` wrapper over `kvm_irq_routing`. This way we can safely call the
22+
`ioctl` without relying on the caller making sure the memory layout of
23+
`kvm_irq_routing` is sane.
1924

2025
## v0.20.0
2126

0 commit comments

Comments
 (0)