/qemu/scripts/ |
H A D | archive-source.sh | 10 # the COPYING file in the top-level directory. 17 if test $# -lt 1; then 22 sub_tdir=$(mktemp -d "${tar_file%.tar}.sub.XXXXXXXX") 29 subprojects="keycodemapdb libvfio-user berkeley-softfloat-3 30 berkeley-testfloat-3 anyhow-1-rs arbitrary-int-1-rs bilge-0.2-rs 31 bilge-impl-0.2-rs either-1-rs foreign-0.3-rs itertools-0.11-rs 32 libc-0.2-rs proc-macro2-1-rs 33 proc-macro-error-1-rs proc-macro-error-attr-1-rs quote-1-rs 34 syn-2-rs unicode-ident-1-rs" 39 rm -rf "$sub_tdir" [all …]
|
H A D | clean-header-guards.pl | 12 # top-level directory. 14 # Usage: scripts/clean-header-guards.pl [OPTION]... [FILE]... 15 # -c CC Use a compiler other than cc 16 # -n Suppress actual cleanup 17 # -v Show which files are cleaned up, and which are skipped 20 # - Header files without a recognizable header guard are skipped. 21 # - Clean up any untidy header guards in-place. Warn if the cleanup 24 # - Warn about duplicate header guard symbols. To make full use of 26 # - Warn when preprocessing a header with its guard symbol defined 28 # "cc -E -DGUARD_H -c -P -", and fed the test program on stdin. [all …]
|
H A D | git-submodule.sh | 4 # the COPYING file in the top-level directory. 6 substat=".git-submodule-status" 12 test -z "$maybe_modules" && exit 0 13 test -z "$GIT" && GIT=$(command -v git) 18 if ! test -e ".git"; then 20 elif test -z "$GIT"; then 25 test -z "$no_git_error" 36 echo " $ ./configure --disable-download" 40 echo " $ GIT='tsocks git' scripts/git-submodule.sh update $modules" 49 echo " scripts/git-submodule.sh update $maybe_modules" [all …]
|
H A D | kernel-doc | 2 # SPDX-License-Identifier: GPL-2.0-only 10 ## Copyright (C) 2005-2012 Randy Dunlap ## 19 # 18/01/2001 - Cleanups 22 # -- huggie@earth.li 24 # 27/06/2001 - Allowed whitespace after initial "/**" and 26 # -- Christian Kreibich <ck@whoop.org> 29 # - add perldoc documentation 30 # - Look more closely at some of the scarier bits :) 32 # 26/05/2001 - Support for separate source and object trees. 36 # 23/09/2001 - Added support for typedefs, structs, enums and unions [all …]
|
H A D | get_maintainer.pl | 9 # perl scripts/get_maintainer.pl [OPTIONS] -f <file> 36 my $email_git_since = "1-year-ago"; 37 my $email_hg_since = "-365"; 68 push(@signature_tags, "Signed-off-by:"); 69 push(@signature_tags, "Reviewed-by:"); 70 push(@signature_tags, "Acked-by:"); 74 # rfc822 email address - preloaded methods go here. 76 my $rfc822_char = '[\\000-\\377]'; 78 # VCS command support: class-like functions and strings 84 "available" => '(which("git") ne "") && (-e ".git")', [all …]
|
H A D | checkpatch.pl | 5 # (c) 2008-2010 Andy Whitcroft <apw@canonical.com> 49 $P [OPTION]... [GIT-REV-LIST] 54 -q, --quiet quiet 55 --no-tree run without a qemu tree 56 --no-signoff do not check for 'Signed-off-by' line 57 --patch treat FILE as patchfile 58 --branch treat args as GIT revision list 59 --emacs emacs compile window format 60 --terse one line per report 61 -f, --file treat FILE as regular source file [all …]
|
H A D | rdma-migration-helper.sh | 6 ip -4 -o addr show dev "$1" | 7 sed -n 's/.*[[:blank:]]inet[[:blank:]]*\([^[:blank:]/]*\).*/\1/p' | 8 head -1 | tr -d '\n' 12 ipv6=$(ip -6 -o addr show dev "$1" | 13 sed -n 's/.*[[:blank:]]inet6[[:blank:]]*\([^[:blank:]/]*\).*/\1/p' | 14 head -1 | tr -d '\n') 16 [ $? -eq 0 ] || return 19 echo -n "[$ipv6%$1]" 21 echo -n "[$ipv6]" 28 rdma link show | sed -nE 's/^link .* netdev ([^ ]+).*$/\1 /p' | [all …]
|
H A D | make-release | 1 #!/bin/bash -e 11 # See the COPYING file in the top-level directory. 14 if test ! -f "$src/subprojects/$1.wrap"; then 15 echo "scripts/archive-source.sh should only process wrap subprojects" 22 # named "[wrap-*]", which helps keeping the script simple. 24 dir=$(sed -n \ 25 -e '/^\[wrap-[a-z][a-z]*\]$/,/^\[/{' \ 26 -e '/^directory *= */!b' \ 27 -e 's///p' \ 28 -e 'q' \ [all …]
|
/qemu/target/mips/tcg/ |
H A D | octeon.decode | 5 # SPDX-License-Identifier: LGPL-2.1-or-later 40 SEQNE 011100 rs:5 rt:5 rd:5 00000 10101 ne:1 41 SEQNEI 011100 rs:5 rt:5 imm:s10 10111 ne:1
|
H A D | octeon_translate.c | 2 * Octeon-specific instructions translation routines 6 * SPDX-License-Identifier: GPL-2.0-or-later 11 #include "tcg/tcg-op-gvec.h" 13 /* Include the auto-generated decoder. */ 14 #include "decode-octeon.c.inc" 20 if (ctx->hflags & MIPS_HFLAG_BMASK) { in trans_BBIT() 22 ctx->base.pc_next); in trans_BBIT() 29 gen_load_gpr(t0, a->rs); in trans_BBIT() 31 p = tcg_constant_tl(1ULL << a->p); in trans_BBIT() 32 if (a->set) { in trans_BBIT() [all …]
|
/qemu/tests/tcg/aarch64/ |
H A D | test-2248.c | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 2 /* See https://gitlab.com/qemu-project/qemu/-/issues/2248 */ 14 "csetm x14, ne\n\t" in test() 26 assert(r == -1); in main()
|
/qemu/scripts/qemu-guest-agent/fsfreeze-hook.d/ |
H A D | mysql-flush.sh.sample | 8 MYSQL_OPTS="-uroot" #"-prootpassword" 9 FIFO=/var/run/mysql-flush.fifo 12 [ -x "$MYSQL" ] && "$MYSQL" $MYSQL_OPTS < /dev/null || exit 0 19 rm -f $FIFO 28 "$MYSQL" $MYSQL_OPTS | tail -1 | cut -f 2)" -gt 0 ]; do 32 INNODB_STATUS=$(mktemp /tmp/mysql-flush.XXXXXX) 33 [ $? -ne 0 ] && exit 2 34 trap "rm -f $INNODB_STATUS; exit 1" HUP INT QUIT ALRM TERM 39 tr -s ' ' | cut -d' ' -f4) 41 tr -s ' ' | cut -d' ' -f5) [all …]
|
/qemu/target/loongarch/tcg/ |
H A D | tlb_helper.c | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 10 #include "qemu/guest-random.h" 14 #include "exec/helper-proto.h" 16 #include "exec/page-protection.h" 18 #include "accel/tcg/cpu-ldst.h" 20 #include "cpu-csr.h" 28 return BIT_ULL(tlb_ps) & (env->CSR_PRCFG2); in check_ps() 39 cs->exception_index = access_type == MMU_INST_FETCH in raise_mmu_exception() 45 cs->exception_index = EXCCODE_PIL; in raise_mmu_exception() 47 cs->exception_index = EXCCODE_PIS; in raise_mmu_exception() [all …]
|
/qemu/host/include/aarch64/host/ |
H A D | atomic128-cas.h | 2 * SPDX-License-Identifier: GPL-2.0-or-later 3 * Compare-and-swap for 128-bit atomic operations, AArch64 version. 14 /* Through gcc 10, aarch64 has no support for 128-bit atomics. */ 16 #include "host/include/generic/host/atomic128-cas.h.inc" 28 "b.ne 1f\n\t" in atomic16_cmpxchg()
|
/qemu/tests/rocker/ |
H A D | bridge | 2 simp create -o sw1:rocker:sw1 tut tut.dot 5 while ! simp ssh tut sw1 --cmd "ping -c 1 localhost >/dev/null"; do sleep 1; done 6 while ! simp ssh tut h1 --cmd "ping -c 1 localhost >/dev/null"; do sleep 1; done 7 while ! simp ssh tut h2 --cmd "ping -c 1 localhost >/dev/null"; do sleep 1; done 9 # configure a 2-port bridge 11 simp ssh tut sw1 --cmd "sudo /sbin/ip link add name br0 type bridge" 12 simp ssh tut sw1 --cmd "sudo /sbin/ip link set dev sw1p1 master br0" 13 simp ssh tut sw1 --cmd "sudo /sbin/ip link set dev sw1p2 master br0" 17 simp ssh tut sw1 --cmd "echo 0 | sudo dd of=/sys/class/net/br0/bridge/default_pvid 2> /dev/null" 21 simp ssh tut sw1 --cmd "sudo /sbin/bridge link set dev sw1p1 learning off" [all …]
|
/qemu/tests/uefi-test-tools/ |
H A D | build.sh | 11 # <http://opensource.org/licenses/bsd-license.php>. 16 set -e -u -C 20 program_name=$(basename -- "$0") 28 export PACKAGES_PATH=$(realpath -- "$edk2_dir") 30 mkdir -p Conf 32 export PYTHON_COMMAND=${EDK2_PYTHON_COMMAND:-python3} 38 set -e -u -C 39 if [ $ret -ne 0 ]; then 43 # Fetch some option arguments, and set the cross-compilation environment (if 45 source "$edk2_dir/../edk2-funcs.sh" [all …]
|
/qemu/tests/tcg/alpha/ |
H A D | test-cond.c | 32 TEST_COND(ne) 54 {test_ge, -1, 0}, 58 {test_gt, -1, 0}, 62 {test_lbc, -1, 0}, 66 {test_lbs, -1, 1}, 70 {test_le, -1, 1}, 74 {test_lt, -1, 1},
|
/qemu/scripts/qemu-guest-agent/ |
H A D | fsfreeze-hook | 3 # This script is executed when a guest agent receives fsfreeze-freeze and 4 # fsfreeze-thaw command, if it is specified in --fsfreeze-hook (-F) 5 # option of qemu-ga or placed in default path (/etc/qemu/fsfreeze-hook). 6 # When the agent receives fsfreeze-freeze request, this script is issued with 7 # "freeze" argument before the filesystem is frozen. And for fsfreeze-thaw 10 LOGFILE=/var/log/qga-fsfreeze-hook.log 11 FSFREEZE_D=$(dirname -- "$0")/fsfreeze-hook.d 13 # Check whether file $1 is a backup or rpm-generated file and should be ignored 16 …rig | *.rpmsave | *.sample | *.dpkg-old | *.dpkg-new | *.dpkg-tmp | *.dpkg-dist | *.dpkg-bak | *.d… 24 [ ! -w "$LOGFILE" ] && USE_SYSLOG=1 [all …]
|
/qemu/tests/tcg/xtensa/ |
H A D | test_mmu.S | 233 l32e a2, a3, -4 /* ring used */ 329 /* Set up page table entry vaddr->paddr, ring=pte_ring, attr=pte_attr 384 /* in: a3 -- virtual address to test */ 400 /* in: a3 -- virtual address to test */ 453 l32e a2, a3, -4 /* ring used */ 457 addi a1, a3, -4 575 .begin no-transform 580 .end no-transform 591 assert ne, a2, a3 685 .begin no-transform [all …]
|
H A D | test_timer.S | 23 assert ne, a3, a4 140 addi a3, a3, -1 172 rsil a2, INTERRUPT_LEVEL(XCHAL_TIMER1_INTERRUPT) - 1 174 addi a3, a3, -1 205 rsil a2, INTERRUPT_LEVEL(XCHAL_TIMER2_INTERRUPT) - 1 207 addi a3, a3, -1 245 addi a3, a3, -1
|
/qemu/plugins/ |
H A D | meson.build | 6 input: files('../include/qemu/qemu-plugin.h'), 7 output: 'qemu-plugin.symbols', 9 command: [files('../scripts/qemu-plugin-symbols.py'), '@INPUT@']) 11 # Modules need more symbols than just those in plugins/qemu-plugins.symbols 16 output: 'qemu-plugins-ld64.symbols', 18 command: ['sed', '-ne', 's/^[[:space:]]*\\(qemu_.*\\);/_\\1/p', '@INPUT@']) 19 emulator_link_args += ['-Wl,-exported_symbols_list,plugins/qemu-plugins-ld64.symbols'] 24 emulator_link_args += ['-Xlinker', '--dynamic-list=' + qemu_plugin_symbols.full_path()] 36 …command: [python, '-c', 'import fileinput, re; print("EXPORTS", end=""); [print(re.sub(r"[{};]", "… 42 win32_qemu_plugin_api_link_flags = ['-Lplugins', '-lqemu_plugin_api'] [all …]
|
/qemu/tests/qemu-iotests/ |
H A D | common.qemu | 30 QEMU_FIFO_IN="${QEMU_TEST_DIR}/qmp-in-$$" 31 QEMU_FIFO_OUT="${QEMU_TEST_DIR}/qmp-out-$$" 53 # If $mismatch_only is set, only non-matching responses will 56 # If $capture_events is non-empty, then any QMP event names it lists 71 # is not set) or ${QEMU_STATUS[$1]} is set to -1 (otherwise). 77 if [ -z "${success_or_failure}" ]; then 88 read_timeout="-t ${QEMU_COMM_TIMEOUT}" 89 if [ -n "${GDB_OPTIONS}" ]; then 95 if [ -n "$capture_events" ]; then 106 ev=$(echo "${resp}" | tr -d '\r' | tr % .) [all …]
|
/qemu/include/tcg/ |
H A D | tcg-cond.h | 37 /* non-signed */ 101 return is_unsigned_cond(c) ? (TCGCond)(c - 8) : c; in tcg_signed_cond() 104 /* Create the eq/ne version of a tsteq/tstne comparison. */ 107 return is_tst_cond(c) ? (TCGCond)(c - 4) : c; in tcg_tst_eqne_cond() 117 * Create a "high" version of a double-word comparison.
|
/qemu/.gitlab-ci.d/ |
H A D | windows.yml | 1 msys2-64bit: 4 - saas-windows-medium-amd64 8 - msys64/var/cache 9 - ccache 20 CONFIGURE_ARGS: --disable-system --enable-tools -Ddebug=false -Doptimization=0 22 GIT_FETCH_EXTRA_FLAGS: --no-tags --prune --quiet 24 name: "$CI_JOB_NAME-$CI_COMMIT_REF_SLUG" 27 - build/meson-logs/testlog.txt 29 junit: "build/meson-logs/testlog.junit.xml" 31 - Write-Output "Acquiring msys2.exe installer at $(Get-Date -Format u)" [all …]
|
/qemu/ |
H A D | .mailmap | 9 # From man git-shortlog the forms are: 19 Andrzej Zaborowski <balrogg@gmail.com> balrog <balrog@c046a42c-6fe2-441c-8c8c-71466251a162> 20 Anthony Liguori <anthony@codemonkey.ws> aliguori <aliguori@c046a42c-6fe2-441c-8c8c-71466251a162> 21 Aurelien Jarno <aurelien@aurel32.net> aurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162> 22 Blue Swirl <blauwirbel@gmail.com> blueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162> 23 Edgar E. Iglesias <edgar.iglesias@gmail.com> edgar_igl <edgar_igl@c046a42c-6fe2-441c-8c8c-71466251a… 24 Fabrice Bellard <fabrice@bellard.org> bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> 25 Jocelyn Mayer <l_indien@magic.fr> j_mayer <j_mayer@c046a42c-6fe2-441c-8c8c-71466251a162> 26 Paul Brook <paul@codesourcery.com> pbrook <pbrook@c046a42c-6fe2-441c-8c8c-71466251a162> 27 Thiemo Seufer <ths@networkno.de> ths <ths@c046a42c-6fe2-441c-8c8c-71466251a162> [all …]
|