mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2024-12-22 21:55:20 +00:00
30e1162d7c
The goal here is to replace anywhere possible a virtio structure with a "C, packed" representation by a "C" representation. Some virtio structures are not expected to be packed, therefore there's no reason for using the more restrictive "C, packed" representation. This is important since "packed" representation can still cause undefined behaviors with Rust 2018. By removing the need for "packed" representation, we can simplify a bit of code by deriving the Serialize trait without writing the implementation ourselves. Signed-off-by: Sebastien Boeuf <sebastien.boeuf@intel.com> |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |