Rob Bradford
d2db34edf2
vmm: Hide underlying console setup from VM
...
Refactor the underlying console details into the DeviceManager and
abstract away.
Signed-off-by: Rob Bradford <robert.bradford@intel.com>
2019-09-06 09:26:37 -07:00
Rob Bradford
d089ee4e25
vmm: Move ownership of the exit/reset EventFd to Vm structure
...
It makes more sense there as it is used by more than just the
DeviceManager.
Signed-off-by: Rob Bradford <robert.bradford@intel.com>
2019-09-06 09:26:37 -07:00
Rob Bradford
2f4de81175
vmm: Access ioapic/io_bus/mmio_bus from DeviceManager via accessor
...
This paves the way for introducing a trait for the DeviceManager.
Signed-off-by: Rob Bradford <robert.bradford@intel.com>
2019-09-06 09:26:37 -07:00
Rob Bradford
9ac967e3d8
vmm: Split DeviceManager into it's own file
...
Refactor out DeviceManager into it's own file. This is part of a bigger
effort to reduce complexity in the vm.rs file but will also allow future
separation to allow making PCI support optional.
Signed-off-by: Rob Bradford <robert.bradford@intel.com>
2019-09-06 09:26:37 -07:00