/qemu/tests/qemu-iotests/ |
H A D | 021.out | 5 -1 is not a valid pattern byte 8 -1 is not a valid pattern byte 11 -1 is not a valid pattern byte 14 -1 is not a valid pattern byte 17 -1 is not a valid pattern byte 20 -1 is not a valid pattern byte 23 300 is not a valid pattern byte 26 300 is not a valid pattern byte 29 300 is not a valid pattern byte 32 300 is not a valid pattern byte [all …]
|
H A D | 271.out | 8 write -q -P PATTERN 0 1k 10 write -q -P PATTERN 3k 512 12 write -q -P PATTERN 5k 1k 14 write -q -P PATTERN 6k 2k 16 write -q -P PATTERN 8k 6k 18 write -q -P PATTERN 15k 4k 20 write -q -P PATTERN 32k 1k 22 write -q -P PATTERN 63k 4k 29 write -q -P PATTERN 0 64k 35 write -q -P PATTERN 3k 512 [all …]
|
H A D | 024.out | 5 === IO: pattern 0x11 25 === IO: pattern 0x22 37 === IO: pattern 0x33 40 === IO: pattern 0x33 45 === IO: pattern 0x33 48 === IO: pattern 0x33 51 === IO: pattern 0x33 54 === IO: pattern 0x33 57 === IO: pattern 0x11 60 === IO: pattern 0x00 [all …]
|
H A D | 149.out | 8 # Write test pattern 0xa7 14 # Write test pattern 0x13 22 # Read test pattern 0xa7 27 # Read test pattern 0x13 32 # Write test pattern 0x91 37 # Write test pattern 0x5e 44 # Read test pattern 0x91 50 # Read test pattern 0x5e 66 # Write test pattern 0xa7 72 # Write test pattern 0x13 [all …]
|
H A D | 075.out | 12 qemu-io: can't open device TEST_DIR/simple-pattern.cloop: block_size 513 must be a multiple of 512 15 qemu-io: can't open device TEST_DIR/simple-pattern.cloop: block_size cannot be zero 18 qemu-io: can't open device TEST_DIR/simple-pattern.cloop: block_size 4294966784 must be 64 MB or le… 21 qemu-io: can't open device TEST_DIR/simple-pattern.cloop: n_blocks 4294967295 must be 536870911 or … 24 qemu-io: can't open device TEST_DIR/simple-pattern.cloop: image requires too many offsets, try incr… 27 qemu-io: can't open device TEST_DIR/simple-pattern.cloop: offsets not monotonically increasing at i… 30 qemu-io: can't open device TEST_DIR/simple-pattern.cloop: invalid compressed block size at index 1,…
|
H A D | 075 | 50 _use_sample_img simple-pattern.cloop.bz2 55 _use_sample_img simple-pattern.cloop.bz2 60 _use_sample_img simple-pattern.cloop.bz2 66 _use_sample_img simple-pattern.cloop.bz2 72 _use_sample_img simple-pattern.cloop.bz2 78 _use_sample_img simple-pattern.cloop.bz2 84 _use_sample_img simple-pattern.cloop.bz2 90 _use_sample_img simple-pattern.cloop.bz2 97 _use_sample_img simple-pattern.cloop.bz2
|
H A D | 257 | 33 class Pattern: class 46 """Grouping of Pattern objects. Initialize with an iterable of Patterns.""" 51 """Calculate the unique bits dirtied by this pattern grouping""" 53 for pattern in self.patterns: 54 res |= pattern.bits(granularity) 61 Pattern('0x49', 0x0000000), 62 Pattern('0x6c', 0x0100000), # 1M 63 Pattern('0x6f', 0x2000000), # 32M 64 Pattern('0x76', 0x3ff0000)]), # 64M - 64K 67 Pattern('0x65', 0x0000000), # Full overwrite [all …]
|
H A D | 048.out | 3 === IO: pattern 45 23 === IO: pattern 67 28 === IO: pattern 123 34 === IO: pattern 100 37 === IO: pattern 101
|
H A D | 149 | 290 def qemu_io_write_pattern(config, pattern, offset_mb, size_mb, dev=False): argument 291 """Write a pattern of data to a LUKS image or device""" 295 args = ["-c", "write -P 0x%x %dM %dM" % (pattern, offset_mb, size_mb)] 303 def qemu_io_read_pattern(config, pattern, offset_mb, size_mb, dev=False): argument 304 """Read a pattern of data to a LUKS image or device""" 308 args = ["-c", "read -P 0x%x %dM %dM" % (pattern, offset_mb, size_mb)] 353 # known pattern of data that we'll then verify with QEMU 359 iotests.log("# Write test pattern 0xa7") 361 iotests.log("# Write test pattern 0x13") 367 # Ok, now we're using QEMU to verify the pattern just [all …]
|
H A D | 134.out | 12 == verify pattern == 22 == verify pattern == 26 == verify pattern failure with wrong password == 27 Pattern verification failed at offset 0, 134217728 bytes
|
H A D | common.pattern | 40 local pattern=$6 42 echo "=== IO: pattern $pattern" >&2 44 echo "$op -P $pattern $(( start + (i - 1) * step )) $size" 54 local pattern=$(( (start >> 9) % 256 )) 56 do_io "$@" $pattern | $QEMU_IO "$TEST_IMG" | _filter_qemu_io 108 # Pattern (repeat after 9 clusters):
|
H A D | 038 | 60 local pattern=0 65 pattern=$(( ( (cur_sec % 128) + (cur_sec / 128)) % 128 )) 67 echo "$op -P $pattern $((cur_sec * 64))k 64k" 123 local pattern=$(( ( (cur_sec % 128) + (cur_sec / 128)) % 128 )) 125 echo read -P $pattern $((i * 128 + 96))k 32k
|
H A D | 025.out | 7 === IO: pattern 0xc5 21 === IO: pattern 0xc5 24 === IO: pattern 0
|
/qemu/docs/tools/ |
H A D | qemu-trace-stap.rst | 34 .. option:: list BINARY PATTERN... 37 *PATTERN*. 42 *PATTERN* is a plain string that is used to filter the results of 45 *PATTERN* arguments may be given, causing listing of probes that match 46 any of the listed names. If no *PATTERN* is given, the all possible 63 .. option:: run OPTIONS BINARY PATTERN... 66 executing *BINARY* triggers a probe matching *PATTERN*. 71 *PATTERN* is a plain string that matches a probe name shown by the 74 Multiple *PATTERN* arguments may be given, causing all matching probes 75 to be monitored. At least one *PATTERN* is required, since stap is not
|
/qemu/docs/devel/ |
H A D | decodetree.rst | 7 A *decodetree* is built from instruction *patterns*. A pattern may 11 Each pattern has both *fixedbits* and *fixedmask*, the combination of which 12 describes the condition under which the pattern is matched:: 16 Each pattern may have *fields*, which are extracted from the insn and 37 A *named_field* refers to some other field in the instruction pattern 46 defined in the instruction pattern(s) that use the format. 47 Conversely, an instruction pattern can include fields that refer to 49 cannot currently do both at once (i.e. pattern P uses format F; F has 108 pattern and the ``OR`` pattern put their operands into the same named 137 final 0 or 1 from the pattern, and '-' means that the bit is really [all …]
|
/qemu/tests/qemu-iotests/tests/ |
H A D | parallels-checks.out | 4 == write pattern == 14 == write pattern to last cluster == 36 == write pattern to whole image == 39 == write another pattern to second cluster == 64 == write another pattern to the first clusters == 75 == write pattern to whole image == 78 == write another pattern to second cluster == 95 == write another pattern to the first clusters == 106 == write pattern to first cluster == 116 == write pattern to first cluster ==
|
H A D | parallels-checks | 59 echo "== write pattern ==" 74 echo "== write pattern to last cluster ==" 101 echo "== write pattern to whole image ==" 104 echo "== write another pattern to second cluster ==" 126 echo "== write another pattern to the first clusters ==" 140 echo "== write pattern to whole image ==" 143 echo "== write another pattern to second cluster ==" 162 echo "== write another pattern to the first clusters ==" 176 echo "== write pattern to first cluster ==" 190 echo "== write pattern to first cluster =="
|
/qemu/trace/ |
H A D | control.h | 21 const char *pattern; member 37 * @pattern: pattern to filter events on name 40 * using @pattern to filter out events 43 void trace_event_iter_init_pattern(TraceEventIter *iter, const char *pattern); 80 * Whether the given string is an event name pattern. 186 * @line_buf: A string with a glob pattern of events to be enabled or,
|
H A D | trace-hmp-cmds.c | 108 char *pattern = g_strdup_printf("%s*", str); in info_trace_events_completion() local 109 trace_event_iter_init_pattern(&iter, pattern); in info_trace_events_completion() 113 g_free(pattern); in info_trace_events_completion() 126 char *pattern = g_strdup_printf("%s*", str); in trace_event_completion() local 127 trace_event_iter_init_pattern(&iter, pattern); in trace_event_completion() 131 g_free(pattern); in trace_event_completion()
|
/qemu/ |
H A D | qemu-io-cmds.c | 314 * Parse the pattern argument to various sub-commands. 316 * Because the pattern is used as an argument to memset it must evaluate 322 long pattern; in parse_pattern() local 324 pattern = strtol(arg, &endptr, 0); in parse_pattern() 325 if (pattern < 0 || pattern > UCHAR_MAX || *endptr != '\0') { in parse_pattern() 326 printf("%s is not a valid pattern byte\n", arg); in parse_pattern() 330 return pattern; in parse_pattern() 341 static void *qemu_io_alloc(BlockBackend *blk, size_t len, int pattern, in qemu_io_alloc() argument 350 memset(buf, pattern, len); in qemu_io_alloc() 497 int pattern, bool register_buf) in create_iovec() argument [all …]
|
/qemu/contrib/plugins/ |
H A D | hwprofile.c | 49 /* track the access pattern to a piece of HW */ 50 static bool pattern; variable 114 if (!(pattern || source)) { in plugin_exit() 136 const char *prefix = pattern ? "off" : "pc"; in plugin_exit() 163 if (pattern || source) { in new_count() 232 if (pattern || source) { in vcpu_haddr() 283 } else if (g_strcmp0(tokens[0], "pattern") == 0) { in qemu_plugin_install() 284 if (!qemu_plugin_bool_parse(tokens[0], tokens[1], &pattern)) { in qemu_plugin_install() 305 if (source && pattern) { in qemu_plugin_install() 306 fprintf(stderr, "can only currently track either source or pattern.\n"); in qemu_plugin_install()
|
/qemu/tests/tcg/multiarch/ |
H A D | check-plugin-output.sh | 18 pattern=$2 19 grep "$pattern" "$file" > /dev/null || die "\"$pattern\" not found in $file"
|
/qemu/docs/ |
H A D | qemu-option-trace.rst.inc | 4 ``[enable=]PATTERN`` 6 Immediately enable events matching *PATTERN* 7 (either event name or a globbing pattern). This option is only
|
/qemu/tests/decode/ |
H A D | err_field9.decode | 5 # pattern and the pattern refers to a field defined in the format. 13 # Pattern defines 'a' and sets 'd' to an indirect ref to 'c'
|
/qemu/scripts/codeconverter/ |
H A D | converter.py | 55 parser.error("--pattern is required") 63 print("Invalid pattern name: %s" % (c), file=sys.stderr) 94 p.add_argument('--pattern', required=True, action='append', 96 help="Pattern to scan for") 111 p.add_argument_group("Valid pattern names",
|