Home
last modified time | relevance | path

Searched refs:cmd (Results 1 – 25 of 417) sorted by last modified time

12345678910>>...17

/qemu/tests/qtest/
H A Dmigration-test.c3114 g_autofree gchar *cmd = NULL; in dirtylimit_start_vm() local
3117 cmd = g_strdup_printf("-accel kvm,dirty-ring-size=4096 " in dirtylimit_start_vm()
3124 vm = qtest_init(cmd); in dirtylimit_start_vm()
H A Dmeson.build24 'qmp-cmd-test',
H A Dide-test.c203 static int send_dma_request(QTestState *qts, int cmd, uint64_t sector, in send_dma_request() argument
218 flags = cmd & ~0xff; in send_dma_request()
219 cmd &= 0xff; in send_dma_request()
221 switch (cmd) { in send_dma_request()
255 if (cmd == CMD_PACKET) { in send_dma_request()
259 if (cmd == CMD_DSM) { in send_dma_request()
269 qpci_io_writeb(dev, ide_bar, reg_command, cmd); in send_dma_request()
H A Divshmem-test.c106 static void setup_vm_cmd(IVState *s, const char *cmd, bool msix) in setup_vm_cmd() argument
112 s->qs = qtest_pc_boot("%s", cmd); in setup_vm_cmd()
114 s->qs = qtest_spapr_boot("%s", cmd); in setup_vm_cmd()
136 char *cmd = g_strdup_printf("-object memory-backend-file" in setup_vm() local
140 setup_vm_cmd(s, cmd, false); in setup_vm()
142 g_free(cmd); in setup_vm()
294 char *cmd; in setup_vm_with_server() local
296 cmd = g_strdup_printf("-chardev socket,id=chr0,path=%s " in setup_vm_with_server()
300 setup_vm_cmd(s, cmd, true); in setup_vm_with_server()
302 g_free(cmd); in setup_vm_with_server()
H A Derst-test.c96 static void setup_vm_cmd(ERSTState *s, const char *cmd) in setup_vm_cmd() argument
101 s->qs = qtest_pc_boot("%s", cmd); in setup_vm_cmd()
/qemu/
H A Dqemu-options.hx2108 "-display cocoa[,full-grab=on|off][,swap-opt-cmd=on|off]\n"
2218 ``swap-opt-cmd=on|off`` : Swap the Option and Command keys so that their
3195 ``guestfwd=[tcp]:server:port-dev``; \ ``guestfwd=[tcp]:server:port-cmd:command``
3198 cmd:command which gets spawned for each connection. This option
3218 |qemu_system| -nic 'user,id=n1,guestfwd=tcp:10.0.2.100:1234-cmd:netcat 10.10.1.1 4321'
H A Dhmp-commands.hx12 .params = "[cmd]",
14 .cmd = hmp_help,
19 ``help`` or ``?`` [*cmd*]
28 .cmd = hmp_commit,
47 .cmd = hmp_quit,
184 .cmd = hmp_eject,
292 .cmd = hmp_trace_event,
322 .cmd = hmp_log,
406 .cmd = hmp_stop,
673 .cmd = hmp_sum,
[all …]
H A DMAINTAINERS3301 F: tests/qtest/qmp-cmd-test.c
/qemu/migration/
H A Dsavevm.c2442 uint16_t cmd; in loadvm_process_command() local
2446 cmd = qemu_get_be16(f); in loadvm_process_command()
2454 if (cmd >= MIG_CMD_MAX || cmd == MIG_CMD_INVALID) { in loadvm_process_command()
2455 error_report("MIG_CMD 0x%x unknown (len 0x%x)", cmd, len); in loadvm_process_command()
2459 trace_loadvm_process_command(mig_cmd_args[cmd].name, len); in loadvm_process_command()
2461 if (mig_cmd_args[cmd].len != -1 && mig_cmd_args[cmd].len != len) { in loadvm_process_command()
2463 mig_cmd_args[cmd].name, in loadvm_process_command()
2464 (size_t)mig_cmd_args[cmd].len, len); in loadvm_process_command()
2468 switch (cmd) { in loadvm_process_command()
H A Dtrace-events311 migration_exec_outgoing(const char *cmd) "cmd=%s"
312 migration_exec_incoming(const char *cmd) "cmd=%s"
/qemu/hw/intc/
H A Dtrace-events182 gicv3_its_process_command(uint32_t rd_offset, uint8_t cmd) "GICv3 ITS: processing command at offset…
202 gicv3_its_cmd_unknown(unsigned cmd) "GICv3 ITS: unknown command 0x%x"
/qemu/hw/audio/
H A Dvirtio-snd.c143 g_free(cmd->elem); in virtio_snd_ctrl_cmd_free()
144 g_free(cmd); in virtio_snd_ctrl_cmd_free()
210 if (iov_size(cmd->elem->in_sg, cmd->elem->in_num) < in virtio_snd_handle_pcm_info()
216 iov_size(cmd->elem->in_sg, cmd->elem->in_num), in virtio_snd_handle_pcm_info()
248 iov_from_buf(cmd->elem->in_sg, in virtio_snd_handle_pcm_info()
747 &cmd->resp, in process_cmd()
749 virtqueue_push(cmd->vq, cmd->elem, in process_cmd()
761 virtio_snd_ctrl_command *cmd; in virtio_snd_process_cmdq() local
773 process_cmd(s, cmd); in virtio_snd_process_cmdq()
806 cmd->elem = elem; in virtio_snd_handle_ctrl()
[all …]
/qemu/linux-user/
H A Dsyscall.c3953 cmd &= 0xff; in do_semctl()
4206 cmd &= 0xff; in do_msgctl()
4208 switch (cmd) { in do_msgctl()
4439 cmd &= 0xff; in do_shmctl()
4441 switch(cmd) { in do_shmctl()
5557 { TARGET_ ## cmd, cmd, #cmd, access, 0, { __VA_ARGS__ } },
5559 { TARGET_ ## cmd, cmd, #cmd, access, dofn, { __VA_ARGS__ } },
5561 { TARGET_ ## cmd, 0, #cmd },
6722 switch(cmd) { in target_to_host_fcntl_cmd()
7008 switch(cmd) { in do_fcntl()
[all …]
H A Duser-internals.h36 int fd, int cmd, abi_long arg);
/qemu/qga/
H A Dcommands-posix.c1456 struct nvme_admin_cmd cmd = { in get_nvme_smart() local
1471 if (ioctl(fd, NVME_IOCTL_ADMIN_CMD, &cmd)) { in get_nvme_smart()
1792 const char *cmd[4] = {"systemctl", "status", systemctl_args[mode], NULL}; in systemd_supports_mode() local
1795 status = run_process_child(cmd, errp); in systemd_supports_mode()
1816 const char *cmd[3] = {"systemctl", systemctl_args[mode], NULL}; in systemd_suspend() local
1819 status = run_process_child(cmd, &local_err); in systemd_suspend()
1845 const char *cmd[3] = {"pm-is-supported", pmutils_args[mode], NULL}; in pmutils_supports_mode() local
1848 status = run_process_child(cmd, &local_err); in pmutils_supports_mode()
1874 const char *cmd[2] = {pmutils_binaries[mode], NULL}; in pmutils_suspend() local
1877 status = run_process_child(cmd, &local_err); in pmutils_suspend()
/qemu/gdbstub/
H A Dgdbstub.c954 const char *cmd; member
977 g_assert(cmd->handler && cmd->cmd); in process_string_cmd()
979 if ((cmd->cmd_startswith && !startswith(data, cmd->cmd)) || in process_string_cmd()
980 (!cmd->cmd_startswith && strcmp(cmd->cmd, data))) { in process_string_cmd()
985 if (cmd_parse_params(&data[strlen(cmd->cmd)], in process_string_cmd()
1466 .cmd = "Cont?",
1471 .cmd = "Cont",
1478 .cmd = "Attach;",
1485 .cmd = "Kill;",
1771 .cmd = "C",
[all …]
/qemu/bsd-user/
H A Dbsd-mem.h310 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 Dboot_linux_console.py1261 cmd = 'setenv bootargs root=ld0a'
1262 exec_command_and_wait_for_pattern(self, cmd, '=>')
1263 cmd = 'setenv kernel netbsd-GENERIC.ub'
1264 exec_command_and_wait_for_pattern(self, cmd, '=>')
1265 cmd = 'setenv fdtfile dtb/sun8i-h3-orangepi-pc.dtb'
1266 exec_command_and_wait_for_pattern(self, cmd, '=>')
1267 cmd = ("setenv bootcmd 'fatload mmc 0:1 ${kernel_addr_r} ${kernel}; "
1271 exec_command_and_wait_for_pattern(self, cmd, '=>')
/qemu/hw/misc/
H A Dedu.c66 #define EDU_DMA_DIR(cmd) (((cmd) & 0x2) >> 1) argument
74 dma_addr_t cmd; member
146 if (!(edu->dma.cmd & EDU_DMA_RUN)) { in edu_dma_timer()
150 if (EDU_DMA_DIR(edu->dma.cmd) == EDU_DMA_FROM_PCI) { in edu_dma_timer()
164 edu->dma.cmd &= ~EDU_DMA_RUN; in edu_dma_timer()
165 if (edu->dma.cmd & EDU_DMA_IRQ) { in edu_dma_timer()
177 if (write && (edu->dma.cmd & EDU_DMA_RUN)) { in dma_rw()
233 dma_rw(edu, false, &val, &edu->dma.cmd, false); in edu_mmio_read()
298 dma_rw(edu, true, &val, &edu->dma.cmd, true); in edu_mmio_write()
/qemu/hw/ide/
H A Dcore.c1252 bus->cmd &= ~(IDE_CTRL_HOB); in ide_clear_hob()
1471 bool lba48 = (cmd == WIN_VERIFY_EXT); in cmd_verify()
1535 bool lba48 = (cmd == WIN_READ_EXT); in cmd_read_pio()
1557 bool lba48 = (cmd == WIN_WRITE_EXT); in cmd_write_pio()
1828 if (cmd == CFA_WEAR_LEVEL) { in cmd_cfa_erase_sectors()
1832 if (cmd == CFA_ERASE_SECTORS) { in cmd_cfa_erase_sectors()
2230 hob = bus->cmd & (IDE_CTRL_HOB); in ide_ioport_read()
2353 bus->cmd &= ~IDE_CTRL_RESET; in ide_bus_perform_srst()
2375 bus->cmd = val; in ide_ctrl_write()
2551 bus->cmd = 0; in ide_bus_reset()
[all …]
/qemu/net/
H A Dslirp.c914 gchar *cmd = g_strdup_printf("rm -rf %s", s->smb_dir); in slirp_smb_cleanup() local
915 ret = system(cmd); in slirp_smb_cleanup()
917 error_report("'%s' failed.", cmd); in slirp_smb_cleanup()
920 cmd, WEXITSTATUS(ret)); in slirp_smb_cleanup()
922 g_free(cmd); in slirp_smb_cleanup()
/qemu/nbd/
H A Dcommon.c133 const char *nbd_cmd_lookup(uint16_t cmd) in nbd_cmd_lookup() argument
135 switch (cmd) { in nbd_cmd_lookup()
/qemu/tests/qtest/libqos/
H A Dahci.c495 if (cmd->props->ncq && cmd->errors) { in ahci_port_check_nonbusy()
506 if (!cmd->props->ncq && cmd->errors) { in ahci_port_check_nonbusy()
549 if (cmd->props->atapi && (cmd->xbytes == 0 || cmd->props->dma)) { in ahci_port_check_pio_sanity()
557 (cmd->xbytes % cmd->sector_size) : cmd->sector_size); in ahci_port_check_pio_sanity()
582 cmd->flags = le16_to_cpu(cmd->flags); in ahci_get_command_header()
583 cmd->prdtl = le16_to_cpu(cmd->prdtl); in ahci_get_command_header()
584 cmd->prdbc = le32_to_cpu(cmd->prdbc); in ahci_get_command_header()
585 cmd->ctba = le64_to_cpu(cmd->ctba); in ahci_get_command_header()
620 memset(&cmd, 0x00, sizeof(cmd)); in ahci_destroy_command()
1148 sect_count = (cmd->xbytes / cmd->sector_size); in ahci_command_set_sizes()
[all …]
/qemu/tests/lcitool/
H A Drefresh44 def generate(filename, cmd, trailer): argument
46 lcitool = subprocess.run(cmd, capture_output=True)
68 cmd = lcitool_cmd + ["dockerfile"]
70 cmd.extend(["--cross", cross])
71 cmd.extend([target, project])
78 generate(filename, cmd, trailer)
83 cmd = lcitool_cmd + ["variables", target, "qemu"]
84 generate(filename, cmd, trailer)
89 cmd = lcitool_cmd + ["variables", "--format", "json", target, "qemu"]
90 generate(filename, cmd, None)
/qemu/python/qemu/machine/
H A Dmachine.py693 def qmp(self, cmd: str,
710 ret = self._qmp.cmd_raw(cmd, args=qmp_args)
711 if cmd == 'quit' and 'error' not in ret and 'return' in ret:
715 def cmd(self, cmd: str, member in QEMUMachine
734 ret = self._qmp.cmd(cmd, **qmp_args)
735 if cmd == 'quit':

12345678910>>...17