Gleb Natapov wrote: > On Sun, Apr 19, 2009 at 04:28:09PM +0300, Avi Kivity wrote: >> Gleb Natapov wrote: >>>> There may not be a next entry if the guest is in a tight loop. Given >>>> NMIs are used for watchdogs, that's not good. >>>> >>>> >>> We don't exit a guest after kvm time slice ends? >>> >> There are no time slices any more. If there's only once thread for a >> vcpu, you might have no exits at all with a tickless kernel. >> > Well, KVM may request some kind of even (timer) that will cause exit to > VCPU. This looks hacky though. We already spent to much electrons and brain cycles on possibly "much simpler" workarounds. I think injecting and handling a single-step, even while there is guest debugging going on or the guest itself single-steps or both, will not be more complicated - but "more correct". Jan
Attachment:
signature.asc
Description: OpenPGP digital signature