Samuel Ortiz
0b6ec34505
vmm: Retry running a CPU when getting EAGAIN or EINTR from the run ioctl
...
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
2019-05-08 08:40:42 +02:00
Samuel Ortiz
25f4063da6
cloud-hypervisor: Add the --memory option
...
You guessed it: To specify the amount of memory for the VM.
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
2019-05-08 08:40:42 +02:00
Samuel Ortiz
59b5e53c40
cloud-hypervisor: Add the --cpus option
...
You guessed it: To specify the number of vcpus.
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
2019-05-08 08:40:42 +02:00
Samuel Ortiz
1853b350ee
cloud-hypervisor: Add devices crate
...
Based on the Firecracker devices crate from commit 9cdb5b2.
It is a trimmed down version compared to the Firecracker one, to remove
a bunch of pulled dependencies (logger, metrics, rate limiter, etc...).
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
2019-05-08 08:40:42 +02:00
Samuel Ortiz
7e2d1aca2d
vmm: Boot kernel
...
Our command line was not copied properly since we were not allocating
enough space for it.
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
2019-05-08 08:40:42 +02:00
Samuel Ortiz
044f664135
vmm: Set CPUID
...
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
2019-05-08 08:40:42 +02:00
Samuel Ortiz
0921cfb8f8
vmm: Basic Vcpu implementation
...
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
2019-05-08 08:40:38 +02:00
Samuel Ortiz
539367b58c
cloud-hypervisor: Initial kernel booting implementation
...
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
2019-05-07 18:49:51 +02:00
Samuel Ortiz
a0da3deb5e
cloud-hypervisor: Call into the test_vm() routine
...
test_vm is a dummy VM workload, we use it to test our initial VMM
settings.
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
2019-05-07 16:06:21 +02:00
Samuel Ortiz
16f2bedbb7
cloud-hypervisor: Add a vmm crate
...
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
2019-05-07 16:03:24 +02:00