On Tue, May 27, 2014 at 11:15:26PM -0700, Victor Kamensky wrote: > Hi Marc, Christoffer, > > While working on BE patches the following observation occurred > to me. In the same vein as Marc caught my mistake with BUG_ON > in [1] does the code have similar issue in access_vm_reg function? > In this function we have: > > BUG_ON(!p->is_write); > > My reading of this: if guest will issue read instruction for those > registers before HCR_TVM is cleared it will crash host kernel. Is > it right? I think guest should not crash host kvm kernel in similar > way as userspace KVM ioctl should not crash kernel. Or am I > missing something here? > > V7 version of access_vm_reg has the same issue. > The HCR.TVM only traps writes according to the ARM ARM. -Christoffer _______________________________________________ kvmarm mailing list kvmarm@xxxxxxxxxxxxxxxxxxxxx https://lists.cs.columbia.edu/mailman/listinfo/kvmarm