/qemu/target/i386/kvm/ |
H A D | hyperv.c | 54 int kvm_hv_handle_exit(X86CPU *cpu, struct kvm_hyperv_exit *exit) in kvm_hv_handle_exit() argument 58 switch (exit->type) { in kvm_hv_handle_exit() 64 switch (exit->u.synic.msr) { in kvm_hv_handle_exit() 66 env->msr_hv_synic_control = exit->u.synic.control; in kvm_hv_handle_exit() 69 env->msr_hv_synic_msg_page = exit->u.synic.msg_page; in kvm_hv_handle_exit() 72 env->msr_hv_synic_evt_page = exit->u.synic.evt_page; in kvm_hv_handle_exit() 88 uint16_t code = exit->u.hcall.input & 0xffff; in kvm_hv_handle_exit() 89 bool fast = exit->u.hcall.input & HV_HYPERCALL_FAST; in kvm_hv_handle_exit() 90 uint64_t in_param = exit->u.hcall.params[0]; in kvm_hv_handle_exit() 91 uint64_t out_param = exit->u.hcall.params[1]; in kvm_hv_handle_exit() [all …]
|
H A D | xen-emu.c | 167 * some period after an IRQ!!). In the Xen case, we do it on exit from in kvm_xen_init() 246 static bool kvm_xen_hcall_xen_version(struct kvm_xen_exit *exit, X86CPU *cpu, in kvm_xen_hcall_xen_version() argument 281 exit->u.hcall.result = err; in kvm_xen_hcall_xen_version() 632 static int do_add_to_physmap(struct kvm_xen_exit *exit, X86CPU *cpu, in do_add_to_physmap() argument 638 if (hypercall_compat32(exit->u.hcall.longmode)) { in do_add_to_physmap() 663 static int do_add_to_physmap_batch(struct kvm_xen_exit *exit, X86CPU *cpu, in do_add_to_physmap_batch() argument 671 if (hypercall_compat32(exit->u.hcall.longmode)) { in do_add_to_physmap_batch() 728 static bool kvm_xen_hcall_memory_op(struct kvm_xen_exit *exit, X86CPU *cpu, in kvm_xen_hcall_memory_op() argument 735 err = do_add_to_physmap(exit, cpu, arg); in kvm_xen_hcall_memory_op() 739 err = do_add_to_physmap_batch(exit, cpu, arg); in kvm_xen_hcall_memory_op() [all …]
|
/qemu/block/ |
H A D | vhdx-log.c | 71 goto exit; in vhdx_log_peek_hdr() 84 goto exit; in vhdx_log_peek_hdr() 91 goto exit; in vhdx_log_peek_hdr() 95 exit: in vhdx_log_peek_hdr() 152 goto exit; in vhdx_log_read_sectors() 160 exit: in vhdx_log_read_sectors() 187 goto exit; in vhdx_log_write_sectors() 203 goto exit; in vhdx_log_write_sectors() 212 exit: in vhdx_log_write_sectors() 224 goto exit; in vhdx_log_hdr_is_valid() [all …]
|
H A D | vhdx.c | 244 goto exit; in vhdx_region_check() 248 exit: in vhdx_region_check() 331 goto exit; in vhdx_write_header() 345 exit: in vhdx_write_header() 395 goto exit; in vhdx_update_header() 399 exit: in vhdx_update_header() 508 goto exit; in vhdx_parse_header() 516 exit: in vhdx_parse_header() 653 goto exit; in vhdx_parse_metadata() 662 goto exit; in vhdx_parse_metadata() [all …]
|
/qemu/ |
H A D | qemu-nbd.c | 93 " -h, --help display this help and exit\n" in usage() 94 " -V, --version output version information and exit\n" in usage() 102 " -t, --persistent don't exit on the last connection\n" in usage() 123 " --fork fork off the server process and exit the parent\n" in usage() 277 exit(EXIT_FAILURE); in nbd_client_release_pipe() 281 exit(EXIT_FAILURE); in nbd_client_release_pipe() 647 exit(EXIT_FAILURE); in main() 652 exit(EXIT_FAILURE); in main() 658 exit(EXIT_FAILURE); in main() 663 exit(EXIT_FAILURE); in main() [all …]
|
H A D | qemu-edid.c | 58 exit(1); in main() 63 exit(1); in main() 69 exit(1); in main() 75 exit(1); in main() 81 exit(1); in main() 87 exit(1); in main() 93 exit(1); in main() 97 exit(1); in main() 111 exit(0); in main() 114 exit(1); in main() [all …]
|
H A D | os-posix.c | 80 exit(1); in os_set_proc_name() 84 exit(1); in os_set_proc_name() 148 exit(1); in change_process_uid() 154 exit(1); in change_process_uid() 160 exit(1); in change_process_uid() 165 exit(1); in change_process_uid() 169 exit(1); in change_process_uid() 187 exit(1); in change_root() 191 exit(1); in change_root() 219 exit(1); in os_daemonize() [all …]
|
/qemu/scripts/coverity-scan/ |
H A D | run-coverity-scan | 62 # Check whether we can do an upload to the server; will exit *the script* 72 exit 99 87 exit 99 94 # Check whether we can do an upload to the server; will exit the script 96 # will exit the script with status 0 if the check indicated that we 107 # Exit success as this isn't a build error. 108 exit 0 145 exit 1 195 exit 1 204 exit 1 [all …]
|
/qemu/tests/qemu-iotests/ |
H A D | 063 | 38 trap "_cleanup; exit \$status" 0 1 2 3 15 56 exit 1 63 exit 1 69 exit 1 73 exit 1 77 exit 1 82 exit 1 89 exit 1 104 exit 0
|
H A D | qcow2.py | 49 sys.exit(1) 54 sys.exit(1) 66 sys.exit(1) 84 sys.exit(1) 108 sys.exit(1) 120 sys.exit(1) 170 sys.exit(1)
|
/qemu/tests/qemu-iotests/tests/ |
H A D | qemu-img-close-errors.out | 7 qemu-img commit exit code: 0 8 qemu-img bitmap --add exit code: 0 12 qemu-img bitmap --merge exit code: 1 20 qemu-img commit exit code: 1 21 qemu-img bitmap --add exit code: 0 22 qemu-img bitmap --merge exit code: 0
|
/qemu/scripts/qemu-guest-agent/fsfreeze-hook.d/ |
H A D | mysql-flush.sh.sample | 12 [ -x "$MYSQL" ] && "$MYSQL" $MYSQL_OPTS < /dev/null || exit 0 24 mkfifo $FIFO || exit 1 33 [ $? -ne 0 ] && exit 2 34 trap "rm -f $INNODB_STATUS; exit 1" HUP INT QUIT ALRM TERM 49 [ ! -p $FIFO ] && exit 1 54 exit 1
|
/qemu/tools/i386/ |
H A D | qemu-vmsr-helper.c | 171 " -h, --help display this help and exit\n" in usage() 172 " -V, --version output version information and exit\n" in usage() 374 exit(EXIT_FAILURE); in main() 379 exit(EXIT_FAILURE); in main() 390 exit(EXIT_FAILURE); in main() 409 exit(EXIT_FAILURE); in main() 423 exit(EXIT_FAILURE); in main() 431 exit(1); in main() 444 exit(EXIT_SUCCESS); in main() 448 exit(EXIT_SUCCESS); in main() [all …]
|
/qemu/tests/rocker/ |
H A D | all | 3 if [ $? -eq 0 ]; then echo "pass"; else echo "FAILED"; exit 1; fi 7 if [ $? -eq 0 ]; then echo "pass"; else echo "FAILED"; exit 1; fi 11 if [ $? -eq 0 ]; then echo "pass"; else echo "FAILED"; exit 1; fi 15 if [ $? -eq 0 ]; then echo "pass"; else echo "FAILED"; exit 1; fi 19 if [ $? -eq 0 ]; then echo "pass"; else echo "FAILED"; exit 1; fi
|
/qemu/tests/docker/ |
H A D | run | 32 tar -C $TEST_DIR/src -xf $BASE/qemu.tar || { echo "Failed to untar source"; exit 2; } 60 echo "* Hit Ctrl-D to continue, or type 'exit 1' to abort" 65 exit 0 69 echo "* Hit Ctrl-D to exit" 72 env bash --noprofile --norc && exit 1 74 exit 1
|
/qemu/hw/core/ |
H A D | resettable.c | 19 * resettable_phase_enter/hold/exit: 32 * count the number of exit phase we are in. 103 /* exit phase has to finish properly before entering back in reset */ in resettable_phase_enter() 149 /* exit phase has to finish properly before entering back in reset */ in resettable_phase_hold() 183 trace_resettable_phase_exit_exec(obj, obj_typename, !!rc->phases.exit); in resettable_phase_exit() 184 if (rc->phases.exit) { in resettable_phase_exit() 185 rc->phases.exit(obj, type); in resettable_phase_exit() 213 * Ensure we do not change parent when in enter or exit phase. in resettable_change_parent() 252 ResettableExitPhase exit, in resettable_class_set_parent_phases() argument 262 if (exit) { in resettable_class_set_parent_phases() [all …]
|
/qemu/system/ |
H A D | vl.c | 720 exit(0); in configure_blockdev() 807 exit(1); in realtime_init() 903 exit(exitcode); in help() 1052 exit(0); in select_vgahw() 1061 exit(1); in select_vgahw() 1070 exit(1); in select_vgahw() 1110 exit(0); in parse_display() 1126 exit(1); in parse_display() 1227 exit(0); in chardev_init_func() 1259 exit(1); in monitor_parse() [all …]
|
/qemu/scripts/ |
H A D | extract-vsssdk-headers | 9 exit 1 14 exit 1 19 exit 1 28 trap 'rm -fr -- "$tmpdir" vsssdk.msi' EXIT HUP INT QUIT ALRM TERM 35 exit 0
|
/qemu/include/gdbstub/ |
H A D | syscalls.h | 104 * gdb_exit: exit gdb session, reporting inferior status 105 * @code: exit code reported 108 * the exit status of the program. It also cleans up any connections 114 * gdb_qemu_exit: ask qemu to exit 115 * @code: exit code reported 117 * This requests qemu to exit. This function is allowed to return as 118 * the exit request might be processed asynchronously by qemu backend.
|
/qemu/tests/tcg/multiarch/arm-compat-semi/ |
H A D | semihosting.c | 43 exit(1); in main() 50 exit(2); in main() 55 exit(3); in main() 62 exit(4); in main() 66 exit(5); in main() 72 exit(6); in main()
|
/qemu/include/hw/ |
H A D | resettable.h | 63 * for the phases.enter, phases.hold and phases.exit methods, which 67 * for any reset event, in the order 'enter', 'hold', 'exit'. 70 * before eventually reset is deasserted and the 'exit' phase is called. 89 * @phases.exit: This phase is called when the object leaves the reset state. 114 ResettableExitPhase exit; member 139 * @exit_phase_in_progress: true if we are currently in the exit phase 211 * a hold phase method. Calling this during enter or exit phase is an error. 228 * by the given new methods (@enter, @hold and @exit). 235 ResettableExitPhase exit,
|
/qemu/target/i386/nvmm/ |
H A D | nvmm-all.c | 354 /* Exit on interrupt window. */ in nvmm_can_take_int() 371 * Contrary to INTs, NMIs always schedule an exit when they are in nvmm_can_take_nmi() 472 nvmm_vcpu_post_run(CPUState *cpu, struct nvmm_vcpu_exit *exit) in nvmm_vcpu_post_run() argument 479 env->eflags = exit->exitstate.rflags; in nvmm_vcpu_post_run() 480 qcpu->int_shadow = exit->exitstate.int_shadow; in nvmm_vcpu_post_run() 481 qcpu->int_window_exit = exit->exitstate.int_window_exiting; in nvmm_vcpu_post_run() 482 qcpu->nmi_window_exit = exit->exitstate.nmi_window_exiting; in nvmm_vcpu_post_run() 484 tpr = exit->exitstate.cr8; in nvmm_vcpu_post_run() 537 (void *)vcpu->exit->u.mem.gpa); in nvmm_handle_mem() 551 (int)vcpu->exit->u.io.port); in nvmm_handle_io() [all …]
|
/qemu/linux-user/alpha/ |
H A D | cpu_loop.c | 42 fprintf(stderr, "Reset requested. Exit\n"); in cpu_loop() 43 exit(EXIT_FAILURE); in cpu_loop() 46 fprintf(stderr, "Machine check exception. Exit\n"); in cpu_loop() 47 exit(EXIT_FAILURE); in cpu_loop() 52 fprintf(stderr, "External interrupt. Exit\n"); in cpu_loop() 53 exit(EXIT_FAILURE); in cpu_loop() 161 exit(EXIT_FAILURE); in cpu_loop()
|
/qemu/.gitlab-ci.d/custom-runners/ |
H A D | ubuntu-22.04-aarch64.yml | 21 || { cat config.log meson-logs/meson-log.txt; exit 1; } 44 || { cat config.log meson-logs/meson-log.txt; exit 1; } 66 || { cat config.log meson-logs/meson-log.txt; exit 1; } 84 || { cat config.log meson-logs/meson-log.txt; exit 1; } 107 || { cat config.log meson-logs/meson-log.txt; exit 1; } 128 || { cat config.log meson-logs/meson-log.txt; exit 1; } 149 || { cat config.log meson-logs/meson-log.txt; exit 1; }
|
/qemu/scripts/kvm/ |
H A D | kvm_flightrecorder | 82 sys.exit(0) 91 sys.exit(0) 96 sys.exit(1) 99 sys.exit(1) 109 sys.exit(1) 126 sys.exit(main())
|