Home
last modified time | relevance | path

Searched refs:devtype (Results 1 – 8 of 8) sorted by relevance

/qemu/tests/avocado/
H A Dvirtio_version.py50 def devtype_implements(vm, devtype, implements): argument
51 return devtype in [d['name'] for d in
54 def get_pci_interfaces(vm, devtype): argument
56 return [i for i in interfaces if devtype_implements(vm, devtype, i)]
70 def run_device(self, devtype, opts=None, machine='pc'): argument
77 devtype += ',' + opts
78 vm.add_args('-device', '%s,id=devfortest' % (devtype))
86 return devfortest[0], get_pci_interfaces(vm, devtype)
/qemu/scripts/
H A Ddevice-crash-test290 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/qga/
H A Dcommands-bsd.c58 mount->devtype = g_strdup(mntp->f_fstypename); in build_fs_mount_list()
111 if (!g_str_equal(mount->devtype, "ufs")) { in qmp_guest_fsfreeze_do_freeze_list()
H A Dcommands-linux.c79 mount->devtype = g_strdup(ment->mnt_type); in build_fs_mount_list_from_mtab()
161 mount->devtype = g_strdup(dash + type_s); in build_fs_mount_list()
H A Dcommands-common.h36 char *devtype; member
H A Dcommands-posix.c720 g_free(mount->devtype); in free_fs_mount_list()
1620 fs->type = g_strdup(mount->devtype); in build_guest_fsinfo()
/qemu/hw/s390x/
H A Dipl.c343 static CcwDevice *s390_get_ccw_device(DeviceState *dev_st, int *devtype) in s390_get_ccw_device() argument
387 if (devtype) { in s390_get_ccw_device()
388 *devtype = tmp_dt; in s390_get_ccw_device()
398 int devtype; in s390_gen_initial_iplb() local
402 ccw_dev = s390_get_ccw_device(dev_st, &devtype); in s390_gen_initial_iplb()
409 switch (devtype) { in s390_gen_initial_iplb()
/qemu/hw/ppc/
H A Dspapr_pci.c817 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()