Am 17.09.24 um 17:18 schrieb Nico Boehr:
@@ -985,6 +988,10 @@ int access_guest_real(struct kvm_vcpu *vcpu, unsigned long gra, gra += fragment_len; data += fragment_len; } + + if (rc > 0) + vcpu->arch.pgm.code = rc;
This will work but using trans_exc might be more future proof I guess? Otherwise this looks good with the nits fixed.