Lines Matching full:device
22 Run QEMU with all combinations of -machine and -device types,
48 logger = logging.getLogger('device-crash-test')
66 # * device: regexp, full match only
80 # devices that don't work out of the box because they require extra options to "-device DEV":
81 # DEVICE | ERROR MESSAGE
82 {'device':'.*-(i386|x86_64)-cpu', 'expected':True}, # CPU socket-id is not set
83 …{'device':'icp', 'expected':True}, # icp_realize: required link 'xics' not fou…
84 …{'device':'ics', 'expected':True}, # ics_base_realize: required link 'xics' no…
85 # "-device ide-cd" does work on more recent QEMU versions, so it doesn't have expected=True
86 {'device':'ide-cd'}, # No drive specified
87 {'device':'ide-hd', 'expected':True}, # No drive specified
88 …{'device':'ipmi-bmc-extern', 'expected':True}, # IPMI external bmc requires chardev attrib…
89 …{'device':'isa-debugcon', 'expected':True}, # Can't create serial device, empty char de…
90 …{'device':'isa-ipmi-bt', 'expected':True}, # IPMI device requires a bmc attribute to b…
91 …{'device':'isa-ipmi-kcs', 'expected':True}, # IPMI device requires a bmc attribute to b…
92 …{'device':'isa-parallel', 'expected':True}, # Can't create serial device, empty char de…
93 {'device':'ivshmem-doorbell', 'expected':True}, # You must specify a 'chardev'
94 {'device':'ivshmem-plain', 'expected':True}, # You must specify a 'memdev'
95 {'device':'loader', 'expected':True}, # please include valid arguments
96 {'device':'nand', 'expected':True}, # Unsupported NAND block size 0x1
97 {'device':'nvdimm', 'expected':True}, # 'memdev' property is not set
98 {'device':'nvme', 'expected':True}, # Device initialization failed
99 {'device':'pc-dimm', 'expected':True}, # 'memdev' property is not set
100 …{'device':'pci-bridge', 'expected':True}, # Bridge chassis not specified. Each bridge…
101 …{'device':'pci-bridge-seat', 'expected':True}, # Bridge chassis not specified. Each bridge…
102 …{'device':'pxb', 'expected':True}, # Bridge chassis not specified. Each bridge…
103 …{'device':'pxb-cxl', 'expected':True}, # pxb-cxl devices cannot reside on a PCI bu…
104 {'device':'scsi-block', 'expected':True}, # drive property not set
105 {'device':'scsi-generic', 'expected':True}, # drive property not set
106 {'device':'scsi-hd', 'expected':True}, # drive property not set
107 {'device':'spapr-pci-host-bridge', 'expected':True}, # BUID not specified for PHB
108 {'device':'spapr-rng', 'expected':True}, # spapr-rng needs an RNG backend!
109 {'device':'spapr-vty', 'expected':True}, # chardev property not set
110 …{'device':'tpm-tis', 'expected':True}, # tpm_tis: backend driver with id (null) co…
111 {'device':'unimplemented-device', 'expected':True}, # property 'size' not specified or zero
112 {'device':'usb-braille', 'expected':True}, # Property chardev is required
113 {'device':'usb-mtp', 'expected':True}, # rootdir property must be configured
114 {'device':'usb-redir', 'expected':True}, # Parameter 'chardev' is missing
115 {'device':'usb-serial', 'expected':True}, # Property chardev is required
116 {'device':'usb-storage', 'expected':True}, # drive property not set
117 …{'device':'vfio-amd-xgbe', 'expected':True}, # -device vfio-amd-xgbe: vfio error: wrong …
118 …{'device':'vfio-calxeda-xgmac', 'expected':True}, # -device vfio-calxeda-xgmac: vfio error: w…
119 {'device':'vfio-pci', 'expected':True}, # No provided host device
120 …{'device':'vfio-pci-igd-lpc-bridge', 'expected':True}, # VFIO dummy ISA/LPC bridge must have addre…
121 {'device':'vhost-scsi.*', 'expected':True}, # vhost-scsi: missing wwpn
122 … {'device':'vhost-vsock-device', 'expected':True}, # guest-cid property must be greater than 2
123 … {'device':'vhost-vsock-pci', 'expected':True}, # guest-cid property must be greater than 2
124 …{'device':'virtio-9p-ccw', 'expected':True}, # 9pfs device couldn't find fsdev with the …
125 …{'device':'virtio-9p-device', 'expected':True}, # 9pfs device couldn't find fsdev with the …
126 …{'device':'virtio-9p-pci', 'expected':True}, # 9pfs device couldn't find fsdev with the …
127 {'device':'virtio-blk-ccw', 'expected':True}, # drive property not set
128 {'device':'virtio-blk-device', 'expected':True}, # drive property not set
129 {'device':'virtio-blk-device', 'expected':True}, # drive property not set
130 {'device':'virtio-blk-pci', 'expected':True}, # drive property not set
131 …{'device':'virtio-crypto-ccw', 'expected':True}, # 'cryptodev' parameter expects a valid obj…
132 …{'device':'virtio-crypto-device', 'expected':True}, # 'cryptodev' parameter expects a valid obj…
133 …{'device':'virtio-crypto-pci', 'expected':True}, # 'cryptodev' parameter expects a valid obj…
134 {'device':'virtio-input-host-device', 'expected':True}, # evdev property is required
135 {'device':'virtio-input-host-pci', 'expected':True}, # evdev property is required
136 …{'device':'xen-pvdevice', 'expected':True}, # Device ID invalid, it must always be supp…
137 … {'device':'vhost-vsock-ccw', 'expected':True}, # guest-cid property must be greater than 2
138 {'device':'zpci', 'expected':True}, # target must be defined
139 …{'device':'pnv-(occ|icp|lpc)', 'expected':True}, # required link 'xics' not found: Property …
140 …{'device':'powernv-cpu-.*', 'expected':True}, # pnv_core_realize: required link 'xics' no…
143 {'machine':'q35|pc.*', 'device':'kvm-ioapic', 'expected':True}, # Only 1 ioapics allowed
144 {'machine':'q35|pc.*', 'device':'ioapic', 'expected':True}, # Only 1 ioapics allowed
147 {'machine':'(?!pseries).*', 'device':'.*-spapr-cpu-core', 'expected':True},
150 {'accel':'(?!kvm).*', 'device':'kvmclock', 'expected':True},
154 {'accel':'(?!xen).*', 'device':'xen-.*', 'expected':True},
157 …{'device':'vmgenid'}, # vmgenid requires DMA write support in fw_cfg, which this machine type does…
161 {'log':r"No '[\w-]+' bus found for device '[\w-]+'"},
166 {'log':r"speed mismatch trying to attach usb device"},
170 {'log':r"Option '-device [\w.,-]+' cannot be handled by this machine"},
171 {'log':r"Device [\w.,-]+ is not supported by this machine yet"},
172 {'log':r"Device [\w.,-]+ can not be dynamically instantiated"},
175 {'device':'.*-spapr-cpu-core', 'log':r"CPU core type should be"},
179 …led: Drive 'sd0' is already in use because it has been automatically connected to another device"},
209 ('device' not in rule or
210 'device' not in t or
211 re.match(rule['device'] + '$', t['device'])))
291 devtype = 'device'
356 device = testcase['device']
361 '-device', qemuOptsEscape(device)]
416 ('device', devicesToTest),
487 parser = argparse.ArgumentParser(description="QEMU -device crash test")
505 help="Test only device types that implement TYPE")
597 logger.error("Fatal failures on some machine/device combinations")