Re: [PATCH 0/7] KVM: x86: Let the guest write to multiple debug registers with one vmexit

From: Paolo Bonzini
Date: Sun Mar 09 2014 - 04:31:28 EST


Il 09/03/2014 09:15, Jan Kiszka ha scritto:
> This looks good now to me from KVM perspective. I was just wondering how
> the case is handled that the host used debug registers on the thread the
> runs a VCPU? What if I set a hw breakpoint on its userspace path e.g.?
> What if I debug the kernel side with kgdb?
Ah, this part didn't change, we still switch between host and guest
state on vmentries/exits. All fine!

Yes, that's why sync_dirty_debug_regs is added so early. Thanks for the review.

Paolo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/