Home
last modified time | relevance | path

Searched full:action (Results 1 – 25 of 955) sorted by relevance

12345678910>>...39

/qemu/hw/acpi/
H A Derst.c90 * This implementation is an ACTION (cmd) and VALUE (data)
94 #define ERST_ACTION_OFFSET (0UL) /* action (cmd) */
206 /* Serialization Action */ in build_serialization_instruction()
228 /* ACPI 4.0: 17.4.1 Serialization Action Table */
233 * Serialization Action Table in build_erst()
234 * The serialization action table must be generated first in build_erst()
238 unsigned action; in build_erst() local
243 /* Contexts for the different ways ACTION and VALUE are accessed */ in build_erst()
290 action = ACTION_BEGIN_WRITE_OPERATION; in build_erst()
291 build_serialization_instruction(&wr_action, action, action); in build_erst()
[all …]
/qemu/qapi/
H A Drun-state.json46 # @watchdog: the watchdog action is configured to pause and has been
143 # hardware-specific action) rather than a host request (such as
185 # action) rather than a host request (such as the QMP command
282 # @action: action that has been taken
284 # .. note:: If action is "reset", "shutdown", or "pause" the WATCHDOG
295 # "data": { "action": "reset" },
299 'data': { 'action': 'WatchdogAction' } }
337 # action
366 # action
377 # @watchdog-set-action:
[all …]
/qemu/hw/uefi/
H A Dvar-service-utils.c188 void uefi_trace_variable(const char *action, QemuUUID guid, in uefi_trace_variable() argument
195 trace_uefi_variable(action, str_name, name_size, str_uuid); in uefi_trace_variable()
201 void uefi_trace_status(const char *action, efi_status status) in uefi_trace_status() argument
205 trace_uefi_status(action, "success"); in uefi_trace_status()
208 trace_uefi_status(action, "invalid parameter"); in uefi_trace_status()
211 trace_uefi_status(action, "unsupported"); in uefi_trace_status()
214 trace_uefi_status(action, "bad buffer size"); in uefi_trace_status()
217 trace_uefi_status(action, "buffer too small"); in uefi_trace_status()
220 trace_uefi_status(action, "write protected"); in uefi_trace_status()
223 trace_uefi_status(action, "out of resources"); in uefi_trace_status()
[all …]
/qemu/tests/migration-stress/guestperf/
H A Dshell.py43 parser.add_argument("--debug", dest="debug", default=False, action="store_true")
44 parser.add_argument("--verbose", dest="verbose", default=False, action="store_true")
115 parser.add_argument("--pause", dest="pause", default=False, action="store_true")
118 parser.add_argument("--post-copy", dest="post_copy", default=False, action="store_true")
121 … parser.add_argument("--auto-converge", dest="auto_converge", default=False, action="store_true")
124 … parser.add_argument("--compression-mt", dest="compression_mt", default=False, action="store_true")
127 …add_argument("--compression-xbzrle", dest="compression_xbzrle", default=False, action="store_true")
131 action="store_true")
138 action="store_true")
260 self._parser.add_argument("--debug", dest="debug", default=False, action="store_true")
[all …]
/qemu/tests/qtest/
H A Dwdt_ib700-test.c60 QTestState *s = qtest_init("-watchdog-action pause -device ib700"); in ib700_pause()
64 g_assert(!strcmp(qdict_get_str(d, "action"), "pause")); in ib700_pause()
73 QTestState *s = qtest_init("-watchdog-action reset -device ib700"); in ib700_reset()
77 g_assert(!strcmp(qdict_get_str(d, "action"), "reset")); in ib700_reset()
88 s = qtest_init("-watchdog-action reset -no-reboot -device ib700"); in ib700_shutdown()
91 g_assert(!strcmp(qdict_get_str(d, "action"), "reset")); in ib700_shutdown()
100 QTestState *s = qtest_init("-watchdog-action none -device ib700"); in ib700_none()
104 g_assert(!strcmp(qdict_get_str(d, "action"), "none")); in ib700_none()
H A Dpvpanic-test.c21 qts = qtest_init("-device pvpanic -action panic=none"); in test_panic_nopause()
31 g_assert(qdict_haskey(data, "action")); in test_panic_nopause()
32 g_assert_cmpstr(qdict_get_str(data, "action"), ==, "run"); in test_panic_nopause()
44 qts = qtest_init("-device pvpanic -action panic=pause"); in test_panic()
54 g_assert(qdict_haskey(data, "action")); in test_panic()
55 g_assert_cmpstr(qdict_get_str(data, "action"), ==, "pause"); in test_panic()
H A Dpvpanic-pci-test.c31 qts = qtest_init("-device pvpanic-pci,addr=04.0 -action panic=none"); in test_panic_nopause()
46 g_assert(qdict_haskey(data, "action")); in test_panic_nopause()
47 g_assert_cmpstr(qdict_get_str(data, "action"), ==, "run"); in test_panic_nopause()
64 qts = qtest_init("-device pvpanic-pci,addr=04.0 -action panic=pause"); in test_panic()
79 g_assert(qdict_haskey(data, "action")); in test_panic()
80 g_assert_cmpstr(qdict_get_str(data, "action"), ==, "pause"); in test_panic()
H A Derst-test.c45 #define ACTION 0 macro
52 return "ACTION"; in reg2str()
133 out_reg32(&state, ACTION, 0xD); in test_acpi_erst_basic()
135 out_reg32(&state, ACTION, 0xE); in test_acpi_erst_basic()
137 out_reg32(&state, ACTION, 0xF); in test_acpi_erst_basic()
/qemu/util/
H A Dqemu-progress.c20 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
83 struct sigaction action; in progress_dummy_init() local
86 memset(&action, 0, sizeof(action)); in progress_dummy_init()
87 sigfillset(&action.sa_mask); in progress_dummy_init()
88 action.sa_handler = sigusr_print; in progress_dummy_init()
89 action.sa_flags = 0; in progress_dummy_init()
90 sigaction(SIGUSR1, &action, NULL); in progress_dummy_init()
92 sigaction(SIGINFO, &action, NULL); in progress_dummy_init()
H A Dcoroutine-windows.c20 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
34 CoroutineAction action; member
50 CoroutineAction action) in qemu_coroutine_switch() argument
57 to->action = action; in qemu_coroutine_switch()
59 return from->action; in qemu_coroutine_switch()
H A Dcoroutine-wasm.c36 CoroutineAction action; member
86 CoroutineAction action) in qemu_coroutine_switch() argument
92 to->action = action; in qemu_coroutine_switch()
94 return from->action; in qemu_coroutine_switch()
/qemu/hw/watchdog/
H A Dtrace-events31 spapr_watchdog_expired(uint64_t num, unsigned action) "num=%" PRIu64 " action=%u"
34 watchdog_perform_action(unsigned int action) "action=%u"
35 watchdog_set_action(unsigned int action) "action=%u"
H A Dspapr_watchdog.c43 FIELD_BE(PSERIES_WDTF, ACTION, 56, 8)
111 trace_spapr_watchdog_expired(num, w->action); in watchdog_expired()
112 switch (w->action) { in watchdog_expired()
139 unsigned timeoutAction = FIELD_EX64(flags, PSERIES_WDTF, ACTION); in h_watchdog()
160 w->action = timeoutAction; in h_watchdog()
231 VMSTATE_UINT8(action, SpaprWatchdog),
247 object_property_add_uint8_ptr(o, "action", &w->action, OBJ_PROP_FLAG_READ); in spapr_wdt_realize()
/qemu/hw/net/rocker/
H A Drocker_of_dpa.c133 OfDpaFlowAction action; member
549 if (flow->action.apply.new_vlan_id) { in of_dpa_vlan_insert()
550 of_dpa_flow_pkt_insert_vlan(fc, flow->action.apply.new_vlan_id); in of_dpa_vlan_insert()
574 fc->action_set.apply.copy_to_cpu = flow->action.apply.copy_to_cpu; in of_dpa_apply_actions()
645 if (flow->action.write.group_id != ROCKER_GROUP_NONE) { in of_dpa_bridging_action_write()
646 fc->action_set.write.group_id = flow->action.write.group_id; in of_dpa_bridging_action_write()
648 fc->action_set.write.tun_log_lport = flow->action.write.tun_log_lport; in of_dpa_bridging_action_write()
674 if (flow->action.write.group_id != ROCKER_GROUP_NONE) { in of_dpa_unicast_routing_action_write()
675 fc->action_set.write.group_id = flow->action.write.group_id; in of_dpa_unicast_routing_action_write()
710 if (flow->action.write.group_id != ROCKER_GROUP_NONE) { in of_dpa_multicast_routing_action_write()
[all …]
H A Drocker-hmp-cmds.c86 RockerOfDpaFlowAction *action = flow->action; in hmp_rocker_of_dpa_flows() local
193 if (action->has_goto_tbl || action->has_group_id || in hmp_rocker_of_dpa_flows()
194 action->has_new_vlan_id) { in hmp_rocker_of_dpa_flows()
198 if (action->has_new_vlan_id) { in hmp_rocker_of_dpa_flows()
200 ntohs(action->new_vlan_id)); in hmp_rocker_of_dpa_flows()
203 if (action->has_group_id) { in hmp_rocker_of_dpa_flows()
204 monitor_printf(mon, " write group 0x%08x", action->group_id); in hmp_rocker_of_dpa_flows()
207 if (action->has_goto_tbl) { in hmp_rocker_of_dpa_flows()
208 monitor_printf(mon, " goto tbl %d", action->goto_tbl); in hmp_rocker_of_dpa_flows()
/qemu/scripts/codeconverter/
H A Dconverter.py94 p.add_argument('--pattern', required=True, action='append',
97 p.add_argument('--inplace', '-i', action='store_true',
99 p.add_argument('--dry-run', action='store_true',
101 p.add_argument('--force', '-f', action='store_true',
103 p.add_argument('--diff', action='store_true',
105 p.add_argument('--debug', '-d', action='store_true',
107 p.add_argument('--verbose', '-v', action='store_true',
109 p.add_argument('--table', action='store_true',
/qemu/tests/qemu-iotests/
H A Dcheck47 p.add_argument('-n', '--dry-run', action='store_true',
52 p.add_argument('-d', dest='debug', action='store_true', help='debug')
53 p.add_argument('-p', dest='print', action='store_true',
56 p.add_argument('-gdb', action='store_true',
59 p.add_argument('-valgrind', action='store_true',
63 p.add_argument('-misalign', action='store_true',
68 p.add_argument('-tap', action='store_true',
75 mg.add_argument('-nocache', dest='cachemode', action='store_const',
94 mg.add_argument('-' + fmt, dest='imgfmt', action='store_const',
104 mg.add_argument('-' + prt, dest='imgproto', action='store_const',
/qemu/scripts/qapi/
H A Dmain.py69 parser.add_argument('-b', '--builtins', action='store_true',
71 parser.add_argument('-o', '--output-dir', action='store',
74 parser.add_argument('-p', '--prefix', action='store',
77 parser.add_argument('-u', '--unmask-non-abi-names', action='store_true',
85 parser.add_argument('--suppress-tracing', action='store_true',
88 parser.add_argument('schema', action='store')
/qemu/docs/
H A Dimage-fuzzer.txt166 - action vector (optional)
187 9. The same seed should generate the same image for the same action vector,
192 11. Action vector should be randomly generated from the pool of available
217 The fuzzer can be controlled via template, seed and action vector;
220 specified via an action vector. Otherwise, knowledge about an image structure
222 and randomly select some of them and so compose its own action vector.
231 Action vector is a sequence of structure elements retrieved from an image
233 elements of the action pool. Example: header, refcount table, etc.
234 Action pool is all available elements of an image structure that generated
239 action vector.
/qemu/scripts/rust/
H A Drustc_args.py139 parser.add_argument("-v", "--verbose", action="store_true")
143 action="append",
151 action="store",
159 action="store",
167 action="store_true",
175 action="store_true",
185 action="store",
192 action="store_true",
/qemu/python/qemu/qmp/
H A Dqmp_shell.py60 action-name1 [ arg-name1=arg1 ] ... [arg-nameN=argN ]
62 action-nameN [ arg-name1=arg1 ] ... [arg-nameN=argN ]
67 transaction( action-name1 ... )
323 # Parse and cache this Transactional Action
325 action = {'type': cmdargs[0], 'data': {}}
329 self._cli_expr(cmdargs[1:], action['data'])
330 self._actions.append(action)
355 # For transaction mode, we may have just cached the action:
522 parser.add_argument('-H', '--hmp', action='store_true',
524 parser.add_argument('-N', '--skip-negotiation', action='store_true',
[all …]
/qemu/scripts/simplebench/
H A Dbench-backup.py166 class ExtendAction(argparse.Action):
188 action=ExtendAction)
194 action=ExtendAction)
201 action=ExtendAction)
205 lazy_refcounts for each test run''', action='store_true')
208 test-source raw images''', action='store_true')
220 p.add_argument('--initial-run', action=argparse.BooleanOptionalAction,
225 p.add_argument('--drop-caches', action='store_true', help='''\
/qemu/system/
H A Drunstate-hmp-cmds.c71 WatchdogAction action; in hmp_watchdog_action() local
74 qapi_value = g_ascii_strdown(qdict_get_str(qdict, "action"), -1); in hmp_watchdog_action()
75 action = qapi_enum_parse(&WatchdogAction_lookup, qapi_value, -1, &err); in hmp_watchdog_action()
81 qmp_watchdog_set_action(action, &error_abort); in hmp_watchdog_action()
/qemu/
H A Dblockdev.c28 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
330 error_setg(errp, "'%s' invalid %s error action", in parse_block_error_action()
760 .help = "read error action",
764 .help = "write error action",
1063 static void blockdev_do_action(TransactionAction *action, Error **errp) in blockdev_do_action() argument
1067 list.value = action; in blockdev_do_action()
1087 TransactionAction action = { in qmp_blockdev_snapshot_sync() local
1091 blockdev_do_action(&action, errp); in qmp_blockdev_snapshot_sync()
1101 TransactionAction action = { in qmp_blockdev_snapshot() local
1105 blockdev_do_action(&action, errp); in qmp_blockdev_snapshot()
[all …]
/qemu/include/block/
H A Dblock_int-global-state.h20 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
54 * @on_error: The action to take upon error.
86 * @on_error: The action to take upon error.
111 * @on_error: The action to take upon error.
143 * @on_source_error: The action to take upon error reading from the source.
144 * @on_target_error: The action to take upon error writing to the target.
180 * @on_source_error: The action to take upon error reading from the source.
181 * @on_target_error: The action to take upon error writing to the target.
182 * @on_cbw_error: The action to take upon error in copy-before-write operations.

12345678910>>...39