Harald Hoyer
e010f45524
fix(test/run-qemu): shellcheck for test/run-qemu
4 years ago
Harald Hoyer
75d758e8f1
style: shfmt -s reformat
...
reproducible with:
```
$ shfmt_version=3.0.1
$ wget "https://github.com/mvdan/sh/releases/download/v${shfmt_version}/shfmt_v${shfmt_version}_linux_amd64 " -O shfmt
$ chmod u+x shfmt
$ ./shfmt -w -s .
```
4 years ago
Harald Hoyer
9a52c3fdb0
style: shfmt reformat
...
reproducible with:
```
$ shfmt_version=3.0.1
$ wget "https://github.com/mvdan/sh/releases/download/v${shfmt_version}/shfmt_v${shfmt_version}_linux_amd64 " -O shfmt
$ chmod u+x shfmt
$ ./shfmt -w .
```
4 years ago
Harald Hoyer
a3f73298f2
testsuite: refactor qemu options
...
- refactor common qemu options
- fix the ens[0-9] interface shift
- add split network-[legacy|network] tests
5 years ago
Harald Hoyer
4b60a34715
Revert "test: run-qemu refactor common qemu parameters"
...
This reverts commit 77537bf2d7
.
Sorry, for the noise!
5 years ago
Harald Hoyer
7374391434
Revert "test/run-qemu: add "-serial stdio""
...
This reverts commit c6c588d648
.
5 years ago
Harald Hoyer
c6c588d648
test/run-qemu: add "-serial stdio"
5 years ago
Harald Hoyer
77537bf2d7
test: run-qemu refactor common qemu parameters
5 years ago
Harald Hoyer
4bd0ab61b2
test: remove "sudo" calls in test scripts
5 years ago
Daniel Molkentin
c226bfdda7
test: Provide host's randomness via virtio
5 years ago
Harald Hoyer
cafe6675c2
test/run-qemu: move -cpu host to kvm args
7 years ago
Harald Hoyer
b7774da97c
might even run without kvm
7 years ago
Daniel Molkentin
ce999bff98
Tests: find qemu on (open)SUSE systems
8 years ago
Harald Hoyer
bdd626059c
test/run-qemu: make "-cpu host" the default
8 years ago
Harald Hoyer
97ff396a97
run-qemu: default kernel to "/lib/modules/${KVERSION}/vmlinuz"
...
newer Fedora kernel install the kernel to /lib/modules
10 years ago
Harald Hoyer
87ae968810
test/run-qemu: specify the kernel
12 years ago
Harald Hoyer
709302e3cc
run-qemu: add /usr/libexec/qemu-kvm to search
15 years ago
Harald Hoyer
e5ccf5eb93
run-qemu: specify PATH
16 years ago
Harald Hoyer
2f692e8ff8
silently run qemu
16 years ago
Harald Hoyer
008bb4f22c
/dev/kvm is a char device
16 years ago
Harald Hoyer
2281815799
set u+x for run-qemu
16 years ago
Andreas Thienemann
8a4b60d9b2
Support different virtualization technologies for run-qemu.
...
If the host supports kvm, use is. If this is not the case but the kqemu
module is loaded, run qemu with kqemu optimization. Otherwise fall-back to
pure usermode qemu.
16 years ago
Victor Lowther
ac6da96cc8
Make running qemu a little more generic
...
Also create the root filesystem from within the virtual env, this way there
will be no nasty suprises w.r.t interactions with the host machine. This
is important when we test booting to LVM, LUKS, and mdraid.
16 years ago