/qemu/hw/sd/ |
H A D | sdmmc-internal.h | 26 const char *sd_cmd_name(uint8_t cmd); 38 const char *sd_acmd_name(uint8_t cmd);
|
/qemu/ui/ |
H A D | input-barrier.c | 206 enum barrierCmd cmd; in readcmd() local 229 cmd = barrierCmdHello; in readcmd() 233 for (cmd = 0; cmd < barrierCmdHello; cmd++) { in readcmd() 234 if (memcmp(ib->buffer, cmd_names[cmd], 4) == 0) { in readcmd() 239 if (cmd == barrierCmdHello) { in readcmd() 246 msg->cmd = cmd; in readcmd() 247 switch (cmd) { in readcmd() 354 switch (msg->cmd) { in writecmd()
|
/qemu/tests/qemu-iotests/ |
H A D | 124 | 145 self.vm.cmd('drive-backup', **kwargs) 204 self.vm.cmd('block-dirty-bitmap-add', node=drive['id'], 390 self.vm.cmd('transaction', actions=[ 418 self.vm.cmd('blockdev-add', 475 self.vm.cmd('transaction', actions=transaction, 503 self.vm.cmd('transaction', actions=transaction, 583 self.vm.cmd('block_resize', device=self.drives[0]['id'], 614 self.vm.cmd('blockdev-add', 664 self.vm.cmd('blockdev-add', 706 self.vm.cmd('drive-backup', [all …]
|
H A D | 296 | 64 self.vm1.cmd("object-add", secret.to_qmp_object()) 65 self.vm2.cmd("object-add", secret.to_qmp_object()) 133 vm.cmd(command, options=[opts]) 135 vm.cmd(command, opts) 153 vm.cmd('blockdev-del', {'node-name': id})
|
H A D | 045 | 80 self.vm.cmd('remove-fd', fdset_id=2) 92 self.vm.cmd('remove-fd', fdset_id=2, fd=fd_image3) 152 self.vm.cmd('getfd', fdname='image0:r') 163 self.vm.cmd('getfd', fdname='image0:r') 164 self.vm.cmd('closefd', fdname='image0:r')
|
H A D | 257 | 163 log(vm.cmd('blockdev-create', job_id='bdc-file-job', 170 log(vm.cmd('blockdev-add', driver='file', 173 log(vm.cmd('blockdev-create', job_id='bdc-fmt-job', 180 log(vm.cmd('blockdev-add', driver=fmt, 225 cmd = "write -P{:s} 0x{:07x} 0x{:x}".format( 229 log(cmd) 230 log(drive.vm.hmp_qemu_io(filter_node_name or drive.node, cmd))
|
H A D | qcow2.py | 139 def main(filename, cmd, args): argument 143 if name != cmd: 151 print("Unknown command '%s'" % cmd)
|
/qemu/tests/avocado/avocado_qemu/ |
H A D | __init__.py | 80 for cmd in cmds: 81 if isinstance(cmd, str): 82 cmd = (cmd,) 84 ok, errstr = has_cmd(*cmd) 411 res = self.vm.cmd('human-monitor-command', 433 result = self.ssh_session.cmd(command) 447 def ssh_command_output_contains(self, cmd, exp): argument 448 stdout, _ = self.ssh_command(cmd) 453 self.fail('"%s" output does not contain "%s"' % (cmd, exp))
|
/qemu/bsd-user/ |
H A D | bsd-mem.h | 310 static inline abi_long do_bsd_shmctl(abi_long shmid, abi_long cmd, in do_bsd_shmctl() argument 316 cmd &= 0xff; in do_bsd_shmctl() 318 switch (cmd) { in do_bsd_shmctl() 323 ret = get_errno(shmctl(shmid, cmd, &dsarg)); in do_bsd_shmctl() 333 ret = get_errno(shmctl(shmid, cmd, &dsarg)); in do_bsd_shmctl() 337 ret = get_errno(shmctl(shmid, cmd, NULL)); in do_bsd_shmctl()
|
/qemu/tests/avocado/ |
H A D | x86_cpu_model_versions.py | 88 self.vm.cmd('query-cpu-definitions')) 120 self.vm.cmd('query-cpu-definitions')) 227 self.vm.cmd('query-cpu-definitions')) 253 cpu_path = self.vm.cmd('query-cpus-fast')[0].get('qom-path') 254 return self.vm.cmd('qom-get', path=cpu_path, property=prop)
|
H A D | cpu_queries.py | 26 cpus = self.vm.cmd('query-cpu-definitions') 33 e = self.vm.cmd('query-cpu-model-expansion', model=model,
|
H A D | ppc_amiga.py | 32 …cmd = f"tail -c 524288 {self.workdir}/floppy_edition/updater.image >{self.workdir}/u-boot-amigaone… 33 process.run(cmd, shell=True)
|
/qemu/tests/qtest/ |
H A D | ipmi-kcs-test.c | 108 static void kcs_cmd(uint8_t *cmd, unsigned int cmd_len, in kcs_cmd() argument 121 kcs_write_datareg(cmd[i]); in kcs_cmd() 153 static void kcs_abort(uint8_t *cmd, unsigned int cmd_len, in kcs_abort() argument 167 kcs_write_datareg(cmd[i]); in kcs_abort()
|
/qemu/hw/scsi/ |
H A D | esp.c | 1151 uint8_t cmd = s->rregs[ESP_CMD]; in esp_run_cmd() local 1153 if (cmd & CMD_DMA) { in esp_run_cmd() 1164 switch (cmd & CMD_CMD) { in esp_run_cmd() 1166 trace_esp_mem_writeb_cmd_nop(cmd); in esp_run_cmd() 1169 trace_esp_mem_writeb_cmd_flush(cmd); in esp_run_cmd() 1173 trace_esp_mem_writeb_cmd_reset(cmd); in esp_run_cmd() 1185 trace_esp_mem_writeb_cmd_ti(cmd); in esp_run_cmd() 1189 trace_esp_mem_writeb_cmd_iccs(cmd); in esp_run_cmd() 1200 trace_esp_mem_writeb_cmd_pad(cmd); in esp_run_cmd() 1204 trace_esp_mem_writeb_cmd_satn(cmd); in esp_run_cmd() [all …]
|
/qemu/hw/net/ |
H A D | i82596.c | 235 uint16_t cmd; in command_loop() local 247 cmd = get_uint16(s->cmd_p + 2); in command_loop() 248 DBG(printf("Running command %04x at %08x\n", cmd, s->cmd_p)); in command_loop() 250 switch (cmd & 0x07) { in command_loop() 284 printf("FIXME Command %d !!\n", cmd & 7); in command_loop() 298 if (cmd & CMD_EOL) { in command_loop() 302 if (cmd & CMD_SUSP) { in command_loop() 307 if (cmd & CMD_INTR) { in command_loop() 315 if (cmd & CMD_INTR) { in command_loop()
|
/qemu/tests/qapi-schema/ |
H A D | doc-bad-boxed-command-arg.json | 10 # @cmd-boxed: 13 { 'command': 'cmd-boxed', 'boxed': true,
|
H A D | qapi-schema-test.out | 178 command user-def-cmd None -> None 189 command cmd-success-response None -> None 191 command coroutine-cmd None -> None 297 object q_obj_test-if-union-cmd-arg 298 member union-cmd-arg: TestIfUnion optional=False 300 command test-if-union-cmd q_obj_test-if-union-cmd-arg -> None 309 object q_obj_test-if-alternate-cmd-arg 310 member alt-cmd-arg: TestIfAlternate optional=False 312 command test-if-alternate-cmd q_obj_test-if-alternate-cmd-arg -> None 315 command test-if-cmd TestIfStruct -> UserDefThree [all …]
|
/qemu/util/ |
H A D | sys_membarrier.c | 18 membarrier(int cmd, int flags) in membarrier() argument 20 return syscall(__NR_membarrier, cmd, flags); in membarrier()
|
/qemu/include/ |
H A D | qemu-io.h | 48 int qemuio_command(BlockBackend *blk, const char *cmd); 53 void (*fn)(const char *cmd, void *opaque),
|
/qemu/target/i386/hvf/ |
H A D | x86_decode.c | 282 decode->cmd = X86_DECODE_CMD_INC; in decode_incgroup2() 284 decode->cmd = X86_DECODE_CMD_DEC; in decode_incgroup2() 329 decode->cmd = group[decode->modrm.reg]; in decode_addgroup() 344 decode->cmd = group[decode->modrm.reg]; in decode_rotgroup() 359 decode->cmd = group[decode->modrm.reg]; in decode_f7group() 422 enum x86_decode_cmd cmd; member 441 enum x86_decode_cmd cmd; member 471 decode->cmd = decoder->cmd; in decode_x87_ins() 651 decode->cmd = X86_DECODE_CMD_FCHS; in decode_d9_4() 2046 decode->cmd = inst_decoder->cmd; in decode_opcode_general() [all …]
|
/qemu/python/qemu/utils/ |
H A D | qom_common.py | 143 rsp = self.qmp.cmd('qom-list', path=path) 159 cmd = cls(args) 160 return cmd.run()
|
/qemu/hw/ppc/ |
H A D | pnv_sbe.c | 208 uint16_t cmd, ctrl_flags, seq_id; in do_sbe_msg() local 217 cmd = msg.reg[0]; in do_sbe_msg() 221 trace_pnv_sbe_msg_recv(cmd, seq_id, ctrl_flags); in do_sbe_msg() 227 switch (cmd) { in do_sbe_msg() 240 qemu_log_mask(LOG_UNIMP, "SBE Unimplemented command: 0x%x\n", cmd); in do_sbe_msg()
|
/qemu/scsi/ |
H A D | utils.c | 47 uint64_t scsi_cmd_lba(SCSICommand *cmd) in scsi_cmd_lba() argument 49 uint8_t *buf = cmd->buf; in scsi_cmd_lba() 457 const char *scsi_command_name(uint8_t cmd) in scsi_command_name() argument 577 if (cmd >= ARRAY_SIZE(names) || names[cmd] == NULL) { in scsi_command_name() 580 return names[cmd]; in scsi_command_name()
|
/qemu/backends/tpm/ |
H A D | tpm_emulator.c | 125 static int tpm_emulator_ctrlcmd(TPMEmulator *tpm, unsigned long cmd, void *msg, in tpm_emulator_ctrlcmd() argument 129 uint32_t cmd_no = cpu_to_be32(cmd); in tpm_emulator_ctrlcmd() 225 static void tpm_emulator_handle_request(TPMBackend *tb, TPMBackendCmd *cmd, in tpm_emulator_handle_request() argument 232 if (tpm_emulator_set_locality(tpm_emu, cmd->locty, errp) < 0 || in tpm_emulator_handle_request() 233 tpm_emulator_unix_tx_bufs(tpm_emu, cmd->in, cmd->in_len, in tpm_emulator_handle_request() 234 cmd->out, cmd->out_len, in tpm_emulator_handle_request() 235 &cmd->selftest_done, errp) < 0) { in tpm_emulator_handle_request() 236 tpm_util_write_fatal_error_response(cmd->out, cmd->out_len); in tpm_emulator_handle_request()
|
/qemu/hw/usb/ |
H A D | dev-mtp.c | 1846 MTPControl cmd; in usb_mtp_handle_data() local 1956 if (cmd.argc > ARRAY_SIZE(cmd.argv)) { in usb_mtp_handle_data() 1957 cmd.argc = ARRAY_SIZE(cmd.argv); in usb_mtp_handle_data() 1965 for (i = 0; i < cmd.argc; i++) { in usb_mtp_handle_data() 1968 trace_usb_mtp_command(s->dev.addr, cmd.code, cmd.trans, in usb_mtp_handle_data() 1969 (cmd.argc > 0) ? cmd.argv[0] : 0, in usb_mtp_handle_data() 1970 (cmd.argc > 1) ? cmd.argv[1] : 0, in usb_mtp_handle_data() 1971 (cmd.argc > 2) ? cmd.argv[2] : 0, in usb_mtp_handle_data() 1972 (cmd.argc > 3) ? cmd.argv[3] : 0, in usb_mtp_handle_data() 1973 (cmd.argc > 4) ? cmd.argv[4] : 0); in usb_mtp_handle_data() [all …]
|