Home
last modified time | relevance | path

Searched refs:action (Results 1 – 25 of 120) sorted by relevance

12345

/qemu/hw/acpi/
H A Derst.c291 build_serialization_instruction(&wr_action, action, action); in build_erst()
294 build_serialization_instruction(&wr_action, action, action); in build_erst()
297 build_serialization_instruction(&wr_action, action, action); in build_erst()
300 build_serialization_instruction(&wr_action, action, action); in build_erst()
304 build_serialization_instruction(&wr_action, action, action); in build_erst()
309 build_serialization_instruction(&wr_action, action, action); in build_erst()
312 build_serialization_instruction(&wr_action, action, action); in build_erst()
316 build_serialization_instruction(&wr_action, action, action); in build_erst()
320 build_serialization_instruction(&wr_action, action, action); in build_erst()
325 build_serialization_instruction(&wr_action, action, action); in build_erst()
[all …]
/qemu/util/
H A Dqemu-progress.c83 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.c34 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 Dmain-loop.c62 struct sigaction action; in sigfd_handler() local
78 sigaction(info.ssi_signo, NULL, &action); in sigfd_handler()
79 if ((action.sa_flags & SA_SIGINFO) && action.sa_sigaction) { in sigfd_handler()
80 sigaction_invoke(&action, &info); in sigfd_handler()
81 } else if (action.sa_handler) { in sigfd_handler()
82 action.sa_handler(info.ssi_signo); in sigfd_handler()
/qemu/qapi/
H A Drun-state.json282 # @action: action that has been taken
337 # action
366 # action
379 # Set watchdog action.
381 # @action: @WatchdogAction action taken when watchdog timer expires.
391 { 'command': 'watchdog-set-action', 'data' : {'action': 'WatchdogAction'} }
394 # @set-action:
430 # @action: action that has been taken, currently always "pause"
450 # @action: action that has been taken, currently always "run"
594 # @action: action that has been taken.
[all …]
/qemu/tests/migration/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")
114 parser.add_argument("--pause", dest="pause", default=False, action="store_true")
117 parser.add_argument("--post-copy", dest="post_copy", default=False, action="store_true")
120 … parser.add_argument("--auto-converge", dest="auto_converge", default=False, action="store_true")
130 action="store_true")
135 action="store_true")
256 self._parser.add_argument("--debug", dest="debug", default=False, action="store_true")
257 self._parser.add_argument("--verbose", dest="verbose", default=False, action="store_true")
262 self._parser.add_argument("--qemu-cpu", dest="qemu_cpu", default=False, action="store_true")
[all …]
/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/hw/net/rocker/
H A Drocker_of_dpa.c133 OfDpaFlowAction action; member
1066 OfDpaFlowAction *action = &flow->action; in of_dpa_cmd_add_ig_port() local
1085 action->goto_tbl = in of_dpa_cmd_add_ig_port()
1103 OfDpaFlowAction *action = &flow->action; in of_dpa_cmd_add_vlan() local
1137 action->goto_tbl = in of_dpa_cmd_add_vlan()
1167 OfDpaFlowAction *action = &flow->action; in of_dpa_cmd_add_term_mac() local
1232 action->goto_tbl = in of_dpa_cmd_add_term_mac()
1263 OfDpaFlowAction *action = &flow->action; in of_dpa_cmd_add_bridging() local
1425 OfDpaFlowAction *action = &flow->action; in of_dpa_cmd_add_unicast_routing() local
1517 OfDpaFlowAction *action = &flow->action; in of_dpa_cmd_add_multicast_routing() local
[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/scripts/qapi/
H A Dmain.py67 parser.add_argument('-b', '--builtins', action='store_true',
69 parser.add_argument('-o', '--output-dir', action='store',
72 parser.add_argument('-p', '--prefix', action='store',
75 parser.add_argument('-u', '--unmask-non-abi-names', action='store_true',
81 parser.add_argument('--suppress-tracing', action='store_true',
84 parser.add_argument('schema', action='store')
/qemu/scripts/simplebench/
H A Dbench-backup.py188 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/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.c111 trace_spapr_watchdog_expired(num, w->action); in watchdog_expired()
112 switch (w->action) { in watchdog_expired()
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()
H A Dwatchdog.c92 void qmp_watchdog_set_action(WatchdogAction action, Error **errp) in qmp_watchdog_set_action() argument
94 watchdog_action = action; in qmp_watchdog_set_action()
/qemu/python/qemu/qmp/
H A Dqmp_shell.py325 action = {'type': cmdargs[0], 'data': {}}
329 self._cli_expr(cmdargs[1:], action['data'])
330 self._actions.append(action)
522 parser.add_argument('-H', '--hmp', action='store_true',
524 parser.add_argument('-N', '--skip-negotiation', action='store_true',
526 parser.add_argument('-v', '--verbose', action='store_true',
528 parser.add_argument('-p', '--pretty', action='store_true',
534 parser.add_argument('qmp_server', action='store',
568 parser.add_argument('-H', '--hmp', action='store_true',
570 parser.add_argument('-v', '--verbose', action='store_true',
[all …]
/qemu/system/
H A Dcpus.c346 struct sigaction action; in sigbus_reraise() local
348 memset(&action, 0, sizeof(action)); in sigbus_reraise()
349 action.sa_handler = SIG_DFL; in sigbus_reraise()
350 if (!sigaction(SIGBUS, &action, NULL)) { in sigbus_reraise()
381 struct sigaction action; in qemu_init_sigbus() local
387 memset(&action, 0, sizeof(action)); in qemu_init_sigbus()
388 action.sa_flags = SA_SIGINFO; in qemu_init_sigbus()
389 action.sa_sigaction = sigbus_handler; in qemu_init_sigbus()
390 sigaction(SIGBUS, &action, NULL); in qemu_init_sigbus()
H A Dqemu-seccomp.c41 uint32_t action; member
279 static uint32_t qemu_seccomp_update_action(uint32_t action) in qemu_seccomp_update_action() argument
283 if (action == SCMP_ACT_TRAP) { in qemu_seccomp_update_action()
299 return action; in qemu_seccomp_update_action()
336 uint32_t action; in seccomp_start() local
341 action = qemu_seccomp_update_action(denylist[i].action); in seccomp_start()
342 rc = seccomp_rule_add_array(ctx, action, denylist[i].num, in seccomp_start()
H A Drunstate-hmp-cmds.c71 WatchdogAction action; in hmp_watchdog_action() local
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.c1067 list.value = action; in blockdev_do_action()
1087 TransactionAction action = { in qmp_blockdev_snapshot_sync() local
1101 TransactionAction action = { in qmp_blockdev_snapshot() local
1364 switch (action->type) { in external_snapshot_action()
1861 qmp_block_dirty_bitmap_add(action->node, action->name, in block_dirty_bitmap_add_action()
1862 action->has_granularity, action->granularity, in block_dirty_bitmap_add_action()
1863 action->has_persistent, action->persistent, in block_dirty_bitmap_add_action()
1864 action->has_disabled, action->disabled, in block_dirty_bitmap_add_action()
1868 state->bitmap = block_dirty_bitmap_lookup(action->node, action->name, in block_dirty_bitmap_add_action()
2019 state->bitmap = block_dirty_bitmap_merge(action->node, action->target, in block_dirty_bitmap_merge_action()
[all …]
H A Dblockjob.c583 BlockErrorAction action; in block_job_error_action() local
589 action = (error == ENOSPC) ? in block_job_error_action()
593 action = BLOCK_ERROR_ACTION_STOP; in block_job_error_action()
596 action = BLOCK_ERROR_ACTION_REPORT; in block_job_error_action()
599 action = BLOCK_ERROR_ACTION_IGNORE; in block_job_error_action()
608 action); in block_job_error_action()
610 if (action == BLOCK_ERROR_ACTION_STOP) { in block_job_error_action()
623 return action; in block_job_error_action()
/qemu/scripts/
H A Ddevice-crash-test491 action='append', dest='testcases', default=[])
492 parser.add_argument('-d', '--debug', action='store_true',
494 parser.add_argument('-v', '--verbose', action='store_true', default=True,
496 parser.add_argument('-q', '--quiet', dest='verbose', action='store_false',
501 parser.add_argument('--shuffle', action='store_true',
503 parser.add_argument('--dry-run', action='store_true',
507 parser.add_argument('-Q', '--quick', action='store_true', default=True,
509 parser.add_argument('-F', '--full', action='store_false', dest='quick',
511 parser.add_argument('--strict', action='store_true', dest='strict',
513 parser.add_argument('--tcg-only', action='store_true', dest='tcg_only',
/qemu/tests/tcg/ppc64/
H A Dbcdsub.c123 struct sigaction action; in main() local
125 action.sa_handler = _exit; in main()
126 sigaction(SIGABRT, &action, NULL); in main()
/qemu/python/scripts/
H A Dmkvenv.py851 action="store",
867 action="store_true",
873 action="store",
879 action="store",
885 action="store",
897 action="store_true",
903 action="store",
909 action="store",
918 action="store",
/qemu/scsi/
H A Dtrace-events4 pr_manager_execute(int fd, int cmd, int sa) "fd=%d cmd=0x%02x service action=0x%02x"
5 pr_manager_run(int fd, int cmd, int sa) "fd=%d cmd=0x%02x service action=0x%02x"

12345