Searched +full:qemu +full:- +full:system +full:- (Results 1 – 13 of 13) sorted by relevance
/kvm-unit-tests/x86/ |
H A D | README | 2 Tests for the x86 architecture are run as kernel images for qemu that support 4 The infrastructure initialize the system/cpus, switches to long-mode, and 5 calls the 'main' function of the individual test. Tests use a qemu virtual 12 Using qemu-kvm: 14 qemu-kvm -device testdev,chardev=testlog \ 15 -chardev file,id=testlog,path=msr.out \ 16 -serial stdio -kernel ./x86/msr.flat 18 Using qemu (supported since qemu 1.3): 20 qemu-system-x86_64 -enable-kvm -device pc-testdev -serial stdio \ 21 -device isa-debug-exit,iobase=0xf4,iosize=0x4 \ [all …]
|
H A D | asyncpf.c | 7 * stat -fc %T /sys/fs/cgroup/ 9 * If the output is tmpfs, your system is using cgroup v1: 12 * mount -t cgroup none -omemory /dev/cgroup 15 * From a shell you will start qemu from: 20 * If the output is cgroup2fs, your system is using cgroup v2: 91 virt = (void*)((ulong)(buf+i) & ~(PAGE_SIZE-1)); in handle_pf()
|
/kvm-unit-tests/ |
H A D | .gitlab-ci.yml | 4 - dnf update -y 5 - dnf install -y make python 15 - logs 23 - build/logs 25 build-aarch64: 28 - dnf install -y qemu-system-aarch64 gcc-aarch64-linux-gnu 29 - ./configure --arch=aarch64 --cross-prefix=aarch64-linux-gnu- 30 - make -j2 31 - ACCEL=tcg MAX_SMP=8 ./run_tests.sh 33 debug-bp [all …]
|
H A D | .travis.yml | 11 - arch: ppc64le 13 apt_packages: clang qemu-system-ppc 15 - CONFIG="--arch=ppc64 --endian=little --cc=clang --cflags=-no-integrated-as" 16 - TESTS="emulator rtas-get-time-of-day rtas-get-time-of-day-base 17 rtas-set-time-of-day selftest-setup spapr_hcall" 19 - arch: s390x 22 apt_packages: clang-11 qemu-system-s390x 24 - CONFIG="--arch=s390x --cc=clang-11 --cflags=-no-integrated-as" 25 - TESTS="" 28 - mkdir -p build && cd build [all …]
|
H A D | README | 1 # Welcome to kvm-unit-tests 3 See http://www.linux-kvm.org/page/KVM-unit-tests for a high-level 18 NOTE: GCC cross-compiler is required for [build on macOS](README.macOS.md). 20 ## Cross-compiling 25 ./configure --arc [all...] |
H A D | README.md | 1 # Welcome to kvm-unit-tests 3 See http://www.linux-kvm.org/page/KVM-unit-tests for a high-level 18 NOTE: GCC cross-compiler is required for [build on macOS](README.macOS.md). 20 ## Cross-compiling 25 ./configure --arch=arm64 --cross-prefix=aarch64-linux-gnu- 32 ./configure --cc=clang 35 clang may also be used with cross binutils when cross-compiling. For example, 38 ./configure --arch=riscv64 --cc=clang --cflags='--target=riscv64' \ 39 --cross-prefix=riscv64-linux-gnu- 48 (send tests/some-test somewhere) [all …]
|
H A D | configure | 3 if [ -z "${BASH_VERSINFO[0]}" ] || [ "${BASH_VERSINFO[0]}" -lt 4 ] ; then 4 echo "Error: Bash version 4 or newer is required for the kvm-unit-tests" 15 echo "cortex-a15" 18 echo "cortex-a57" 33 echo "cortex-a15" 51 arch=$(uname -m | sed -e 's/i.86/i386/;s/arm64/aarch64/;s/arm.*/arm/;s/ppc64.*/ppc64/') 72 # Enable -Werror by default for git repositories only (i.e. developer builds) 73 if [ -e "$srcdir"/.git ]; then 74 werror=-Werror 81 [ -z "$processor" ] && processor=$(get_default_processor $arch) [all …]
|
/kvm-unit-tests/arm/ |
H A D | run | 3 if [ -z "$KUT_STANDALONE" ]; then 4 if [ ! -f config.mak ]; then 5 echo "run ./configure && make first. See ./configure -h" 9 source scripts/arch-run.bash 19 if [ "$QEMU" ] && [ -z "$ACCEL" ] && 21 [ "$(basename $QEMU)" = "qemu-system-arm" ]; then 30 qemu=$(search_qemu_binary) || 33 if ! $qemu -machine '?' | grep -q 'ARM Virtual Machine'; then 34 echo "$qemu doesn't support mach-virt ('-machine virt'). Exiting." 38 M='-machine virt' [all …]
|
/kvm-unit-tests/x86/efi/ |
H A D | run | 3 set -e 5 if [ $# -eq 0 ]; then 10 if [ ! -f config.mak ]; then 11 echo "run './configure --enable-efi && make' first. See ./configure -h" 18 : "${EFI_TEST:=efi-tests}" 22 if [ ! -f "$EFI_UEFI" ]; then 36 # Prepare EFI boot file system 37 # - Copy .efi file to host dir $EFI_TEST/$EFI_CASE/EFI/BOOT/BOOTX64.EFI 38 # This host dir will be loaded by QEMU as a FAT32 image 39 # - UEFI firmware by default loads the file EFI/BOOT/BOOTX64.EFI [all …]
|
/kvm-unit-tests/lib/s390x/ |
H A D | hardware.c | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 3 * Functions to retrieve information about the host system. 20 /* The string "QEMU" in EBCDIC */ 38 * If the manufacturer string is "QEMU" in EBCDIC, then we in do_detect_host() 50 if (!memcmp(&stsi_322->vm[0].cpi, kvm_ebcdic, sizeof(kvm_ebcdic))) in do_detect_host()
|
/kvm-unit-tests/ci/ |
H A D | cirrus-ci-fedora.yml | 9 - dnf update -y 10 - dnf install -y diffutils gcc git make qemu-system-x86 12 - git clone --depth 100 "@CI_REPOSITORY_URL@" . 13 - git fetch origin "@CI_COMMIT_REF_NAME@" 14 - git reset --hard "@CI_COMMIT_SHA@" 16 - uname -r 17 - sed -n "/processor.*:.0/,/^$/p" /proc/cpuinfo 18 - mkdir build 19 - cd build 20 - ../configure [all …]
|
/kvm-unit-tests/s390x/ |
H A D | stsi.c | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * Store System Information tests 14 #include <asm/asm-offsets.h> 31 stsi(pagebuf, 0, BIT(63 - i), 0); in test_specs() 39 stsi(pagebuf, 1, 0, BIT(63 - i)); in test_specs() 46 cc = stsi(pagebuf, 3, 2 | BIT(63 - i), 2); in test_specs() 53 cc = stsi(pagebuf, 3, 2, 2 | BIT(63 - i)); in test_specs() 88 /* EBCDIC for "kvm-unit" */ in test_3_2_2() 96 const char vm_name_ext[] = "kvm-unit-test"; in test_3_2_2() 110 /* For now we concentrate on KVM/QEMU */ in test_3_2_2() [all …]
|
/kvm-unit-tests/scripts/ |
H A D | arch-run.bash | 6 echo -n "$@" 7 [ "$ENVIRON_DEFAULT" = "yes" ] && echo -n " #" 14 exec {stdout}>&- 28 exec {stdout}>&- 30 if [ $ret -eq 1 ]; then 31 testret=$(grep '^EXIT: ' <<<"$lines" | head -n1 | sed 's/.*STATUS=\([0-9][0-9]*\).*/\1/') 33 if [ $testret -eq 1 ]; then 50 s=${TIMEOUT: -1} 52 TIMEOUT=${TIMEOUT:0:-1} 57 echo "timeout -k 1s --foreground $TIMEOUT" [all …]
|