Lines Matching +full:build +full:- +full:without +full:- +full:default +full:- +full:devices

14 # but WITHOUT ANY WARRANTY; without even the implied warranty of
20 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
23 Run QEMU with all combinations of -machine and -device types,
44 print(" Try 'make check-venv' from your build directory,")
49 logger = logging.getLogger('device-crash-test')
54 # * Avoiding verbose log messages when we find known non-fatal
57 # * Skipping machines/devices that are known not to work out of
58 # the box, when running in --quick mode
77 {'machine':'niagara', 'expected':True}, # Unable to load a firmware for -M niagara
78 … {'machine':'boston', 'expected':True}, # Please provide either a -kernel or -bios argument
81 # devices that don't work out of the box because they require extra options to "-device DEV":
83 {'device':'.*-(i386|x86_64)-cpu', 'expected':True}, # CPU socket-id is not set
86 # "-device ide-cd" does work on more recent QEMU versions, so it doesn't have expected=True
87 {'device':'ide-cd'}, # No drive specified
88 {'device':'ide-hd', 'expected':True}, # No drive specified
89 …{'device':'ipmi-bmc-extern', 'expected':True}, # IPMI external bmc requires chardev attrib…
90 …{'device':'isa-debugcon', 'expected':True}, # Can't create serial device, empty char de…
91 …{'device':'isa-ipmi-bt', 'expected':True}, # IPMI device requires a bmc attribute to b…
92 …{'device':'isa-ipmi-kcs', 'expected':True}, # IPMI device requires a bmc attribute to b…
93 …{'device':'isa-parallel', 'expected':True}, # Can't create serial device, empty char de…
94 {'device':'ivshmem-doorbell', 'expected':True}, # You must specify a 'chardev'
95 {'device':'ivshmem-plain', 'expected':True}, # You must specify a 'memdev'
100 {'device':'pc-dimm', 'expected':True}, # 'memdev' property is not set
101 …{'device':'pci-bridge', 'expected':True}, # Bridge chassis not specified. Each bridge…
102 …{'device':'pci-bridge-seat', 'expected':True}, # Bridge chassis not specified. Each bridge…
104 …{'device':'pxb-cxl', 'expected':True}, # pxb-cxl devices cannot reside on a PCI bu…
105 {'device':'scsi-block', 'expected':True}, # drive property not set
106 {'device':'scsi-generic', 'expected':True}, # drive property not set
107 {'device':'scsi-hd', 'expected':True}, # drive property not set
108 {'device':'spapr-pci-host-bridge', 'expected':True}, # BUID not specified for PHB
109 {'device':'spapr-rng', 'expected':True}, # spapr-rng needs an RNG backend!
110 {'device':'spapr-vty', 'expected':True}, # chardev property not set
111 …{'device':'tpm-tis', 'expected':True}, # tpm_tis: backend driver with id (null) co…
112 {'device':'unimplemented-device', 'expected':True}, # property 'size' not specified or zero
113 {'device':'usb-braille', 'expected':True}, # Property chardev is required
114 {'device':'usb-mtp', 'expected':True}, # rootdir property must be configured
115 {'device':'usb-redir', 'expected':True}, # Parameter 'chardev' is missing
116 {'device':'usb-serial', 'expected':True}, # Property chardev is required
117 {'device':'usb-storage', 'expected':True}, # drive property not set
118 …{'device':'vfio-amd-xgbe', 'expected':True}, # -device vfio-amd-xgbe: vfio error: wrong …
119 …{'device':'vfio-calxeda-xgmac', 'expected':True}, # -device vfio-calxeda-xgmac: vfio error: w…
120 {'device':'vfio-pci', 'expected':True}, # No provided host device
121 …{'device':'vfio-pci-igd-lpc-bridge', 'expected':True}, # VFIO dummy ISA/LPC bridge must have addre…
122 {'device':'vhost-scsi.*', 'expected':True}, # vhost-scsi: missing wwpn
123 … {'device':'vhost-vsock-device', 'expected':True}, # guest-cid property must be greater than 2
124 … {'device':'vhost-vsock-pci', 'expected':True}, # guest-cid property must be greater than 2
125 …{'device':'virtio-9p-ccw', 'expected':True}, # 9pfs device couldn't find fsdev with the …
126 …{'device':'virtio-9p-device', 'expected':True}, # 9pfs device couldn't find fsdev with the …
127 …{'device':'virtio-9p-pci', 'expected':True}, # 9pfs device couldn't find fsdev with the …
128 {'device':'virtio-blk-ccw', 'expected':True}, # drive property not set
129 {'device':'virtio-blk-device', 'expected':True}, # drive property not set
130 {'device':'virtio-blk-device', 'expected':True}, # drive property not set
131 {'device':'virtio-blk-pci', 'expected':True}, # drive property not set
132 …{'device':'virtio-crypto-ccw', 'expected':True}, # 'cryptodev' parameter expects a valid obj…
133 …{'device':'virtio-crypto-device', 'expected':True}, # 'cryptodev' parameter expects a valid obj…
134 …{'device':'virtio-crypto-pci', 'expected':True}, # 'cryptodev' parameter expects a valid obj…
135 {'device':'virtio-input-host-device', 'expected':True}, # evdev property is required
136 {'device':'virtio-input-host-pci', 'expected':True}, # evdev property is required
137 …{'device':'xen-pvdevice', 'expected':True}, # Device ID invalid, it must always be supp…
138 … {'device':'vhost-vsock-ccw', 'expected':True}, # guest-cid property must be greater than 2
140 …{'device':'pnv-(occ|icp|lpc)', 'expected':True}, # required link 'xics' not found: Property …
141 …{'device':'powernv-cpu-.*', 'expected':True}, # pnv_core_realize: required link 'xics' no…
143 # ioapic devices are already created by pc and will fail:
144 {'machine':'q35|pc.*', 'device':'kvm-ioapic', 'expected':True}, # Only 1 ioapics allowed
147 # "spapr-cpu-core needs a pseries machine"
148 {'machine':'(?!pseries).*', 'device':'.*-spapr-cpu-core', 'expected':True},
150 # KVM-specific devices shouldn't be tried without accel=kvm:
153 # xen-specific machines and devices:
155 {'accel':'(?!xen).*', 'device':'xen-.*', 'expected':True},
157 # this fails on some machine-types, but not all, so they don't have expected=True:
161 # devices/machines:
162 {'log':r"No '[\w-]+' bus found for device '[\w-]+'"},
165 {'log':r"[cC]ould not load [\w ]+ (BIOS|bios) '[\w-]+\.bin'"},
166 {'log':r"Couldn't find rom image '[\w-]+\.bin'"},
170 # sysbus-related error messages: most machines reject most dynamic sysbus devices:
171 {'log':r"Option '-device [\w.,-]+' cannot be handled by this machine"},
172 {'log':r"Device [\w.,-]+ is not supported by this machine yet"},
173 {'log':r"Device [\w.,-]+ can not be dynamically instantiated"},
176 {'device':'.*-spapr-cpu-core', 'log':r"CPU core type should be"},
177 {'log':r"MSI(-X)? is not supported by interrupt controller"},
178 {'log':r"pxb-pcie? devices cannot reside on a PCIe? bus"},
182 {'log':r"MSI-X support is mandatory in the S390 architecture"},
271 """Run qom-list-types QMP command, return type names"""
272 types = vm.cmd('qom-list-types', **kwargs)
278 args = {'command-line': 'info qdm'}
279 devhelp = vm.cmd('human-monitor-command', **args)
285 'no-user': (re.search(', no-user', l) is not None)}
298 args = ['-S', '-machine', 'none,accel=kvm:tcg']
306 self.no_user_devs = set([d['name'] for d in infoQDM(vm, ) if d['no-user']])
307 self.machines = list(m['name'] for m in vm.cmd('query-machines'))
309 self.kvm_available = vm.cmd('query-kvm')['enabled']
314 """Query for information on a specific machine-type
316 Results are cached internally, in case the same machine-
323 args = ['-S', '-machine', '%s' % (machine)]
361 args = ['-S', '-machine', '%s,accel=%s' % (machine, accel),
362 '-device', qemuOptsEscape(device)]
394 if f.name.startswith('qemu-system-') and
426 allows the "-t" command-line option to be used to choose
488 parser = argparse.ArgumentParser(description="QEMU -device crash test")
489 parser.add_argument('-t', metavar='KEY=VALUE', nargs='*',
491 action='append', dest='testcases', default=[])
492 parser.add_argument('-d', '--debug', action='store_true',
494 parser.add_argument('-v', '--verbose', action='store_true', default=True,
496 parser.add_argument('-q', '--quiet', dest='verbose', action='store_false',
497 help='non-verbose output')
498 parser.add_argument('-r', '--random', type=int, metavar='COUNT',
500 default=0)
501 parser.add_argument('--shuffle', action='store_true',
503 parser.add_argument('--dry-run', action='store_true',
505 parser.add_argument('-D', '--devtype', metavar='TYPE',
507 parser.add_argument('-Q', '--quick', action='store_true', default=True,
509 parser.add_argument('-F', '--full', action='store_false', dest='quick',
511 parser.add_argument('--strict', action='store_true', dest='strict',
513 parser.add_argument('--tcg-only', action='store_true', dest='tcg_only',