Lines Matching +full:boot +full:- +full:serial +full:- +full:test

5 # pseries supports the nested-HV hypervisor spec.
10 # later. See the COPYING file in the top-level directory.
21 # Alpine is a light weight distro that supports QEMU. These tests boot
24 # QEMU packages are downloaded and installed on each test. That's not a
34 panic_message = 'Kernel panic - not syncing'
38 ('https://dl-cdn.alpinelinux.org/alpine/v3.21/'
39 'releases/ppc64le/alpine-standard-3.21.0-ppc64le.iso'),
44 Extracts a file from an iso file into the test workdir
52 cmd = "xorriso -osirrox on -indev %s -cpx %s %s" % (iso, path, filename)
64 self.vmlinuz = self.extract_from_iso(self.iso_path, '/boot/vmlinuz-lts')
65 self.initramfs = self.extract_from_iso(self.iso_path, '/boot/initramfs-lts')
70 self.vm.add_args("-kernel", self.vmlinuz)
71 self.vm.add_args("-initrd", self.initramfs)
72 self.vm.add_args("-smp", "4", "-m", "2g")
73 self.vm.add_args("-drive", f"file={self.iso_path},format=raw,if=none,"
74 "id=drive0,read-only=true")
81 …exec_command_and_wait_for_pattern(self, 'date -s "' + datetime.utcnow().strftime('%Y-%m-%d %H:%M:%…
83 exec_command_and_wait_for_pattern(self, 'setup-alpine -qe', ps1)
84 exec_command_and_wait_for_pattern(self, 'setup-apkrepos -c1', ps1)
87 # exec_command_and_wait_for_pattern(self, 'apk upgrade --available', ps1)
90 exec_command(self, 'echo "TEST ME"')
98 exec_command_and_wait_for_pattern(self, 'apk add qemu-system-ppc64', ps1)
99 exec_command_and_wait_for_pattern(self, 'modprobe kvm-hv', ps1)
109 exec_command(self, 'qemu-system-ppc64 -nographic -smp 2 -m 1g '
110 '-machine pseries,x-vof=on,accel=kvm '
111 '-machine cap-cfpc=broken,cap-sbbc=broken,'
112 'cap-ibs=broken,cap-ccf-assist=off '
113 '-drive file=/dev/nvme0n1,format=raw,readonly=on '
114 '-initrd /media/nvme0n1/boot/initramfs-lts '
115 '-kernel /media/nvme0n1/boot/vmlinuz-lts '
116 '-append \'usbcore.nousb ' + append + '\'')
130 self.vm.add_args("-accel", "tcg,thread=multi")
131 self.vm.add_args('-device', 'nvme,serial=1234,drive=drive0')
132 self.vm.add_args("-machine", "x-vof=on,cap-nested-hv=on")
142 self.vm.add_args("-accel", "kvm")
143 self.vm.add_args('-device', 'nvme,serial=1234,drive=drive0')
144 self.vm.add_args("-machine", "x-vof=on,cap-nested-hv=on,cap-ccf-assist=off")
154 self.vm.add_args("-accel", "tcg,thread=multi")
155 self.vm.add_args('-device', 'nvme,bus=pcie.2,addr=0x0,serial=1234,drive=drive0',
156 '-device', 'e1000e,netdev=net0,mac=C0:FF:EE:00:00:02,bus=pcie.0,addr=0x0',
157 '-netdev', 'user,id=net0,hostfwd=::20022-:22,hostname=alpine')