summaryrefslogtreecommitdiff
path: root/debvm-run
AgeCommit message (Collapse)Author
2023-01-11move the debvm-* tools to binHelmut Grohne
The purpose of this change is adding support files to be referenced and called from these tools. Those support files shall be located in ../share and this way of locating them shall work both in-source and when installed.
2023-01-07use more perlpod formatting codesHelmut Grohne
2023-01-07debvm-run: add an example (I always forget about the -snapshot option)Johannes Schauer Marin Rodrigues
2023-01-03more docs for the ssh optionsJohannes Schauer Marin Rodrigues
2023-01-01debvm-run: support riscv64Helmut Grohne
2022-12-28update pod2man documentationHelmut Grohne
* Rename debvm-create -s to -z. * Add long options. * Improve documentation of debvm-create -p and -z.
2022-12-28Merge branch main into branch pod2manHelmut Grohne
This merge picks up long options and the -s to -z rename.
2022-12-27support long optionsHelmut Grohne
This change extends option parsing of the debvm tools: * Uses posix getopts. No additional dependencies. * Long option are supported. The option value may be a separate argument or separated with =. * Option value may follow short option immediately, e.g. -as390x * Multiple short options may be combined, e.g. -gs 2222 Technical limitation: * Short options are parsed inside a double dash, e.g. -g-image=rootfs.ext4
2022-12-27debvm-run: reenable smp for realHelmut Grohne
An empty MAX_SMP was supposed to mean "no limit", but it actually caused the -smp flag to be skipped entirely. Fixes: f3caaf885cf4 ("debvm-run: reenable smp for ppc64el")
2022-12-23another documentation improvement I missed earlierHelmut Grohne
Reported-by: Johannes Schauer Marin Rodrigues <josch@mister-muffin.de>
2022-12-23improve documentation wording and contentHelmut Grohne
Reported-by: Johannes Schauer Marin Rodrigues <josch@mister-muffin.de>
2022-12-23standardize on image name rootfs.ext4Helmut Grohne
Reported-by: Johannes Schauer Marin Rodrigues <josch@mister-muffin.de>
2022-12-23add documentation in pod2man formatHelmut Grohne
Fixes: #2
2022-12-23Merge branch main into branch dnsHelmut Grohne
This allows using the newly added DEBVER variable.
2022-12-23Revert "debvm-run: allow -smp 2 for mipsel"Helmut Grohne
This reverts commit cb3bc614a76ca2155ce01e5feb0a15e639ee8a39. Still hangs for Jochen. Let's not investigate further.
2022-12-23debvm-run: allow -smp 2 for mipselHelmut Grohne
2022-12-23debvm-run: reenable smp for ppc64elHelmut Grohne
Fixes: aadbcc92761c ("Support mips* (Closes: #1)")
2022-12-23debvm-run: change dhcp option for dns searchHelmut Grohne
systemd on Debian stretch does not yet understand dnssearch aka dhcp option 119 and ignores it. Instead we pass it as domain name aka dhcp option 15. This option can only specify one name, which is what we do already. Beyond extending the search list, it may also affect the fqdn of the VM, but this shouldn't hurt.
2022-12-22fix local dns searchHelmut Grohne
Previously, the /etc/resolv.conf was inherited from the host. It would thus also inherit the search domains. Now, the generated image lacks the host's resolv.conf and thus it search domains. This is good for reproducibility. In order to continue resolving plain host names, we tell qemu to serve the search domain via dhcp and we tell networkd to trust the dhcp server's domains. Signed-off-by: Jochen Sprickerhof <git@jochen.sprickerhof.de>
2022-12-22Support mips* (Closes: #1)Jochen Sprickerhof
2022-12-22give the ext4 image a disk labelJohannes Schauer Marin Rodrigues
- this allows the kernel cmdline and fstab to refer to it by label instead of by /dev/sda or /dev/vda (depending on whether the disk is attached to qemu via virtio or not) - it allows other consumers of the image to detect that this is an image created by debvm and then treat it accordingly
2022-12-21debvm-run: pass rw in the kernel command lineHelmut Grohne
This originates from !3 and helps with root file systems that lack a /etc/fstab. Reported-by: Jochen Sprickerhof <git@jochen.sprickerhof.de>
2022-12-21debvm-run: use unsafe cache for more performanceJohannes Schauer Marin Rodrigues
2022-12-21debvm-run: set the name for the process and SDL window captionJohannes Schauer Marin Rodrigues
2022-12-21debvm-run: no need for true randomness -- use /dev/urandom to be fasterJohannes Schauer Marin Rodrigues
2022-12-21attach the disk via virtio interface for some speed gain and to unify the ↵Johannes Schauer Marin Rodrigues
device node to be vda always
2022-12-21debvm-run: run qemu with -no-user-configJohannes Schauer Marin Rodrigues
2022-12-21debvm-run: on arm64 there is no default machine -- set oneJohannes Schauer Marin Rodrigues
2022-12-21debvm-run: if mmdebstrap failed, the image file might exist but have zero ↵Johannes Schauer Marin Rodrigues
size -- test for that
2022-12-21debvm-run: drop unnecessary -M option for s390xHelmut Grohne
2022-12-21vague mipsen supportHelmut Grohne
The resulting image doesn't boot and has no console output.
2022-12-21debvm-run: improve error message for bad imagesHelmut Grohne
2022-12-21support ppc64elHelmut Grohne
2022-12-21support i386Helmut Grohne
2022-12-21make it work for armhfHelmut Grohne
* Pick the right kernel image * The disk is vda * Use the right qemu and pass the right flags Reported-by: Jochen Sprickerhof <git@jochen.sprickerhof.de>
2022-12-21debvm-run: skip kvm-specific options when kvm is unavailableHelmut Grohne
2022-12-21debvm-run: allow running without kvmHelmut Grohne
The kvm binary will still opt into kvm when available.
2022-12-20initial checkinHelmut Grohne