summary refs log tree commit diff
path: root/Cargo.lock
diff options
context:
space:
mode:
authorDylan Reid <dgreid@chromium.org>2018-07-23 17:58:09 -0700
committerchrome-bot <chrome-bot@chromium.org>2018-09-10 17:17:35 -0700
commit059a188d0dd7162315c1e15b8e11d1db8bf3e832 (patch)
tree50cb7cf60e92dccf6109fdb860a47174b95fe07d /Cargo.lock
parent7621d910f56ff85400b252f88fdef324a1cc13d6 (diff)
downloadcrosvm-059a188d0dd7162315c1e15b8e11d1db8bf3e832.tar
crosvm-059a188d0dd7162315c1e15b8e11d1db8bf3e832.tar.gz
crosvm-059a188d0dd7162315c1e15b8e11d1db8bf3e832.tar.bz2
crosvm-059a188d0dd7162315c1e15b8e11d1db8bf3e832.tar.lz
crosvm-059a188d0dd7162315c1e15b8e11d1db8bf3e832.tar.xz
crosvm-059a188d0dd7162315c1e15b8e11d1db8bf3e832.tar.zst
crosvm-059a188d0dd7162315c1e15b8e11d1db8bf3e832.zip
Arch: Big refactor and add an empty PCI bus
When setting up IO, accept an optional PciRoot device to put on the IO
bus.

For aarch64, it's currently ignored. For x86_64, it will be added at
0xcf8.

 break up mmio device creation and registration

Moving forward registration will be handled by the architecture specific
code. However, creation will be handled by the common code. To make that
easier split up the two steps so a list of devices is created, then each
is registered later.

Start moving to a model where the configuration generates a set of
components that are passed to the architecture. The architecture will
crate a VM from the components.

Break up the big run_config function and move architecture specific
parts to the various architectures.

This doesn't refactor the function calls each architecture makes, but
moves the setup flow in to the arch impls so that they can diverge in
the future.

Change-Id: I5b10d092896606796dc0c9afc5e34a1b288b867b
Signed-off-by: Dylan Reid <dgreid@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/1099860
Commit-Ready: Daniel Verkamp <dverkamp@chromium.org>
Tested-by: Daniel Verkamp <dverkamp@chromium.org>
Diffstat (limited to 'Cargo.lock')
-rw-r--r--Cargo.lock1
1 files changed, 1 insertions, 0 deletions
diff --git a/Cargo.lock b/Cargo.lock
index 4eb57b9..8ac7e4f 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -29,6 +29,7 @@ name = "arch"
 version = "0.1.0"
 dependencies = [
  "devices 0.1.0",
+ "io_jail 0.1.0",
  "kernel_cmdline 0.1.0",
  "kvm 0.1.0",
  "libc 0.2.40 (registry+https://github.com/rust-lang/crates.io-index)",