cloud-hypervisor/vmm
Rob Bradford d92707afc5 vmm: Introduce a SerialBuffer for buffering serial output
Introduce a dynamic buffer for storing output from the serial port. The
SerialBuffer implements std::io::Write and can be used in place of the
direct output for the serial device.

The internals of the buffer is a vector that grows dynamically based on
demand up to a fixed size at which point old data will be overwritten.
Currently the buffer is only flushed upon writes.

Signed-off-by: Rob Bradford <robert.bradford@intel.com>
2021-09-02 13:52:18 +01:00
..
src vmm: Introduce a SerialBuffer for buffering serial output 2021-09-02 13:52:18 +01:00
Cargo.toml build: update Cargo for rust-vmm branch renames 2021-09-02 10:38:25 +01:00