On Fri, 31 May 2024 at 05:20, Itaru Kitayama <itaru.kitay...@linux.dev> wrote: > > > > > On May 30, 2024, at 22:30, Philippe Mathieu-Daudé <phi...@linaro.org> wrote: > > > > Cc'ing more developers > > > > On 30/5/24 06:30, Itaru Kitayama wrote: > >> Hi, > >> When I see a Realm VM creation fails with: > >> Unexpected error in rme_configure_one() at ../target/arm/kvm-rme.c:159: > >> qemu-system-aarch64: RME: failed to configure SVE: Invalid argument > >> test.sh: line 8: 2502 Aborted qemu-system-aarch64 -M > >> 'virt,acpi=off,gic-version=3' -cpu host -enable-kvm -smp 2 -m 512M > >> -overcommit 'mem-lock=on' -M 'confidential-guest-support=rme0' -object > >> 'rme-guest,id=rme0,measurement-algo=sha512,num-pmu-counters=6,sve-vector-length=256' > >> -kernel Image -initrd rootfs.cpio -append 'earycon console=ttyAMA0 > >> rdinit=/sbin/init' -nographic -net none > >> do I need to suspect first the VMM, QEMU, or the Image? The kernel is > >> built with LLVM, does it matter? > >> Thanks, > >> Itaru. > > > > I’m testing Jean’s repo at: > > https://git.codelinaro.org/linaro/dcap/qemu/-/tree/cca/v2?ref_type=heads
OK, we should cc Jean-Philippe then. I'm wondering if this is as simple as "RME via KVM doesn't support SVE yet", perhaps. thanks -- PMM