Home
last modified time | relevance | path

Searched +full:- +full:- +full:prefix (Results 1 – 25 of 280) sorted by relevance

12345678910>>...12

/qemu/scripts/
H A Dmtest2make.py20 return [base if speed == 'quick' else f'{base}-{speed}' for speed in self.speeds]
26 .speed.quick = $(foreach s,$(sort $(filter-out %-slow %-thorough, $1)), --suite $s)
27 .speed.slow = $(foreach s,$(sort $(filter-out %-thorough, $1)), --suite $s)
28 .speed.thorough = $(foreach s,$(sort $1), --suite $s)
31 .mtestargs = --no-rebuild -t $(TIMEOUT_MULTIPLIER)
33 .mtestargs += --setup $(SPEED)
35 .mtestargs += $(subst -j,--num-processes , $(filter-out -j, $(lastword -j1 $(filter -j%, $(MAKEFLAG…
37 .check.mtestargs = $(MTESTARGS) $(.mtestargs) $(if $(V),--verbose,--print-errorlogs)
38 .bench.mtestargs = $(MTESTARGS) $(.mtestargs) --benchmark --verbose''')
60 if s.endswith('-slow'):
[all …]
H A Dnsis.py5 # SPDX-License-Identifier: GPL-2.0-or-later
23 output = subprocess.check_output(["objdump", "-p", exe_or_dll], text=True)
48 parser.add_argument("prefix")
55 # canonicalize the Windows native prefix path
56 prefix = os.path.splitdrive(args.prefix)[1]
61 os.path.join(destdir + prefix, "system-emulations.nsh"), "w"
63 os.path.join(destdir + prefix, "system-mui-text.nsh"), "w"
66 os.path.join(destdir + prefix, "qemu-system-*.exe")
69 arch = exe[12:-4]
81 desc = arch[:-1] + " emulation (GUI)."
[all …]
H A Dtracetool.py2 # -*- coding: utf-8 -*-
5 Command-line wrapper for the tracetool machinery.
9 __copyright__ = "Copyright 2012-2014, Lluís Vilanova <vilanova@ac.upc.edu>"
30 backend_descr = "\n".join([ " %-15s %s" % (n, d)
32 format_descr = "\n".join([ " %-15s %s" % (n, d)
35 Usage: %(script)s --format=<format> --backends=<backends> [<options>] <trace-events> ... <output>
44 --help This help message.
45 --list-backends Print list of available backends.
46 --check-backends Check if the given backend is valid.
47 --binary <path> Full path to QEMU binary (required for 'stap' backend).
[all …]
H A Dqemu-trace-stap2 # -*- python -*-
31 return re.sub("-", ".", filename) + ".log"
60 prefix = probe_prefix(args.binary)
68 probes.append("probe %s.%s {}" % (prefix, probe))
76 script = """probe begin { print("Running script, <Ctrl>-c to quit\\n") } """ + script
80 stapargs = [stap, "-s", "8", "-I", tapsets ]
82 stapargs.extend(["-x", args.pid])
83 stapargs.extend(["-e", script])
95 prefix = probe_prefix(args.binary)
96 offset = len(prefix) + 1
[all …]
/qemu/block/
H A Dcrypto.h4 * Copyright (c) 2015-2017 Red Hat, Inc.
24 #define BLOCK_CRYPTO_OPT_DEF_KEY_SECRET(prefix, helpstr) \ argument
26 .name = prefix BLOCK_CRYPTO_OPT_QCOW_KEY_SECRET, \
31 #define BLOCK_CRYPTO_OPT_QCOW_KEY_SECRET "key-secret"
33 #define BLOCK_CRYPTO_OPT_DEF_QCOW_KEY_SECRET(prefix) \ argument
34 BLOCK_CRYPTO_OPT_DEF_KEY_SECRET(prefix, \
37 #define BLOCK_CRYPTO_OPT_LUKS_KEY_SECRET "key-secret"
38 #define BLOCK_CRYPTO_OPT_LUKS_CIPHER_ALG "cipher-alg"
39 #define BLOCK_CRYPTO_OPT_LUKS_CIPHER_MODE "cipher-mode"
40 #define BLOCK_CRYPTO_OPT_LUKS_IVGEN_ALG "ivgen-alg"
[all …]
/qemu/scripts/qapi/
H A Dbackend.py2 # See the COPYING file in the top-level directory.
16 # pylint: disable=too-few-public-methods
22 prefix: str,
25 gen_tracing: bool) -> None:
31 :param prefix: Optional C-code prefix for symbol names.
32 :param unmask: Expose non-ABI names through introspection?
33 :param builtins: Generate code for built-in types?
40 # pylint: disable=too-few-public-methods
45 prefix: str,
48 gen_tracing: bool) -> None:
[all …]
H A Dmain.py2 # See the COPYING file in the top-level directory.
21 def invalid_prefix_char(prefix: str) -> Optional[str]:
22 match = must_match(r'([A-Za-z_.-][A-Za-z0-9_.-]*)?', prefix)
23 if match.end() != len(prefix):
24 return prefix[match.end()]
28 def create_backend(path: str) -> QAPIBackend:
34 raise QAPIError("argument of -B must be of the form MODULE.CLASS")
60 def main() -> int:
62 gapi-gen executable entry point.
63 Expects arguments via sys.argv, see --help for details.
[all …]
H A Dtypes.py5 Copyright (c) 2013-2018 Red Hat Inc.
13 # See the COPYING file in the top-level directory.
42 prefix: Optional[str] = None) -> str:
43 max_index = c_enum_const(name, '_MAX', prefix)
53 index = c_enum_const(name, memb.name, prefix)
86 prefix: Optional[str] = None) -> str:
101 c_enum=c_enum_const(name, memb.name, prefix))
120 def gen_fwd_object_or_array(name: str) -> str:
128 def gen_array(name: str, element_type: QAPISchemaType) -> str:
139 def gen_struct_members(members: List[QAPISchemaObjectTypeMember]) -> str:
[all …]
H A Devents.py5 Copyright (c) 2015-2018 Red Hat Inc.
12 See the COPYING file in the top-level directory.
32 boxed: bool) -> str:
40 boxed: bool) -> str:
48 def gen_param_var(typ: QAPISchemaObjectType) -> str:
86 event_emit: str) -> str:
90 # practice, we can rename our local variables with a leading _ prefix,
178 def __init__(self, prefix: str):
180 prefix, 'qapi-events',
181 ' * Schema-defined QAPI/QMP events', None, __doc__)
[all …]
H A Dfeatures.py7 # See the COPYING file in the top-level directory.
19 def __init__(self, prefix: str):
21 prefix, 'qapi-features',
22 ' * Schema-defined QAPI features',
27 def visit_begin(self, schema: QAPISchema) -> None:
31 def visit_end(self) -> None:
45 prefix: str) -> None:
46 vis = QAPISchemaGenFeatureVisitor(prefix)
/qemu/qobject/
H A Dblock-qdict.c4 * Copyright (c) 2013-2018 Red Hat, Inc.
7 * See the COPYING.LIB file in the top-level directory.
16 #include "qapi/qobject-input-visitor.h"
53 const char *prefix);
55 static void qdict_flatten_qlist(QList *qlist, QDict *target, const char *prefix) in qdict_flatten_qlist() argument
64 /* This function is never called with prefix == NULL, i.e., it is always in qdict_flatten_qlist()
68 assert(prefix); in qdict_flatten_qlist()
76 new_key = g_strdup_printf("%s.%i", prefix, i); in qdict_flatten_qlist()
79 * Flatten non-empty QDict and QList recursively into @target, in qdict_flatten_qlist()
94 static void qdict_flatten_qdict(QDict *qdict, QDict *target, const char *prefix) in qdict_flatten_qdict() argument
[all …]
/qemu/tests/tcg/xtensa/
H A Dtest_sar.S5 .macro test_sar prefix, imm
6 \prefix\()_set \imm
7 \prefix\()_ver \imm
10 .macro tests_sar prefix argument
11 test_sar \prefix, 0
12 test_sar \prefix, 1
13 test_sar \prefix, 2
14 test_sar \prefix, 3
15 test_sar \prefix, 0x1f
16 test_sar \prefix, 0x20
[all …]
H A Dtest_shift.S5 .macro test_shift prefix, dst, src, v, imm
6 \prefix\()_set \dst, \src, \v, \imm
7 \prefix\()_ver \dst, \v, \imm
10 .macro test_shift_sd prefix, v, imm
11 test_shift \prefix, a3, a2, \v, \imm
12 test_shift \prefix, a2, a2, \v, \imm
15 .macro tests_imm_shift prefix, v
16 test_shift_sd \prefix, \v, 1
17 test_shift_sd \prefix, \v, 2
18 test_shift_sd \prefix, \v, 7
[all …]
/qemu/include/hw/
H A Dboards.h9 #include "qapi/qapi-types-machine.h"
15 #define TYPE_MACHINE_SUFFIX "-machine"
17 /* Machine class name that needs to be used for class-name-based machine
66 * created (eg by the user on the command line with -device).
123 * @arch_id - architecture-dependent CPU ID of present or possible CPU
124 * @cpu - pointer to corresponding CPU object if it's present on NULL otherwise
125 * @type - QOM class name of possible @cpu object
126 * @props - CPU object properties, initialized by board
127 * #vcpus_count - number of threads provided by @cpu object
139 * @len - number of @CPUArchId items in @cpus array
[all …]
H A Dregister.h8 * the COPYING file in the top-level directory.
14 #include "hw/qdev-core.h"
28 * @ro: whether or not the bit is read-only
72 * @prefix: String prefix for log and debug messages
90 #define TYPE_REGISTER "qemu-register"
112 const char *prefix; member
120 * @prefix: The device prefix that should be printed before the register name
125 const char *prefix, bool debug);
131 * @prefix: The device prefix that should be printed before the register name
136 uint64_t register_read(RegisterInfo *reg, uint64_t re, const char* prefix,
[all …]
/qemu/tests/qemu-iotests/
H A Dtestenv.py3 # Copyright (c) 2020-2021 Virtuozzo International GmbH
37 def isxfile(path: str) -> bool:
41 def get_default_machine(qemu_prog: str) -> str:
42 outp = subprocess.run([qemu_prog, '-machine', 'help'], check=True,
66 lower-cased TestEnv attributes.
71 # pylint: disable=too-many-instance-attributes
84 def prepare_subprocess(self, args: List[str]) -> Dict[str, str]:
86 args.append('-d')
88 with open(args[0], encoding="utf-8") as f:
99 def get_env(self) -> Dict[str, str]:
[all …]
/qemu/hw/core/
H A Dregister.c25 g_assert(reg->data); in register_write_val()
27 switch (reg->data_size) { in register_write_val()
29 *(uint8_t *)reg->data = val; in register_write_val()
32 *(uint16_t *)reg->data = val; in register_write_val()
35 *(uint32_t *)reg->data = val; in register_write_val()
38 *(uint64_t *)reg->data = val; in register_write_val()
47 switch (reg->data_size) { in register_read_val()
49 return *(uint8_t *)reg->data; in register_read_val()
51 return *(uint16_t *)reg->data; in register_read_val()
53 return *(uint32_t *)reg->data; in register_read_val()
[all …]
/qemu/linux-user/
H A Dgen-vdso.c2 * Post-process a vdso elf image for inclusion into qemu.
6 * SPDX-License-Identifier: GPL-2.0-or-later
31 fprintf(outf, " 0x%08tx,\n", loc - buf); in output_reloc()
43 #include "gen-vdso-elfn.c.inc"
51 #include "gen-vdso-elfn.c.inc"
61 const char *prefix = "vdso"; in main() local
78 prefix = optarg; in main()
88 fprintf(stderr, "usage: [-p prefix] [-r rt-sigreturn-name] " in main()
89 "[-s sigreturn-name] -o output-file input-file\n"); in main()
166 "/* Automatically generated by linux-user/gen-vdso.c. */\n" in main()
[all …]
/qemu/include/qemu/
H A Dcutils.h6 * @exp10: exponent of 10, a multiple of 3 between -18 and 18 inclusive.
8 * Return a SI prefix (n, u, m, K, M, etc.) corresponding
17 * Return an IEC binary prefix (Ki, Mi, etc.) corresponding
35 * * if @str fits in the buffer, pstrcpy() does not zero-fill the
37 * * if @str is too long, pstrcpy() will copy the first @buf_size-1
65 * @buf must already contain a NUL-terminated string, or the
74 * @val: prefix string to look for
78 * Test whether @str starts with the prefix @val.
81 * pointer to the first character following the prefix is written
82 * to it. If @val is not a prefix of @str then return false (and
[all …]
/qemu/util/
H A Dpath.c1 /* Code to mangle pathnames into those matching a given prefix.
2 eg. open("/lib/foo.so") => open("/usr/gnemul/i386-linux/lib/foo.so");
17 void init_paths(const char *prefix) in init_paths() argument
19 if (prefix[0] == '\0' || !strcmp(prefix, "/")) { in init_paths()
23 if (prefix[0] == '/') { in init_paths()
24 base = g_strdup(prefix); in init_paths()
27 base = g_build_filename(cwd, prefix, NULL); in init_paths()
/qemu/tests/data/acpi/
H A Ddisassemle-aml.sh10 echo "Usage: ./tests/data/acpi/disassemle-aml.sh [-o <output-directory>]"
19 if [[ ! -d "$machine" ]];
26 mkdir -p "${outdir}"/${machine} || exit $?
37 extra="-e ${dsdt}"
41 extra="-e ${dsdt}"
47 # iasl strips an extension from prefix if there.
51 prefix="-p ${outdir}/${aml}.dsl"
53 prefix=""
55 iasl ${extra} ${prefix} -d ${aml}
/qemu/tests/qapi-schema/
H A Denum-bad-prefix.err1 enum-bad-prefix.json: In enum 'MyEnum':
2 enum-bad-prefix.json:2: 'prefix' must be a string
/qemu/roms/
H A DMakefile2 vgabios_variants := stdvga cirrus vmware qxl isavga virtio bochs-display ramfb ati
3 vgabios_targets := $(subst -isavga,,$(patsubst %,vgabios-%.bin,$(vgabios_variants)))
7 pxe-rom-e1000 efi-rom-e1000 : VID := 8086
8 pxe-rom-e1000 efi-rom-e1000 : DID := 100e
9 pxe-rom-e1000e efi-rom-e1000e : VID := 8086
10 pxe-rom-e1000e efi-rom-e1000e : DID := 10d3
11 pxe-rom-eepro100 efi-rom-eepro100 : VID := 8086
12 pxe-rom-eepro100 efi-rom-eepro100 : DID := 1209
13 pxe-rom-ne2k_pci efi-rom-ne2k_pci : VID := 1050
14 pxe-rom-ne2k_pci efi-rom-ne2k_pci : DID := 0940
[all …]
/qemu/linux-user/i386/
H A Dsyscallhdr.sh2 # SPDX-License-Identifier: GPL-2.0-only
7 prefix="$4"
11 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/' \
12 -e 's/[^A-Z0-9_]/_/g' -e 's/__/_/g'`
13 grep -E "^[0-9A-Fa-fXx]+[[:space:]]+${my_abis}" "$in" | sort -n | (
19 if [ -z "$offset" ]; then
20 echo "#define TARGET_NR_${prefix}${name} $nr"
22 echo "#define TARGET_NR_${prefix}${name} ($offset + $nr)"
/qemu/linux-user/x86_64/
H A Dsyscallhdr.sh2 # SPDX-License-Identifier: GPL-2.0-only
7 prefix="$4"
11 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/' \
12 -e 's/[^A-Z0-9_]/_/g' -e 's/__/_/g'`
13 grep -E "^[0-9A-Fa-fXx]+[[:space:]]+${my_abis}" "$in" | sort -n | (
19 if [ -z "$offset" ]; then
20 echo "#define TARGET_NR_${prefix}${name} $nr"
22 echo "#define TARGET_NR_${prefix}${name} ($offset + $nr)"

12345678910>>...12