On Wed, 11 Dec 2024 09:45:14 +0000, Keir Fraser wrote: > VCPU threads may currently enter their run loops before all other > VCPUs have "reset" to an appropriate initial state. > > Actually this normally works okay, but on pKVM-ARM the VM's Hyp state > (including boot VCPU's initial state) gets set up by the first VCPU > thread to call ioctl(KVM_RUN). This races boot VCPU thread's > intialisation of register state, and can result in the boot VCPU > starting execution at PC=0. > > [...] Applied to kvmtool (master), thanks! [1/1] Reset all VCPUs before any entering run loops https://git.kernel.org/will/kvmtool/c/6d754d01fe2c Cheers, -- Will https://fixes.arm64.dev https://next.arm64.dev https://will.arm64.dev