vmm: Move SerialBuffer to its own crate

We want to be able to reuse the SerialBuffer from the virtio-devices
crate, particularly from the virtio-console implementation. That's why
we move the SerialBuffer definition to its own crate so that it can be
accessed from both vmm and virtio-devices crates, without creating any
cyclic dependency.

Signed-off-by: Sebastien Boeuf <sebastien.boeuf@intel.com>
This commit is contained in:
Sebastien Boeuf
2022-08-25 10:26:59 +02:00
parent 63462fd8ab
commit a940f525a8
7 changed files with 16 additions and 4 deletions

5
serial_buffer/Cargo.toml Normal file
View File

@@ -0,0 +1,5 @@
[package]
name = "serial_buffer"
version = "0.1.0"
authors = ["The Cloud Hypervisor Authors"]
edition = "2021"