Home
last modified time | relevance | path

Searched +full:0 +full:- +full:9 +full:a +full:- +full:f (Results 1 – 25 of 322) sorted by relevance

12345678910>>...13

/qemu/pc-bios/
HDu-boot.e500 ... -f A v q * q 3 x4 j-=m ld \c Qkkbal 0e N b l ...
H A Dqemu.rsrc1 data 'icns' (-16455) {
3 $"0000 0000 FF00 FF00 B000 0F08 1222 3645" /* ....ˇ.ˇ.∞...."6E */
4 $"4D56 6063 5A51 473C 2816 0CE8 0019 0416" /* MV`cZQG<(..Ë.... */
11 $"0333 96D9 E6E9 EAE9 9CE8 06E9 E9E8 E1B8" /* .3ñŸÊÈÍÈúË.ÈÈË·∏ */
23 $"80CE 06CC D7DB DEFB FCFD 86FE 0BF5 DBEB" /* ÄŒ.Ã◊€fi˚¸˝Ü˛.ı€Î */
25 $"CFD0 B739 BE00 0318 96CB CA81 C803 C7DB" /* œ–∑9æ...ñÀ Å».«€ */
26 $"FAF9 8AFE 0BFA FCFE FEFD FCFB FAF2 E6D8" /* ˙˘ä˛.˙¸˛˛˝¸˚˙ÚÊÿ */
32 $"B800 030A 7DC1 BC84 BB03 B9CD D7EE 99FE" /* ∏..¬}¡ºÑª.πÕ◊Óô˛ */
36 $"15B5 0002 39B2 B582 B480 B201 B5EA A0FE" /* .µ..9≤µÇ¥Ä≤.µÍ†˛ */
41 $"AB84 AC03 AAAD 9C1C B100 0231 A6A7 80A6" /* ´Ñ¨.™≠ú.±..1¶ßĶ */
[all …]
HDopenbios-ppc ... ! " # $ % & ' ( ) * + , - . / 0 a b c d e f g
/qemu/tests/tcg/aarch64/gdbstub/
H A Dtest-mte.py3 # Test GDB memory-tag commands that exercise the stubs for the qIsAddressTagged,
5 # Logical tags-related commands rely on local operations, hence don't exercise
8 # The test consists in breaking just after a tag is set in a specific memory
9 # chunk, and then using the GDB 'memory-tagging' subcommands to set/get tags in
10 # different memory locations and ranges in the MTE-enabled memory chunk.
12 # This is launched via tests/guest-debug/run-test.py
20 exit("This script must be launched via tests/guest-debug/run-test.py!")
26 PATTERN_0 = r"Memory tags for address 0x[0-9a-f]+ match \(0x[0-9a-f]+\)."
27 PATTERN_1 = r".*(0x[0-9a-f]+)"
31 p = arg_parser(prog="test-mte.py", description="TCG MTE tests.")
[all …]
/qemu/tests/qemu-iotests/
H A D10615 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18 # You should have received a copy of the GNU General Public License
25 seq=$(basename $0)
34 trap "_cleanup; exit \$status" 0 1 2 3 15
54 echo "--- create_mode=$create_mode growth_mode=$growth_mode ---"
57 # Disable the extent size hint because it would give us a result in
59 _make_test_img -o "preallocation=$create_mode,extent_size_hint=0" ${CREATION_SIZE}K
60 $QEMU_IMG resize -f "$IMGFMT" --preallocation=$growth_mode "$TEST_IMG" +${GROWTH_SIZE}K
62 expected_size=0
70 actual_size=$($QEMU_IMG info -f "$IMGFMT" "$TEST_IMG" | grep 'disk size' | head -n 1)
[all …]
H A Dfindtests.py3 # Copyright (c) 2020-2021 Virtuozzo International GmbH
12 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 # You should have received a copy of the GNU General Public License
28 def chdir(path: Optional[str] = None) -> Iterator[None]:
42 def __init__(self, test_dir: Optional[str] = None) -> None:
46 self.all_tests = glob.glob('[0-9][0-9][0-9]')
47 self.all_tests += [f for f in glob.iglob('tests/*')
48 if not f.endswith('.out') and
49 os.path.isfile(f + '.out')]
52 with open(t, encoding="utf-8") as f:
[all …]
H A D2716 # Copyright (C) 2019-2020 Igalia, S.L.
16 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19 # You should have received a copy of the GNU General Public License
26 seq="$(basename $0)"
35 rm -f "$TEST_IMG.raw"
37 trap "_cleanup; exit \$status" 0 1 2 3 15
46 _unsupported_imgopts extended_l2 compat=0.10 cluster_size data_file refcount_bits=1[^0-9]
48 l2_offset=$((0x40000))
52 $QEMU_IMG compare "$TEST_IMG" "$TEST_IMG.raw" | grep -v 'Images are identical'
54 grep -v 'No errors were found on the image'
[all …]
H A D1904 # qemu-img measure sub-command tests on huge qcow2 files
6 # Copyright (C) 2017-2020 Red Hat, Inc.
15 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18 # You should have received a copy of the GNU General Public License
25 seq=`basename $0`
35 trap "_cleanup; exit \$status" 0 1 2 3 15
51 _make_test_img -o 'cluster_size=2M' 2T
53 $QEMU_IMG measure -O raw -f qcow2 "$TEST_IMG"
54 $QEMU_IMG measure -O qcow2 -o cluster_size=64k -f qcow2 "$TEST_IMG"
55 $QEMU_IMG measure -O qcow2 -o cluster_size=2M -f qcow2 "$TEST_IMG"
[all …]
H A D04615 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18 # You should have received a copy of the GNU General Public License
25 seq=`basename $0`
34 trap "_cleanup; exit \$status" 0 1 2 3 15
60 local pattern=0
61 local cur_sec=0
63 for ((i=0;i<=$((sectors - 1));i++)); do
67 echo "$op -P $pattern $((cur_sec * 64))k 64k"
71 backing_io 0 32 write | $QEMU_IO "$TEST_IMG" | _filter_qemu_io
74 _make_test_img -b "$TEST_IMG.base" -F $IMGFMT 6G
[all …]
H A Diotests.py1 # Common utilities and Python wrappers for qemu-iotests
12 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 # You should have received a copy of the GNU General Public License
56 qemu_img_args = [os.environ.get('QEMU_IMG_PROG', 'qemu-img')]
60 qemu_io_args = [os.environ.get('QEMU_IO_PROG', 'qemu-io')]
64 qemu_io_args_no_fmt = [os.environ.get('QEMU_IO_PROG', 'qemu-io')]
69 qemu_nbd_prog = os.environ.get('QEMU_NBD_PROG', 'qemu-nbd')
77 qsd_prog = os.environ.get('QSD_PROG', 'qemu-storage-daemon')
105 valgrind_logfile = "--log-file=" + test_dir
107 # we don't know it a priori (subprocess.Popen is
[all …]
H A Dcommon.tls14 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 # You should have received a copy of the GNU General Public License
25 rm -f "${tls_dir}"/*.pem
26 rm -f "${tls_dir}"/*/*.pem
27 rm -f "${tls_dir}"/*/*.psk
36 if test "$?" = 0; then
37 head -1 "${tls_dir}"/certtool.log
41 rm -f "${tls_dir}"/certtool.log
47 if test "$?" = 0; then
48 head -1 "${tls_dir}"/psktool.log
[all …]
H A D13815 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18 # You should have received a copy of the GNU General Public License
25 seq="$(basename $0)"
34 trap "_cleanup; exit \$status" 0 1 2 3 15
40 # This tests qcow2-specific low-level functionality
45 # (so qemu-img check would not do much);
46 # we want to modify the refcounts, so we need them to have a specific
51 echo '=== Check on an image with a multiple of 2^32 clusters ==='
54 _make_test_img -o "cluster_size=512" 512
57 $QEMU_IO -c 'write 0 512' "$TEST_IMG" | _filter_qemu_io
[all …]
/qemu/scripts/
H A Ddecodetree.py11 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 # You should have received a copy of the GNU Lesser General Public
19 # Generate a decoding tree from a specification file.
31 insnmask = 0xffffffff
50 re_C_ident = '[a-zA-Z][a-zA-Z0-9_]*'
53 re_arg_ident = '&[a-zA-Z0-9_]*'
54 re_fld_ident = '%[a-zA-Z0-9_]*'
55 re_fmt_ident = '@[a-zA-Z0-9_]*'
56 re_pat_ident = '[a-zA-Z0-9_]*'
58 # Local implementation of a topological sort. We use the same API that
[all …]
H A Dblock-coroutine-wrapper.py8 Usage: block-coroutine-wrapper.py generated-file.c FILE.[ch]...
19 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
22 You should have received a copy of the GNU General Public License
35 return f"""\
37 * File is generated by scripts/block-coroutine-wrapper.py
44 #include "block/block-gen.h"
46 #include "block/dirty-bitmap.h"
53 r'(?P<name>[a-z][a-z0-9_]*)'
56 def __init__(self, param_decl: str) -> None:
59 raise ValueError(f'Wrong parameter declaration: "{param_decl}"')
[all …]
H A Dupdate-linux-headers.sh1 #!/bin/sh -e
3 # Update Linux kernel headers QEMU requires from a specified kernel tree.
11 # See the COPYING file in the top-level directory.
15 # - linux-headers/ for files that are required for compiling for a
21 # - include/standard-headers/ for files that are used for guest
26 # sanitize the headers to remove any use of Linux-specifics such as
29 tmpdir=$(mktemp -d)
35 if [ -z "$linux" ] || ! [ -d "$linux" ]; then
37 usage: update-kernel-headers.sh LINUX_PATH [OUTPUT_PATH]
45 if [ -z "$output" ]; then
[all …]
H A Ddevice-crash-test15 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18 # You should have received a copy of the GNU General Public License along
20 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
23 Run QEMU with all combinations of -machine and -device types,
43 print(f"Module '{exc.name}' not found.")
44 print(" Try 'make check-venv' from your build directory,")
46 print(f' > $builddir/pyvenv/bin/python3 "{path}"')
49 logger = logging.getLogger('device-crash-test')
54 # * Avoiding verbose log messages when we find known non-fatal
58 # the box, when running in --quick mode
[all …]
/qemu/scripts/codeconverter/codeconverter/
H A Dregexps.py7 # the COPYING file in the top-level directory.
17 def S(*regexps) -> str:
18 """Just a shortcut to concatenate multiple regexps more easily"""
21 def P(*regexps, name=None, capture=False, repeat='') -> str:
25 return f'(?P<{name}>{s}){repeat}'
27 return f'({s}){repeat}'
29 return f'(?:{s}){repeat}'
31 def NAMED(name, *regexps) -> str:
39 def OR(*regexps, **kwargs) -> str:
40 """Build (a|b|c) regexp"""
[all …]
/qemu/tests/tcg/i386/
H A Dtest-avx.c38 name, n, r->q3, r->q2, r->q1, r->q0); in dump_ymm()
43 v[3], v[2], v[1], v[0]); in dump_ymm()
48 v[7], v[6], v[5], v[4], v[3], v[2], v[1], v[0]); in dump_ymm()
56 for (i = 0; i < 16; i++) { in dump_regs()
57 dump_ymm("ymm", i, &s->ymm[i], 0); in dump_regs()
59 for (i = 0; i < 4; i++) { in dump_regs()
60 dump_ymm("mem", i, &s->mem0[i], 0); in dump_regs()
64 static void compare_state(const reg_state *a, const reg_state *b) in compare_state() argument
67 for (i = 0; i < 8; i++) { in compare_state()
68 if (a->mm[i] != b->mm[i]) { in compare_state()
[all …]
/qemu/tests/unit/
H A Dtest-opts-visitor.c2 * Options Visitor unit-tests.
7 * Laszlo Ersek <lersek@redhat.com> (based on test-string-output-visitor)
10 * See the COPYING file in the top-level directory.
15 #include "qemu/config-file.h" /* qemu_add_opts() */
18 #include "qapi/opts-visitor.h" /* opts_visitor_new() */
19 #include "test-qapi-visit.h" /* visit_type_UserDefOptions() */
24 .desc = { { 0 } } /* validated with OptsVisitor */
36 setup_fixture(OptsVisitorFixture *f, gconstpointer test_data) in setup_fixture() argument
47 visit_type_UserDefOptions(v, NULL, &f->userdef, &f->err); in setup_fixture()
54 teardown_fixture(OptsVisitorFixture *f, gconstpointer test_data) in teardown_fixture() argument
[all …]
H A Dtest-crypto-cipher.c13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16 * You should have received a copy of the GNU Lesser General Public
38 /* AES test data comes from appendix F of:
40 * http://csrc.nist.gov/publications/nistpubs/800-38a/sp800-38a.pdf
44 /* NIST F.1.1 ECB-AES128.Encrypt */
45 .path = "/crypto/cipher/aes-ecb-128",
61 /* NIST F.1.3 ECB-AES192.Encrypt */
62 .path = "/crypto/cipher/aes-ecb-192",
75 "9a4b41ba738d6c72fb16691603c18e0e"
78 /* NIST F.1.5 ECB-AES256.Encrypt */
[all …]
/qemu/linux-user/riscv/
H A Dvdso.S2 * RISC-V linux replacement vdso.
6 * SPDX-License-Identifier: GPL-2.0-or-later
15 #include "vdso-asmoffset.h"
22 .size \name, . - \name
44 beq a1, zero, 1f
45 sw zero, 0(a1) /* tz->tz_minuteswest = 0 */
46 sw zero, 4(a1) /* tz->tz_dsttime = 0 */
47 1: addi sp, sp, -32
52 lw t0, 0(sp) /* timespec.tv_sec.low */
57 .cfi_adjust_cfa_offset -32
[all …]
/qemu/hw/9pfs/
H A D9p.c2 * Virtio 9p backend
10 * the COPYING file in the top-level directory.
15 * Not so fast! You might want to read the 9p developer docs first:
16 * https://wiki.qemu.org/Documentation/9p
26 #include "qemu/error-report.h"
28 #include "qemu/main-loop.h"
30 #include "virtio-9p.h"
31 #include "fsdev/qemu-fsdev.h"
32 #include "9p-xattr.h"
33 #include "9p-util.h"
[all …]
/qemu/qobject/
H A Djson-lexer.c10 * See the COPYING.LIB file in the top-level directory.
15 #include "json-parser-int.h"
28 * begin-array = ws %x5B ws ; [ left square bracket
29 * begin-object = ws %x7B ws ; { left curly bracket
30 * end-array = ws %x5D ws ; ] right square bracket
31 * end-object = ws %x7D ws ; } right curly bracket
32 * name-separator = ws %x3A ws ; : colon
33 * value-separator = ws %x2C ws ; , comma
49 * [This lexer accepts [a-z]+, and leaves rejecting unknown literal
55 * decimal-point = %x2E ; .
[all …]
/qemu/ui/
H A Dcurses_keys.h6 * Permission is hereby granted, free of charge, to any person obtaining a copy
18 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
33 #define GREY_CODE 0xe0
35 #define SHIFT_CODE 0x2a
37 #define CNTRL_CODE 0x1d
39 #define ALT_CODE 0x38
43 #define KEYSYM_MASK 0x0ffffff
49 /* curses won't detect a Control + Alt + 1, so use Alt + 1 */
52 #define CURSES_CHARS 0x100 /* Support latin1 only */
56 [0 ... (CURSES_CHARS - 1)] = -1,
[all …]
/qemu/util/
H A Duuid.c27 for (i = 0; i < 4; ++i) { in qemu_uuid_generate()
33 uuid->data[8] = (uuid->data[8] & 0x3f) | 0x80; in qemu_uuid_generate()
35 time_hi_and_version field to the 4-bit version number. in qemu_uuid_generate()
37 uuid->data[6] = (uuid->data[6] & 0xf) | 0x40; in qemu_uuid_generate()
48 return memcmp(lhv, rhv, sizeof(QemuUUID)) == 0; in qemu_uuid_is_equal()
53 const unsigned char *uu = &uuid->data[0]; in qemu_uuid_unparse()
55 uu[0], uu[1], uu[2], uu[3], uu[4], uu[5], uu[6], uu[7], in qemu_uuid_unparse()
56 uu[8], uu[9], uu[10], uu[11], uu[12], uu[13], uu[14], uu[15]); in qemu_uuid_unparse()
61 const unsigned char *uu = &uuid->data[0]; in qemu_uuid_unparse_strdup()
63 uu[0], uu[1], uu[2], uu[3], uu[4], uu[5], uu[6], in qemu_uuid_unparse_strdup()
[all …]

12345678910>>...13