vmm: Add a basic stdin loop

After starting all vCPUs, we loop for STDIN input.
We need a more scalable eventfd control loop, obviously.

Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
This commit is contained in:
Samuel Ortiz
2019-03-18 21:59:50 +01:00
parent 0b6ec34505
commit c6c5e10a04
3 changed files with 78 additions and 1 deletions

1
Cargo.lock generated
View File

@@ -173,6 +173,7 @@ version = "0.1.0"
dependencies = [
"arch 0.1.0",
"devices 0.1.0",
"epoll 4.0.1 (registry+https://github.com/rust-lang/crates.io-index)",
"kvm-bindings 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)",
"kvm-ioctls 0.1.0 (git+https://github.com/rust-vmm/kvm-ioctls)",
"libc 0.2.48 (registry+https://github.com/rust-lang/crates.io-index)",