Skip to content

Commit 1d55bd1

Browse files
Samuel OrtizSebastien Boeuf
Samuel Ortiz
authored and
Sebastien Boeuf
committed
x86: Derive serde traits for kvm_msr_entry
Signed-off-by: Samuel Ortiz <[email protected]>
1 parent bc0f648 commit 1d55bd1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/x86/bindings_v4_20_0.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2090,6 +2090,7 @@ fn bindgen_test_layout_kvm_fpu() {
20902090
}
20912091
#[repr(C)]
20922092
#[derive(Debug, Default, Copy, Clone, PartialEq)]
2093+
#[cfg_attr(feature = "with-serde", derive(Deserialize, Serialize))]
20932094
pub struct kvm_msr_entry {
20942095
pub index: __u32,
20952096
pub reserved: __u32,

0 commit comments

Comments
 (0)