/qemu/include/sysemu/ |
H A D | blockdev.h | 28 BlockInterfaceType type; member 52 void override_max_devs(BlockInterfaceType type, int max_devs); 54 DriveInfo *drive_get(BlockInterfaceType type, int bus, int unit); 56 DriveInfo *drive_get_by_index(BlockInterfaceType type, int index); 57 int drive_get_max_bus(BlockInterfaceType type); 59 QemuOpts *drive_add(BlockInterfaceType type, int index, const char *file,
|
/qemu/tests/qtest/ |
H A D | device-introspect-test.c | 66 while (type) { in qom_has_parent() 67 QDict *d = qdict_get_qdict(index, type); in qom_has_parent() 72 if (!strcmp(type, parent)) { in qom_has_parent() 76 type = p; in qom_has_parent() 103 static void test_one_device(QTestState *qts, const char *type) in test_one_device() argument 109 g_test_message("Testing device '%s'", type); in test_one_device() 113 type); in test_one_device() 117 escaped = g_regex_replace_literal(comma, type, -1, 0, ",,", 0, NULL); in test_one_device() 240 const char *type; in test_device_intro_concrete() local 252 g_assert(type); in test_device_intro_concrete() [all …]
|
/qemu/target/arm/tcg/ |
H A D | cpu64.c | 493 .access = PL1_RW, .type = ARM_CP_CONST, .resetvalue = 0, 510 .access = PL1_RW, .type = ARM_CP_CONST, .resetvalue = 0, 514 .access = PL1_RW, .type = ARM_CP_CONST, .resetvalue = 0, 518 .access = PL1_RW, .type = ARM_CP_CONST, .resetvalue = 0, 545 .access = PL1_RW, .type = ARM_CP_CONST, .resetvalue = 0, 549 .access = PL1_RW, .type = ARM_CP_CONST, .resetvalue = 0, 553 .access = PL1_RW, .type = ARM_CP_CONST, .resetvalue = 0, 557 .access = PL1_RW, .type = ARM_CP_CONST, .resetvalue = 0, 569 .access = PL1_RW, .type = ARM_CP_CONST, .resetvalue = 0, 759 .access = PL1_RW, .type = ARM_CP_CONST, .resetvalue = 0, [all …]
|
H A D | cpu32.c | 373 .access = PL1_W, .resetvalue = 0, .type = ARM_CP_NOP }, 375 .access = PL1_W, .resetvalue = 0, .type = ARM_CP_NOP }, 550 .access = PL1_RW, .type = ARM_CP_CONST }, 552 .access = PL1_RW, .type = ARM_CP_CONST }, 554 .opc2 = 0, .access = PL1_W, .type = ARM_CP_NOP }, 673 .access = PL1_W, .type = ARM_CP_NOP, .resetvalue = 0 }, 676 .access = PL1_W, .type = ARM_CP_NOP, .resetvalue = 0 }, 679 .access = PL1_W, .type = ARM_CP_NOP, .resetvalue = 0 }, 682 .access = PL1_W, .type = ARM_CP_NOP, .resetvalue = 0 }, 685 .access = PL1_W, .type = ARM_CP_NOP, .resetvalue = 0 }, [all …]
|
/qemu/tests/qemu-iotests/ |
H A D | 172.out | 19 type floppy-bus 33 drive-type = "288" 48 type floppy-bus 87 type floppy-bus 144 type floppy-bus 202 type floppy-bus 245 type floppy-bus 284 type floppy-bus 341 type floppy-bus 402 type floppy-bus [all …]
|
H A D | 186.out | 7 QEMU X.Y.Z monitor - type 'help' for more information 15 QEMU X.Y.Z monitor - type 'help' for more information 23 QEMU X.Y.Z monitor - type 'help' for more information 31 QEMU X.Y.Z monitor - type 'help' for more information 39 QEMU X.Y.Z monitor - type 'help' for more information 47 QEMU X.Y.Z monitor - type 'help' for more information 58 QEMU X.Y.Z monitor - type 'help' for more information 66 QEMU X.Y.Z monitor - type 'help' for more information 74 QEMU X.Y.Z monitor - type 'help' for more information 82 QEMU X.Y.Z monitor - type 'help' for more information [all …]
|
H A D | 245.out | 3 {"data": {"id": "commit0", "type": "commit"}, "event": "BLOCK_JOB_PENDING", "timestamp": {"microsec… 4 {"data": {"device": "commit0", "len": 3145728, "offset": 3145728, "speed": 0, "type": "commit"}, "e… 7 {"data": {"id": "stream0", "type": "stream"}, "event": "BLOCK_JOB_PENDING", "timestamp": {"microsec… 8 {"data": {"device": "stream0", "len": 3145728, "offset": 3145728, "speed": 0, "type": "stream"}, "e… 11 {"data": {"id": "stream0", "type": "stream"}, "event": "BLOCK_JOB_PENDING", "timestamp": {"microsec… 12 {"data": {"device": "stream0", "len": 3145728, "offset": 3145728, "speed": 0, "type": "stream"}, "e…
|
H A D | 307 | 59 vm.qmp_log('block-export-add', id='export0', type='nbd', node_name='fmt') 66 vm.qmp_log('block-export-add', id='#invalid', type='nbd', node_name='fmt') 67 vm.qmp_log('block-export-add', id='export0', type='nbd', node_name='fmt') 68 vm.qmp_log('block-export-add', id='export1', type='nbd', node_name='ro', 84 vm.qmp_log('block-export-add', id='export1', type='nbd', node_name='null', 89 vm.qmp_log('block-export-add', id='export1', type='nbd', node_name='null', 95 vm.qmp_log('block-export-add', id='export1', type='nbd', node_name='fmt', 107 vm.qmp_log('block-export-add', id='export1', type='nbd', node_name='fmt',
|
H A D | 218.out | 8 {"data": {"device": "mirror", "len": 1048576, "offset": 65536, "speed": 65536, "type": "mirror"}, "… 14 {"data": {"device": "mirror", "len": 1048576, "offset": 65536, "speed": 65536, "type": "mirror"}, "… 20 {"data": {"device": "mirror", "len": 1048576, "offset": 1048576, "speed": 0, "type": "mirror"}, "ev… 23 {"data": {"device": "mirror", "len": 1048576, "offset": 1048576, "speed": 0, "type": "mirror"}, "ev… 27 {"data": {"device": "mirror", "len": 1048576, "offset": 1048576, "speed": 0, "type": "mirror"}, "ev… 30 {"data": {"device": "mirror", "len": 1048576, "offset": 1048576, "speed": 0, "type": "mirror"}, "ev…
|
/qemu/block/export/ |
H A D | virtio-blk-handler.c | 54 uint32_t iovcnt, uint32_t type) in virtio_blk_discard_write_zeroes() argument 79 max_sectors = (type == VIRTIO_BLK_T_WRITE_ZEROES) ? in virtio_blk_discard_write_zeroes() 103 if (type == VIRTIO_BLK_T_WRITE_ZEROES) { in virtio_blk_discard_write_zeroes() 114 } else if (type == VIRTIO_BLK_T_DISCARD) { in virtio_blk_discard_write_zeroes() 141 uint32_t type; in virtio_blk_process_req() local 169 type = le32_to_cpu(out.type); in virtio_blk_process_req() 170 switch (type & ~VIRTIO_BLK_T_BARRIER) { in virtio_blk_process_req() 176 bool is_write = type & VIRTIO_BLK_T_OUT; in virtio_blk_process_req() 233 out_num, type); in virtio_blk_process_req()
|
/qemu/tests/migration/guestperf/ |
H A D | shell.py | 45 parser.add_argument("--sleep", dest="sleep", default=15, type=int) 54 parser.add_argument("--cpus", dest="cpus", default=1, type=int) 55 parser.add_argument("--mem", dest="mem", default=1, type=int) 64 default=0, type=int) 109 parser.add_argument("--max-iters", dest="max_iters", default=30, type=int) 110 parser.add_argument("--max-time", dest="max_time", default=300, type=int) 112 parser.add_argument("--downtime", dest="downtime", default=500, type=int) 115 parser.add_argument("--pause-iters", dest="pause_iters", default=5, type=int) 132 default=2, type=int) 139 default=500, type=int) [all …]
|
/qemu/hw/smbios/ |
H A D | smbios_legacy.c | 26 uint8_t type; member 31 uint8_t type; member 56 static void smbios_add_field(int type, int offset, const void *data, size_t len) in smbios_add_field() argument 67 field->header.type = SMBIOS_FIELD_ENTRY; in smbios_add_field() 70 field->type = type; in smbios_add_field() 79 static void smbios_maybe_add_str(int type, int offset, const char *data) in smbios_maybe_add_str() argument 82 smbios_add_field(type, offset, data, strlen(data) + 1); in smbios_maybe_add_str() 168 table->header.type = SMBIOS_TABLE_ENTRY; in smbios_get_table_legacy()
|
/qemu/hw/net/rocker/ |
H A D | rocker-hmp-cmds.c | 221 uint8_t type = qdict_get_try_int(qdict, "type", 9); in hmp_rocker_of_dpa_groups() local 224 list = qmp_query_rocker_of_dpa_groups(name, type != 9, type, &err); in hmp_rocker_of_dpa_groups() 237 monitor_printf(mon, " (type %s", group->type == 0 ? "L2 interface" : in hmp_rocker_of_dpa_groups() 238 group->type == 1 ? "L2 rewrite" : in hmp_rocker_of_dpa_groups() 239 group->type == 2 ? "L3 unicast" : in hmp_rocker_of_dpa_groups() 240 group->type == 3 ? "L2 multicast" : in hmp_rocker_of_dpa_groups() 241 group->type == 4 ? "L2 flood" : in hmp_rocker_of_dpa_groups() 242 group->type == 5 ? "L3 interface" : in hmp_rocker_of_dpa_groups() 243 group->type == 6 ? "L3 multicast" : in hmp_rocker_of_dpa_groups() 244 group->type == 7 ? "L3 ECMP" : in hmp_rocker_of_dpa_groups() [all …]
|
/qemu/hw/block/ |
H A D | xen-block.c | 141 vdev->type = XEN_BLOCK_VDEV_TYPE_XVD; in xen_block_find_free_vdev() 492 switch (vdev->type) { in xen_block_get_vdev() 564 vdev->type = XEN_BLOCK_VDEV_TYPE_DP; in xen_block_set_vdev() 568 vdev->type = XEN_BLOCK_VDEV_TYPE_HD; in xen_block_set_vdev() 570 vdev->type = XEN_BLOCK_VDEV_TYPE_SD; in xen_block_set_vdev() 605 switch (vdev->type) { in xen_block_set_vdev() 1035 const char *type; in xen_block_device_create() local 1058 type = TYPE_XEN_DISK_DEVICE; in xen_block_device_create() 1060 type = TYPE_XEN_CDROM_DEVICE; in xen_block_device_create() 1078 xendev = XEN_DEVICE(qdev_new(type)); in xen_block_device_create() [all …]
|
/qemu/bsd-user/ |
H A D | syscall_defs.h | 474 #define safe_syscall0(type, name) \ argument 475 type safe_##name(void) \ 480 #define safe_syscall1(type, name, type1, arg1) \ argument 481 type safe_##name(type1 arg1) \ 486 #define safe_syscall2(type, name, type1, arg1, type2, arg2) \ argument 487 type safe_##name(type1 arg1, type2 arg2) \ 492 #define safe_syscall3(type, name, type1, arg1, type2, arg2, type3, arg3) \ argument 493 type safe_##name(type1 arg1, type2 arg2, type3 arg3) \ 500 type safe_##name(type1 arg1, type2 arg2, type3 arg3, type4 arg4) \ 507 type safe_##name(type1 arg1, type2 arg2, type3 arg3, type4 arg4, \ [all …]
|
/qemu/target/xtensa/ |
H A D | mmu_helper.c | 668 unsigned type = 0; in mpu_attr_to_cpu_cache() local 671 type |= XTENSA_MPU_TYPE_CPU_CACHE; in mpu_attr_to_cpu_cache() 682 return type; in mpu_attr_to_cpu_cache() 709 unsigned type = 0; in mpu_attr_to_type() local 715 type |= XTENSA_MPU_TYPE_INT; in mpu_attr_to_type() 722 type |= XTENSA_MPU_SYSTEM_TYPE_C; in mpu_attr_to_type() 734 type |= XTENSA_MPU_TYPE_B; in mpu_attr_to_type() 736 type |= mpu_attr_to_cpu_cache(attr); in mpu_attr_to_type() 738 return type; in mpu_attr_to_type() 770 unsigned type; in mpu_attr_to_access() local [all …]
|
/qemu/qobject/ |
H A D | json-parser.c | 28 JSONTokenType type; member 283 if (token->type != JSON_COLON) { in parse_pair() 325 if (peek->type != JSON_RCURLY) { in parse_object() 336 while (token->type != JSON_RCURLY) { in parse_object() 337 if (token->type != JSON_COMMA) { in parse_object() 379 if (peek->type != JSON_RSQUARE) { in parse_array() 396 while (token->type != JSON_RSQUARE) { in parse_array() 397 if (token->type != JSON_COMMA) { in parse_array() 488 switch (token->type) { in parse_literal() 543 switch (token->type) { in parse_value() [all …]
|
H A D | qobject-internal.h | 15 static inline void qobject_init(QObject *obj, QType type) in qobject_init() argument 17 assert(QTYPE_NONE < type && type < QTYPE__MAX); in qobject_init() 19 obj->base.type = type; in qobject_init()
|
/qemu/hw/9pfs/ |
H A D | trace-events | 9 …attach_return(uint16_t tag, uint8_t id, uint8_t type, uint32_t version, uint64_t path) "tag %u id … 17 …turn(uint16_t tag, uint8_t id, uint8_t type, uint32_t version, uint64_t path, int iounit) "tag %u … 19 …rn(uint16_t tag, uint8_t id, uint8_t type, uint32_t version, uint64_t path, int32_t iounit) "tag %… 29 …turn(uint16_t tag, uint8_t id, uint8_t type, uint32_t version, uint64_t path, int iounit) "tag %u … 31 …ink_return(uint16_t tag, uint8_t id, uint8_t type, uint32_t version, uint64_t path) "tag %u id %u … 37 …nod_return(uint16_t tag, uint8_t id, uint8_t type, uint32_t version, uint64_t path) "tag %u id %u … 38 …t16_t tag, uint8_t id, int32_t fid, uint8_t type, uint64_t start, uint64_t length) "tag %d id %d f… 40 …nt16_t tag, uint8_t id, int32_t fid, uint8_t type, uint64_t start, uint64_t length)"tag %d id %d f… 41 …turn(uint16_t tag, uint8_t id, uint8_t type, uint64_t start, uint64_t length, uint32_t proc_id) "t… 43 …return(uint16_t tag, uint8_t id, uint8_t type, uint32_t version, uint64_t path, int err) "tag %u i…
|
/qemu/tests/qtest/libqos/ |
H A D | qgraph.c | 31 QOSEdgeType type; member 93 edge->type = type; in add_edge() 141 node->type = type; in create_node() 232 if (n->type == QNODE_MACHINE) { in search_machine() 414 if (v->type == QNODE_TEST) { in qos_traverse_graph() 454 return n->type; in qos_graph_get_node_type() 479 return edge->type; in qos_graph_edge_get_type() 691 if (e->type == QEDGE_CONTAINS || e->type == QEDGE_PRODUCES) { in qos_graph_node_set_availability_explicit() 723 if (e->type == QEDGE_CONTAINS || e->type == QEDGE_PRODUCES) in qos_graph_node_set_availability() 744 g_assert(node->type == QNODE_MACHINE); in qos_machine_new() [all …]
|
/qemu/target/s390x/ |
H A D | cpu_models.h | 25 uint16_t type; /* cpu type identification */ member 92 void s390_get_feat_block(S390FeatType type, uint8_t *data); 94 uint8_t s390_get_gen_for_cpu_type(uint16_t type); 95 static inline bool s390_known_cpu_type(uint16_t type) in s390_known_cpu_type() argument 97 return s390_get_gen_for_cpu_type(type) != 0; in s390_known_cpu_type() 111 ((uint64_t)model->def->type << 16) | in s390_cpuid_from_cpu_model() 114 S390CPUDef const *s390_find_cpu_def(uint16_t type, uint8_t gen, uint8_t ec_ga,
|
/qemu/net/ |
H A D | net-hmp-cmds.c | 33 NetClientDriver type; in hmp_info_network() local 39 type = nc->info->type; in hmp_info_network() 46 if (!peer || type == NET_CLIENT_DRIVER_NIC) { in hmp_info_network() 49 if (peer && type == NET_CLIENT_DRIVER_NIC) { in hmp_info_network() 86 const char *type = qdict_get_try_str(qdict, "type"); in hmp_netdev_add() local 88 if (type && is_help_option(type)) { in hmp_netdev_add()
|
/qemu/scripts/ |
H A D | kernel-doc | 692 $type =~ s/([^\*])$/$1 /; 971 print $type; 993 if ($type ne "") { 994 print "``$type``\n"; 1246 my $type = $1; 1257 my $type; 1273 $type = $1; 1508 my $type; 1534 $type = $arg; 1582 my $type = shift; [all …]
|
/qemu/qapi/ |
H A D | sockets.json | 73 '*mptcp': { 'type': 'bool', 'if': 'HAVE_IPPROTO_MPTCP' } } } 95 '*abstract': { 'type': 'bool', 'if': 'CONFIG_LINUX' }, 96 '*tight': { 'type': 'bool', 'if': 'CONFIG_LINUX' } } } 180 # @type: Transport type 182 # Note: This type is deprecated in favor of SocketAddress. The 189 'base': { 'type': 'SocketAddressType' }, 190 'discriminator': 'type', 221 # @type: Transport type 226 'base': { 'type': 'SocketAddressType' }, 227 'discriminator': 'type',
|
/qemu/accel/tcg/ |
H A D | internal-target.h | 112 # define tcg_req_mo(type) \ argument 113 ((type) & TCG_GUEST_DEFAULT_MO & ~TCG_TARGET_DEFAULT_MO) 115 # define tcg_req_mo(type) ((type) & ~TCG_TARGET_DEFAULT_MO) argument 125 #define cpu_req_mo(type) \ argument 127 if (tcg_req_mo(type)) { \
|