summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2023-02-05debvm-create: install systemd-sysv rather than initHelmut Grohne
We actually expect systemd in the network configuration. Be more honest about this.
2023-02-05debian: autopkgtest: do away with fakerootHelmut Grohne
Use two tests. One in --mode=root and another skippable one in --mode=unshare. The latter will likely be skipped on Debian infrastructure.
2023-02-03Merge branch tar-output into mainHelmut Grohne
Closes: !29
2023-02-03debvm-create: update documentation for --skip=ext4Helmut Grohne
2023-02-02debvm-create: Output image in tar format if step "ext4" is skippedGioele Barabucci
Outputting the image in tar format breaks interoperability with `debvm-run`, but makes it easier to inspect, convert or perform additional modifications of the generated image.
2023-02-02debvm-run: deal with arbitrary disk labelsHelmut Grohne
Reported-by: Gioele Barabucci <gioele@svario.it> Closes: #1030255
2023-02-02debvm-create: make the ext4 look more like ext4Helmut Grohne
One notable difference remains. metadata_csum keeps missing as tune2fs insists on doing this interactively only. Reported-by: Gioele Barabucci <gioele@svario.it> Closes: #1030252
2023-02-01debian: add qemu as test triggerHelmut Grohne
It's only a trigger for s390x yet, due to being a dependency of debvm otherwise.
2023-01-27upload as 0.2.6 to unstable in another attempt at autopkgtestsHelmut Grohne
2023-01-27debian: autopkgtest: disable on armel and armhf as they're too slowHelmut Grohne
2023-01-27debian: autopkgtest: stop triggering on unused 686-pae kernel imageHelmut Grohne
2023-01-27debian: autopkgtests: depend on suitably recent fakechrootHelmut Grohne
2023-01-26debian: autopkgtest needs file on i386 to refine arch guessHelmut Grohne
2023-01-26debvm-run: be a bit more verbose about detected architectureHelmut Grohne
2023-01-25upload as 0.2.5 to unstableHelmut Grohne
2023-01-25Merge branch 'multiarch' into 'main'Helmut Grohne
install and use multiarch kernels for sibling architectures See merge request helmutg/debvm!28
2023-01-25debvm-run: always pass gic-version=max for arm64Helmut Grohne
We already pass it in the kvm case where it should become host and all should be fine. However in the non-kvm case, the default gic can only support 8 cores. If we want to go beyond that, we need a higher gic-version. We couldn't measure a performance difference between max and unset, so we'll just always pass max. Thanks: Arnd Bergmann <arnd@arndb.de> Thanks: Johannes Schauer Marin Rodrigues <josch@debian.org>
2023-01-25debvm-run: disable kvm for armhf -> arm64 when the cpu cannot run itHelmut Grohne
Reported-by: Arnd Bergmann <arnd@arndb.de>
2023-01-25debvm-run: internally differentiate between VMARCH and KERNELARCHHelmut Grohne
In a multiarch setting, VMARCH shall describe the contained userland and KERNELARCH shall describe the architecture of the contained kernel.
2023-01-25debvm-run: make shellcheck happyHelmut Grohne
Fixes: 66b9374cc19c ("debvm-run: extract kernel image before inspecting it")
2023-01-25debvm-run: also handle upgrading armHelmut Grohne
elf-arch may report armel and armhf as arm.
2023-01-25debvm-run: extract kernel image before inspecting itHelmut Grohne
Reported-by: Arnd Bergmann <arnd@arndb.de>
2023-01-25tests: use an amd64 kernel on i386Helmut Grohne
2023-01-25debvm-create: handle multiarch kernel for 32bit+64bit armHelmut Grohne
2023-01-25debvm-run: handle some multiarch kernelsHelmut Grohne
We completely treat all 32bit arm as armhf now. Booting the rpi kernel installed by debvm-create for armel will not work at all. The only sane way to boot armel is to enable a multiarch kernel. Refine the VMARCH guess from /bin/true using the file output for the kernel image for the common cases of i386+amd64 and armel/armhf+arm64.
2023-01-24debvm-run: do not pass -smp on unicore systemsHelmut Grohne
2023-01-24tests: add armel with an armhf kernelHelmut Grohne
2023-01-24debvm-create: install better kernels in multiarch caseHelmut Grohne
While this works for armel+armhf by sheer luck, debvm-run fails for i386+amd64 as it selects qemu-system-i386.
2023-01-24debvm-create: fix parsing dpkg architecture in multiarch caseHelmut Grohne
2023-01-24tests: bump up timeout for create-and-run.shHelmut Grohne
Timeouts were hit on salsa-ci for arm64 occasionally. The armhf autopkgtest also runs into this timeout.
2023-01-23upload debvm/0.2.4 to unstableHelmut Grohne
2023-01-23debian: fix placement of general mmdebstrap hooksHelmut Grohne
2023-01-22debvm-run: arm virt machine cannot do more than 8 coresHelmut Grohne
2023-01-22debv-run: apply smp limits for the native caseHelmut Grohne
This was never tried, but autopkgtests indicate that smp limits also apply to the native case.
2023-01-21upload 0.2.3 to unstableHelmut Grohne
2023-01-21fix ftbfs: cannot use arch restriction for arch:all packageHelmut Grohne
2023-01-21upload the "try to fix autopkgtests" relase as 0.2.2 to unstableHelmut Grohne
2023-01-21debvm-run: also avoid pci networking for m68kHelmut Grohne
2023-01-21debvm-run: refactor rng deviceHelmut Grohne
It's not as simple as disabling the rng when pci is unavailable. For m68k, we can select -machine virt and then we can have a virtio-rng-device. Thus make that part configurable.
2023-01-21debvm-run: use gic-version=max for arm64Helmut Grohne
While the host version only works on kvm, max means the same and also works on tcg. Signed-off-by: Johannes Schauer Marin Rodrigues <josch@debian.org> Signed-off-by: Helmut Grohne <helmut@subdivi.de>
2023-01-21debvm-run: skip virtio-rng-pci for architectures that lack pciHelmut Grohne
Fixes: aee1eb3d1c28 ("debvm-run: no need for true randomness -- use /dev/urandom to be faster")
2023-01-21debvm-create: try rpi kernel for armelHelmut Grohne
marvell seems deprecated. Suggested by Jochen Sprickerhof.
2023-01-21debvm-run: also pass reasonable -cpu for native non-kvmHelmut Grohne
2023-01-21debvm-run: prefer qemu-system-* over kvmHelmut Grohne
Now that we pass accel=kvm:tcg, there is no difference anymore.
2023-01-21debvm-run: pass -M accel=kvm:tcg rather than -enable-kvmHelmut Grohne
-enable-kvm is equivalent to -M accel=kvm, but we allow a fallback to tcg in case kvm is not available thus shifting this test into qemu. Reported-by: Bastian Blank <waldi@debian.org> Reported-by: Johannes Schauer Marin Rodrigues <josch@debian.org>
2023-01-21debian: work around qemu-system-misc not providing qemu-kvm on s390xHelmut Grohne
This is a workaround for https://bugs.debian.org/1029309
2023-01-21debvm-run: only pass gic-version when kvm is availableHelmut Grohne
Fixes: bfaa3d124fab ("debvm-run: on arm64 there is no default machine -- set one")
2023-01-21extend bios recommendationsHelmut Grohne
* ppc64el needs seabios for vgabios-stdvga.bin * We need ipxe-qemu for -device virtio-net-pci,netdev=net0
2023-01-21debvm-run: compute -machine independently of being nativeHelmut Grohne
When running on armhf natively, there also is no default machine, so we should also pass -machine virt there. That likely affects all arms and riscv64 as well.
2023-01-20use ssh option NoHostAuthenticationForLocalhostHelmut Grohne