Home
last modified time | relevance | path

Searched refs:cmd (Results 201 – 225 of 418) sorted by relevance

12345678910>>...17

/qemu/tests/tcg/i386/
H A Dtest-mmx.c205 #define TEST(n, cmd, type) \ argument
208 asm volatile(cmd); \
215 #define TEST(n, cmd, type) {n, test_##n, cmd, &init##type}, argument
H A Dtest-avx.c200 #define TEST(n, cmd, type) \ argument
203 asm volatile(cmd); \
210 #define TEST(n, cmd, type) {n, test_##n, cmd, &init##type}, argument
/qemu/hw/ipmi/
H A Dsmbus_ipmi.c211 uint8_t cmd; in ipmi_write_data() local
215 cmd = *buf++; in ipmi_write_data()
219 switch (cmd) { in ipmi_write_data()
252 switch (cmd) { in ipmi_write_data()
H A Dipmi_bmc_extern.c185 uint8_t *cmd, unsigned int cmd_len, in ipmi_bmc_extern_handle_command() argument
212 rsp[0] = cmd[0] | 0x04; in ipmi_bmc_extern_handle_command()
213 rsp[1] = cmd[1]; in ipmi_bmc_extern_handle_command()
222 addchar(ibe, cmd[i]); in ipmi_bmc_extern_handle_command()
225 addchar(ibe, -ipmb_checksum(cmd, cmd_len, csum)); in ipmi_bmc_extern_handle_command()
/qemu/tests/avocado/
H A Dmachine_arm_integratorcp.py84 self.vm.cmd('human-monitor-command', command_line='stop')
85 self.vm.cmd('human-monitor-command',
H A Dmachine_aarch64_virt.py107 cmd = '%s create -f qcow2 %s 8M' % (qemu_img, image_path)
108 process.run(cmd)
H A Dvirtio_check_params.py54 output = vm.cmd('human-monitor-command',
124 machines = [m['name'] for m in vm.cmd('query-machines')]
/qemu/hw/vfio/
H A Digd.c380 uint16_t cmd_orig, cmd; in vfio_probe_igd_bar4_quirk() local
592 cmd = cmd_orig | PCI_COMMAND_IO; in vfio_probe_igd_bar4_quirk()
594 if (pwrite(vdev->vbasedev.fd, &cmd, sizeof(cmd), in vfio_probe_igd_bar4_quirk()
595 vdev->config_offset + PCI_COMMAND) != sizeof(cmd)) { in vfio_probe_igd_bar4_quirk()
/qemu/hw/display/
H A Dssd0323.c56 int32_t cmd; member
106 s->cmd = data; in OBJECT_DECLARE_SIMPLE_TYPE()
111 switch (s->cmd) { in OBJECT_DECLARE_SIMPLE_TYPE()
329 VMSTATE_INT32(cmd, ssd0323_state),
/qemu/hw/ide/
H A Dsii3112.c50 val = d->i.bmdma[0].cmd; in sii3112_reg_read()
65 val = d->i.bmdma[1].cmd; in sii3112_reg_read()
80 val = d->i.bmdma[0].cmd; in sii3112_reg_read()
88 val = d->i.bmdma[1].cmd; in sii3112_reg_read()
/qemu/python/qemu/qmp/
H A Dlegacy.py210 def cmd(self, cmd: str, **kwds: object) -> QMPReturnValue: member in QEMUMonitorProtocol
215 self._qmp.execute(cmd, kwds),
/qemu/hw/remote/
H A Dtrace-events3 mpqemu_send_io_error(int cmd, int size, int nfds) "send command %d size %d, %d file descriptors to …
4 mpqemu_recv_io_error(int cmd, int size, int nfds) "failed to receive %d size %d, %d file descriptor…
/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/hw/misc/macio/
H A Dpmu.c470 if (desc->command != s->cmd) { in pmu_dispatch_cmd()
487 trace_pmu_dispatch_unknown_cmd(s->cmd); in pmu_dispatch_cmd()
556 s->cmd = ms->sr; in pmu_update()
558 s->cmdlen = pmu_data_len[s->cmd][0]; in pmu_update()
559 s->rsplen = pmu_data_len[s->cmd][1]; in pmu_update()
565 trace_pmu_debug_protocol_cmd(s->cmd, s->cmdlen, s->rsplen); in pmu_update()
686 VMSTATE_UINT8(cmd, PMUState),
/qemu/include/scsi/
H A Dutils.h131 const char *scsi_command_name(uint8_t cmd);
133 uint64_t scsi_cmd_lba(SCSICommand *cmd);
/qemu/scripts/
H A Dcpu-x86-uarch-abi.py72 models = shell.cmd("query-cpu-definitions")
96 cpu = shell.cmd("query-cpu-model-expansion",
/qemu/qga/
H A Dmain.c224 static void usage(const char *cmd) in usage() argument
276 , cmd, QGA_VIRTIO_PATH_DEFAULT, QGA_SERIAL_PATH_DEFAULT, in usage()
401 static void ga_disable_not_allowed_freeze(const QmpCommand *cmd, void *opaque) in ga_disable_not_allowed_freeze() argument
405 const char *name = qmp_command_name(cmd); in ga_disable_not_allowed_freeze()
420 static void ga_enable_non_blocked(const QmpCommand *cmd, void *opaque) in ga_enable_non_blocked() argument
425 const char *name = qmp_command_name(cmd); in ga_enable_non_blocked()
428 if (qmp_command_is_enabled(cmd)) { in ga_enable_non_blocked()
443 static void ga_disable_not_allowed(const QmpCommand *cmd, void *opaque) in ga_disable_not_allowed() argument
446 const char *name = qmp_command_name(cmd); in ga_disable_not_allowed()
979 static void ga_print_cmd(const QmpCommand *cmd, void *opaque) in ga_print_cmd() argument
[all …]
/qemu/hw/misc/
H A Dapplesmc.c107 uint8_t cmd; member
131 s->cmd = val; in applesmc_io_cmd_write()
167 switch (s->cmd) { in applesmc_io_data_write()
209 switch (s->cmd) { in applesmc_io_data_read()
/qemu/ui/
H A Dspice-display.c126 QXLCommand *cmd; in qemu_spice_create_one_update() local
138 cmd = &update->ext.cmd; in qemu_spice_create_one_update()
182 cmd->type = QXL_CMD_DRAW; in qemu_spice_create_one_update()
183 cmd->data = (uintptr_t)drawable; in qemu_spice_create_one_update()
263 QXLCommand *cmd; in qemu_spice_create_cursor_update() local
266 ccmd = &update->cmd; in qemu_spice_create_cursor_update()
268 cmd = &update->ext.cmd; in qemu_spice_create_cursor_update()
294 cmd->type = QXL_CMD_CURSOR; in qemu_spice_create_cursor_update()
295 cmd->data = (uintptr_t)ccmd; in qemu_spice_create_cursor_update()
571 switch (ext->cmd.type) { in interface_release_resource()
/qemu/tests/qtest/
H A Dhd-geo-test.c427 char cmd[100 + 2 * PATH_MAX]; in create_qcow2_with_mbr() local
489 ret = snprintf(cmd, sizeof(cmd), in create_qcow2_with_mbr()
493 g_assert((0 < ret) && (ret <= sizeof(cmd))); in create_qcow2_with_mbr()
494 ret = system(cmd); in create_qcow2_with_mbr()
497 ret = snprintf(cmd, sizeof(cmd), in create_qcow2_with_mbr()
501 g_assert((0 < ret) && (ret <= sizeof(cmd))); in create_qcow2_with_mbr()
502 ret = system(cmd); in create_qcow2_with_mbr()
H A Dlibqtest.c361 static pid_t qtest_create_process(char *cmd) in qtest_create_process() argument
372 cmd, /* command line */ in qtest_create_process()
902 char *cmd; in qtest_vhmp() local
906 cmd = g_strdup_vprintf(fmt, ap); in qtest_vhmp()
909 cmd); in qtest_vhmp()
913 g_free(cmd); in qtest_vhmp()
1047 qtest_sendf(s, "%s 0x%x 0x%x\n", cmd, addr, value); in qtest_out()
1066 static uint32_t qtest_in(QTestState *s, const char *cmd, uint16_t addr) in qtest_in() argument
1072 qtest_sendf(s, "%s 0x%x\n", cmd, addr); in qtest_in()
1096 static void qtest_write(QTestState *s, const char *cmd, uint64_t addr, in qtest_write() argument
[all …]
/qemu/semihosting/
H A Dsyscalls.c235 target_ulong cmd, target_ulong cmd_len) in gdb_system() argument
237 int len = validate_strlen(cs, cmd, cmd_len); in gdb_system()
243 gdb_do_syscall(complete, "system,%s", (uint64_t)cmd, (uint32_t)len); in gdb_system()
485 target_ulong cmd, target_ulong cmd_len) in host_system() argument
491 ret = validate_lock_user_string(&p, cs, cmd, cmd_len); in host_system()
498 unlock_user(p, cmd, 0); in host_system()
939 target_ulong cmd, target_ulong cmd_len) in semihost_sys_system() argument
942 gdb_system(cs, complete, cmd, cmd_len); in semihost_sys_system()
944 host_system(cs, complete, cmd, cmd_len); in semihost_sys_system()
/qemu/hw/s390x/
H A Dtrace-events35 s390_pci_unknown(const char *msg, uint32_t cmd) "%s unknown command 0x%x"
37 s390_pci_nodev(const char *cmd, uint32_t fh) "%s no pci dev fh 0x%x"
38 s390_pci_invalid(const char *cmd, uint32_t fh) "%s invalid space fh 0x%x"
/qemu/hw/sd/
H A Domap_mmc.c115 static void omap_mmc_command(struct omap_mmc_s *host, int cmd, int dir, in omap_mmc_command() argument
123 if (init && cmd == 0) { in omap_mmc_command()
142 request.cmd = cmd; in omap_mmc_command()
217 else if (cmd == 12) in omap_mmc_command()
/qemu/tests/qtest/fuzz/
H A Dgeneric_fuzz.c645 const unsigned char *cmd = Data; in generic_fuzz() local
658 while (cmd && Size) { in generic_fuzz()
660 nextcmd = memmem(cmd, Size, SEPARATOR, strlen(SEPARATOR)); in generic_fuzz()
661 cmd_len = nextcmd ? nextcmd - cmd : Size; in generic_fuzz()
665 op = *cmd % (sizeof(ops) / sizeof((ops)[0])); in generic_fuzz()
666 ops[op](s, cmd + 1, cmd_len - 1); in generic_fuzz()
672 cmd = nextcmd ? nextcmd + sizeof(SEPARATOR) - 1 : nextcmd; in generic_fuzz()

12345678910>>...17