diff options
author | Alyssa Ross <hi@alyssa.is> | 2022-10-09 11:40:31 +0000 |
---|---|---|
committer | Alyssa Ross <hi@alyssa.is> | 2022-11-13 23:58:25 +0000 |
commit | 4ad855540f183d4ce39e57f3e1b6f6bc006cae95 (patch) | |
tree | f51f213451fe6b6410f97a1e72f6b8cba0210502 /Documentation | |
parent | 435a82a9d09e6aaca27402a45756de1abd37437f (diff) | |
download | spectrum-4ad855540f183d4ce39e57f3e1b6f6bc006cae95.tar spectrum-4ad855540f183d4ce39e57f3e1b6f6bc006cae95.tar.gz spectrum-4ad855540f183d4ce39e57f3e1b6f6bc006cae95.tar.bz2 spectrum-4ad855540f183d4ce39e57f3e1b6f6bc006cae95.tar.lz spectrum-4ad855540f183d4ce39e57f3e1b6f6bc006cae95.tar.xz spectrum-4ad855540f183d4ce39e57f3e1b6f6bc006cae95.tar.zst spectrum-4ad855540f183d4ce39e57f3e1b6f6bc006cae95.zip |
host/start-vm: support multiple block devices
This is the first step to being able to do things like having a static base image for an application VM, and another image containing the application to run. When we actually use multiple images we'll need to change how we boot so we know the kernel is booting from the right image — probably by PARTUUID or PARTLABEL — because we can't guarantee how the kernel orders disks inside the VM. Signed-off-by: Alyssa Ross <hi@alyssa.is> Message-Id: <20221009114036.463071-2-hi@alyssa.is>
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/getting-started/creating-vms.adoc | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/Documentation/getting-started/creating-vms.adoc b/Documentation/getting-started/creating-vms.adoc index 725316c..a2ad952 100644 --- a/Documentation/getting-started/creating-vms.adoc +++ b/Documentation/getting-started/creating-vms.adoc @@ -16,8 +16,9 @@ The directory can contain the following files: vmlinux:: An uncompressed Linux kernel image for the VM to boot. *Required.* -rootfs.ext4:: A disk image that will be provided to the guest as a -virtio-blk device. *Required.* +blk:: A directory containing disk images (with file names ending in +".img") that will be provided to the guest as a virtio-blk device. +Order is not guaranteed. At least one image is *required*. providers/net:: A directory containing a file named for each VM that should provide networking to this VM. The contents of these files are @@ -34,7 +35,8 @@ appvm-lynx ├── providers/ │ └── net/ │ └── netvm -├── rootfs.ext4 +├── blk/ +│ └── root.img └── vmlinux* ---- |