Lines Matching +full:- +full:- +full:-
10 # SPDX-License-Identifier: GPL-2.0-or-later
22 'qemu-system-aarch64 -M virt,gic-version=3 '
23 '-cpu host -enable-kvm -m 512M '
24 '-M confidential-guest-support=rme0 '
25 '-object rme-guest,id=rme0 '
26 '-device virtio-net-pci,netdev=net0,romfile= '
27 '-netdev user,id=net0 '
28 '-kernel /mnt/out/bin/Image '
29 '-initrd /mnt/out-br/images/rootfs.cpio '
30 '-serial stdio')
39 exec_command(test_rme_instance, 'cca-workload-attestation report')
41 '"cca-platform-hash-algo-id": "sha-256"')
43 '"cca-realm-hash-algo-id": "sha-512"')
45 '"cca-realm-public-key-hash-algo-id": "sha-256"')
49 # Stack is built with OP-TEE build environment from those instructions:
51 # https://github.com/pbo-linaro/qemu-rme-stack
54 'download/rme-stack-op-tee-4.2.0-cca-v4-qemu_v8.tar.gz'),
69 rme_stack = self.scratch_file('rme-stack-op-tee-4.2.0-cca-v4-qemu_v8')
72 drive = os.path.join(rme_stack, 'out-br', 'images', 'rootfs.ext4')
74 self.vm.add_args('-cpu', 'max,x-rme=on,pauth-impdef=on')
75 self.vm.add_args('-m', '2G')
76 self.vm.add_args('-M', 'virt,acpi=off,'
79 'gic-version=3')
80 self.vm.add_args('-bios', bios)
81 self.vm.add_args('-kernel', kernel)
82 self.vm.add_args('-drive', f'format=raw,if=none,file={drive},id=hd0')
83 self.vm.add_args('-device', 'virtio-blk-pci,drive=hd0')
84 self.vm.add_args('-device', 'virtio-9p-device,fsdev=shr0,mount_tag=shr0')
85 self.vm.add_args('-fsdev', f'local,security_model=none,path={rme_stack},id=shr0')
86 self.vm.add_args('-device', 'virtio-net-pci,netdev=net0')
87 self.vm.add_args('-netdev', 'user,id=net0')
89 # https://gitlab.com/qemu-project/qemu/-/issues/2823
90 self.vm.add_args('-append', 'root=/dev/vda nokaslr')