Re: qemu-kvm: do not allow vcpu stop with in progress PIO

Avi Kivity
2010-02-10T17:08:04Z

On 02/10/2010 07:03 PM, Alexander Graf wrote:
>
> I see. Yes, that works for PPC Book3S too. We check for signals on the
> beginning of vcpu_run. I'm not sure about BookE though.
>
> Either way - wouldn't it make more sense to just move the check to
> generic code?
>

Well, the check happens very deep in x86 code (vcpu_enter_guest(),
during the critical section switching into guest mode). It should be
possible to refactor it into a skeleton that does this (and checks
vcpu->requests etc.) and calls arch code to do the actual work. A small
gain for a lot of churn, but maybe worthwhile.

--
error compiling committee.c: too many arguments to function