vm-virtio: make VsockPacket public

This patch makes VsockPacket public to allow other crates
(e.g. vhost-user-vsock) to use it.

Signed-off-by: Stefano Garzarella <sgarzare@redhat.com>
This commit is contained in:
Stefano Garzarella 2020-03-18 17:22:04 +01:00 committed by Rob Bradford
parent 8bcd0abbe5
commit b74a855446

View File

@ -17,7 +17,7 @@ pub use self::device::Vsock;
pub use self::unix::VsockUnixBackend;
pub use self::unix::VsockUnixError;
use packet::VsockPacket;
pub use packet::VsockPacket;
use std::os::unix::io::RawFd;
mod defs {