/qemu/scripts/ |
H A D | nsis.py | 16 cmd = os.environ.get("SIGNCODE") 17 if not cmd: 19 subprocess.run([cmd, path])
|
H A D | compare-machine-types.py | 112 self.cached[driver] = self.vm.cmd('device-list-properties', 133 self.cached[name] = self.vm.cmd( 148 self.cached[driver] = self.vm.cmd('qom-list-properties', 177 qom_all_types = vm.cmd('qom-list-types', abstract=True) 188 imps = vm.cmd('qom-list-types', implements=drv.name) 359 raw_mt_defs = vm.cmd('query-machines', compat_props=True)
|
/qemu/tests/qapi-schema/ |
H A D | qapi-schema-test.json | 180 { 'command': 'user-def-cmd', 'data': {} } 186 { 'command': 'cmd-success-response', 'data': {}, 'success-response': false } 187 { 'command': 'coroutine-cmd', 'data': {}, 'coroutine': true } 270 { 'command': 'test-if-union-cmd', 271 'data': { 'union-cmd-arg': 'TestIfUnion' }, 279 { 'command': 'test-if-alternate-cmd', 280 'data': { 'alt-cmd-arg': 'TestIfAlternate' }, 283 { 'command': 'test-if-cmd', 289 { 'command': 'test-cmd-return-def-three', 'returns': 'UserDefThree' }
|
/qemu/tests/qemu-iotests/tests/ |
H A D | export-incoming-iothread | 58 self.vm.cmd('nbd-server-start', { 68 self.vm.cmd('block-export-add', {
|
H A D | mirror-top-perms | 81 self.vm.cmd('blockdev-mirror', 107 self.vm.cmd('block-job-cancel',
|
H A D | stream-error-on-reset | 118 self.vm.cmd('block-stream', job_id='stream', device='top') 127 self.vm.cmd('system_reset')
|
/qemu/tests/qemu-iotests/ |
H A D | 157 | 49 while read cmd; do 50 echo $cmd
|
H A D | 307 | 119 iotests.log(qemu_io.cmd('read -P 0x11 0 4k'), 121 iotests.log(qemu_io.cmd('write -P 0x22 4k 4k'), 139 iotests.log(qemu_io.cmd('read -P 0x11 0 4k'))
|
H A D | 152 | 44 self.vm.cmd('drive-mirror', device='drive0', sync='full', 52 self.vm.cmd('drive-mirror', device='drive0', sync='full',
|
/qemu/tests/qtest/libqos/ |
H A D | pci.c | 223 uint16_t cmd; in qpci_device_enable() local 226 cmd = qpci_config_readw(dev, PCI_COMMAND); in qpci_device_enable() 227 cmd |= PCI_COMMAND_IO | PCI_COMMAND_MEMORY | PCI_COMMAND_MASTER; in qpci_device_enable() 228 qpci_config_writew(dev, PCI_COMMAND, cmd); in qpci_device_enable() 231 cmd = qpci_config_readw(dev, PCI_COMMAND); in qpci_device_enable() 232 g_assert_cmphex(cmd & PCI_COMMAND_IO, ==, PCI_COMMAND_IO); in qpci_device_enable() 233 g_assert_cmphex(cmd & PCI_COMMAND_MEMORY, ==, PCI_COMMAND_MEMORY); in qpci_device_enable() 234 g_assert_cmphex(cmd & PCI_COMMAND_MASTER, ==, PCI_COMMAND_MASTER); in qpci_device_enable()
|
/qemu/chardev/ |
H A D | char-parallel.c | 73 static int pp_ioctl(Chardev *chr, int cmd, void *arg) in pp_ioctl() argument 79 switch (cmd) { in pp_ioctl() 188 static int pp_ioctl(Chardev *chr, int cmd, void *arg) in pp_ioctl() argument 193 switch (cmd) { in pp_ioctl()
|
/qemu/hw/sd/ |
H A D | pxa2xx_mmci.c | 54 int32_t cmd; member 98 VMSTATE_INT32(cmd, PXA2xxMMCIState), 227 request.cmd = s->cmd; in pxa2xx_mmci_wakequeues() 321 ret = s->cmd | 0x40; in pxa2xx_mmci_read() 439 s->cmd = value & 0x3f; in pxa2xx_mmci_write() 530 s->cmd = 0; in pxa2xx_mmci_reset()
|
/qemu/hw/intc/ |
H A D | i8259.c | 237 int priority, cmd, irq; in pic_ioport_write() local 259 cmd = val >> 5; in pic_ioport_write() 260 switch (cmd) { in pic_ioport_write() 263 s->rotate_on_auto_eoi = cmd >> 2; in pic_ioport_write() 271 if (cmd == 5) { in pic_ioport_write()
|
/qemu/hw/char/ |
H A D | mcf_uart.c | 139 static void mcf_do_command(mcf_uart_state *s, uint8_t cmd) in mcf_do_command() argument 142 switch ((cmd >> 4) & 7) { in mcf_do_command() 169 switch ((cmd >> 2) & 3) { in mcf_do_command() 186 switch (cmd & 3) { in mcf_do_command()
|
/qemu/hw/net/ |
H A D | ne2000.c | 183 if (s->cmd & E8390_STOP || ne2000_buffer_full(s)) in ne2000_receive() 269 s->cmd = val; in ne2000_ioport_write() 291 s->cmd &= ~E8390_TRANS; in ne2000_ioport_write() 296 page = s->cmd >> 6; in ne2000_ioport_write() 371 ret = s->cmd; in ne2000_ioport_read() 373 page = s->cmd >> 6; in ne2000_ioport_read() 611 VMSTATE_UINT8(cmd, NE2000State),
|
/qemu/monitor/ |
H A D | qmp-cmds-control.c | 108 static void query_commands_cb(const QmpCommand *cmd, void *opaque) in query_commands_cb() argument 113 if (!cmd->enabled) { in query_commands_cb() 118 info->name = g_strdup(cmd->name); in query_commands_cb()
|
/qemu/python/qemu/utils/ |
H A D | qom.py | 87 rsp = self.qmp.cmd( 132 rsp = self.qmp.cmd( 234 rsp = self.qmp.cmd('qom-get', path=path,
|
/qemu/target/i386/kvm/ |
H A D | xen-emu.c | 251 int cmd, uint64_t arg) in kvm_xen_hcall_xen_version() argument 255 switch (cmd) { in kvm_xen_hcall_xen_version() 733 int cmd, uint64_t arg) in kvm_xen_hcall_memory_op() argument 737 switch (cmd) { in kvm_xen_hcall_memory_op() 869 int cmd, uint64_t arg) in kvm_xen_hcall_hvm_op() argument 872 switch (cmd) { in kvm_xen_hcall_hvm_op() 1191 switch (cmd) { in kvm_xen_hcall_vcpu_op() 1239 switch (cmd) { in kvm_xen_hcall_evtchn_op() 1503 switch (cmd) { in kvm_xen_hcall_sched_op() 1535 switch (cmd) { in kvm_xen_hcall_gnttab_op() [all …]
|
/qemu/python/qemu/machine/ |
H A D | machine.py | 693 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':
|
/qemu/tests/vm/ |
H A D | centos.aarch64 | 88 for cmd in install_cmds: 89 self.ssh_root_check(cmd)
|
/qemu/hw/ide/ |
H A D | trace-events | 15 ide_bus_exec_cmd(void *bus, void *state, uint32_t cmd) "IDE exec cmd: bus %p; state %p; cmd 0x%02x" 22 …oid *s, int64_t sector_num, int n, const char *dma) "IDEState %p; sector_num=%"PRId64" n=%d cmd=%s" 60 ide_atapi_cmd(void *s, uint8_t cmd) "IDEState: %p; cmd: 0x%02x" 95 execute_ncq_command_unsup(void *s, int port, uint8_t tag, uint8_t cmd) "ahci(%p)[%d][tag:%d]: error… 102 process_ncq_command(void *s, int port, uint8_t tag, uint8_t cmd, uint64_t lba, uint64_t end) "ahci(… 108 handle_cmd_badfis(void *s, int port) "ahci(%p)[%d]: guest provided an invalid cmd FIS" 116 ahci_cmd_done(void *s, int port) "ahci(%p)[%d]: cmd done"
|
/qemu/hw/xen/ |
H A D | xen_pt.c | 457 static int xen_pt_register_regions(XenPCIPassthroughState *s, uint16_t *cmd) in xen_pt_register_regions() argument 475 *cmd |= PCI_COMMAND_IO; in xen_pt_register_regions() 484 *cmd |= PCI_COMMAND_MEMORY; in xen_pt_register_regions() 775 uint16_t cmd = 0; in xen_pt_realize() local 822 xen_pt_register_regions(s, &cmd); in xen_pt_realize() 846 cmd |= PCI_COMMAND_INTX_DISABLE; in xen_pt_realize() 856 cmd |= PCI_COMMAND_INTX_DISABLE; in xen_pt_realize() 878 cmd |= PCI_COMMAND_INTX_DISABLE; in xen_pt_realize() 892 if (cmd) { in xen_pt_realize() 900 val |= cmd; in xen_pt_realize()
|
/qemu/hw/remote/ |
H A D | proxy.c | 60 msg.cmd = MPQEMU_CMD_SET_IRQFD; in setup_irqfd() 151 msg.cmd = op; in config_op_send() 246 msg.cmd = MPQEMU_CMD_BAR_WRITE; in type_init() 249 msg.cmd = MPQEMU_CMD_BAR_READ; in type_init() 374 msg.cmd = MPQEMU_CMD_DEVICE_RESET; in proxy_device_reset()
|
/qemu/hw/input/ |
H A D | adb-mouse.c | 113 int cmd, reg, olen; in adb_mouse_request() local 125 cmd = buf[0] & 0xc; in adb_mouse_request() 128 switch (cmd) { in adb_mouse_request()
|
/qemu/tests/tcg/i386/ |
H A D | test-mmx.c | 205 #define TEST(n, cmd, type) \ argument 208 asm volatile(cmd); \ 215 #define TEST(n, cmd, type) {n, test_##n, cmd, &init##type}, argument
|