Lines Matching +full:cdrom +full:- +full:test

1 # Record/replay test that boots a complete Linux system via a cloud image
9 # later. See the COPYING file in the top-level directory.
31 hdd = 'ide-hd'
32 cd = 'ide-cd'
36 # LinuxTest does many replay-incompatible things, but includes
51 vm.add_args('-drive', 'file=%s,snapshot=on,id=disk%s,if=none' % (path, id))
52 vm.add_args('-drive',
53 'driver=blkreplay,id=disk%s-rr,if=none,image=disk%s' % (id, id))
54 vm.add_args('-device',
55 '%s,drive=disk%s-rr%s' % (device, id, bus_string))
58 vm.add_args('-drive', 'file=%s,id=disk%s,if=none,media=cdrom' % (path, id))
63 vm.add_args('-smp', '1')
64 vm.add_args('-m', '1024')
65 vm.add_args('-netdev', 'user,id=vnet,hostfwd=:127.0.0.1:0-:22',
66 '-device', 'virtio-net,netdev=vnet')
67 vm.add_args('-object', 'filter-replay,id=replay,netdev=vnet')
80 vm.add_args('-icount', 'shift=%s,rr=%s,rrfile=%s' %
98 logger.info('successfully tested replay-dump.py')
103 elapsed = time.time() - start_time
111 logger.info('replay overhead {:.2%}'.format(t2 / t1 - 1))
115 subprocess.check_call(["./scripts/replay-dump.py",
116 "-f", replay_path],
119 self.fail('replay-dump.py failed')
121 @skipUnless(os.getenv('AVOCADO_TIMEOUT_EXPECTED'), 'Test might timeout')
142 @skipUnless(os.getenv('AVOCADO_TIMEOUT_EXPECTED'), 'Test might timeout')
150 hdd = 'virtio-blk-pci'
151 cd = 'virtio-blk-pci'
168 @skipUnless(os.getenv('AVOCADO_TIMEOUT_EXPECTED'), 'Test might timeout')
179 hdd = 'virtio-blk-device'
180 cd = 'virtio-blk-device'
184 return ('-bios',
185 os.path.join(BUILD_DIR, 'pc-bios', 'edk2-aarch64-code.fd'),
186 "-cpu", "max,lpa2=off",
187 '-device', 'virtio-rng-pci,rng=rng0',
188 '-object', 'rng-builtin,id=rng0')
192 :avocado: tags=machine:gic-version=2
197 "-machine", "virt,gic-version=2"))
201 :avocado: tags=machine:gic-version=3
206 "-machine", "virt,gic-version=3"))