Searched refs:devtype (Results 1 – 8 of 8) sorted by relevance
/qemu/tests/functional/ |
H A D | test_virtio_version.py | 51 def devtype_implements(vm, devtype, implements): argument 52 return devtype in [d['name'] for d in 55 def get_pci_interfaces(vm, devtype): argument 57 return [i for i in interfaces if devtype_implements(vm, devtype, i)] 69 def run_device(self, devtype, opts=None, machine='pc'): argument 76 devtype += ',' + opts 77 vm.add_args('-device', '%s,id=devfortest' % (devtype)) 85 return devfortest[0], get_pci_interfaces(vm, devtype)
|
/qemu/scripts/ |
H A D | device-crash-test | 290 def __init__(self, binary, devtype): argument 291 if devtype is None: 292 devtype = 'device' 297 dbg("devtype: %r", devtype) 303 self.alldevs = set(qomListTypeNames(vm, implements=devtype, abstract=False)) 344 BINARY_INFO[binary] = QemuBinaryInfo(binary, args.devtype)
|
/qemu/hw/s390x/ |
H A D | ipl.c | 358 static CcwDevice *s390_get_ccw_device(DeviceState *dev_st, int *devtype) in s390_get_ccw_device() argument 402 if (devtype) { in s390_get_ccw_device() 403 *devtype = tmp_dt; in s390_get_ccw_device() 453 int devtype; in s390_build_iplb() local 459 ccw_dev = s390_get_ccw_device(dev_st, &devtype); in s390_build_iplb() 463 switch (devtype) { in s390_build_iplb()
|
/qemu/qga/ |
H A D | commands-bsd.c | 57 mount->devtype = g_strdup(mntp->f_fstypename); in build_fs_mount_list() 110 if (!g_str_equal(mount->devtype, "ufs")) { in qmp_guest_fsfreeze_do_freeze_list()
|
H A D | commands-common.h | 27 char *devtype; member
|
H A D | commands-linux.c | 94 mount->devtype = g_strdup(ment->mnt_type); in build_fs_mount_list_from_mtab() 176 mount->devtype = g_strdup(dash + type_s); in build_fs_mount_list() 1068 fs->type = g_strdup(mount->devtype); in build_guest_fsinfo()
|
H A D | commands-posix.c | 708 g_free(mount->devtype); in free_fs_mount_list()
|
/qemu/hw/ppc/ |
H A D | spapr_pci.c | 817 const char *devtype = "qemu"; in spapr_phb_get_loc_code() local 825 devtype = "vfio"; in spapr_phb_get_loc_code() 832 devtype, pdev->name, sphb->index, busnr, in spapr_phb_get_loc_code()
|