Commit cd948a2
vfio-user: don't zero unknown bits
Newer versions of the bitflags crate make a distinction between known
and unknown bits:
https://docs.rs/bitflags/latest/bitflags/#known-and-unknown-bits
Because these data types are defined in the VFIO spec, which can
introduce more bits, we should handle this like the documentation
suggests.
Signed-off-by: Julian Stecklina <[email protected]>1 parent 0d4654b commit cd948a2
1 file changed
+6
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
107 | 107 | | |
108 | 108 | | |
109 | 109 | | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
110 | 113 | | |
111 | 114 | | |
112 | 115 | | |
113 | 116 | | |
114 | 117 | | |
115 | 118 | | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
116 | 122 | | |
117 | 123 | | |
118 | 124 | | |
| |||
0 commit comments