Avi Kivity wrote:
Christian Ehrhardt wrote:
So you _need_ a mechanism to kick all vcpus out of guest mode?
I have a mechanism to kick a vcpu, and I use it. Due to the fact that
smp_call_* don't work as kick for us the kick is an arch specific
function.
I hop ethat clarified this part :-)
You could still use make_all_vcpus_request(), just change
smp_call_function_many() to your own kicker.
Yes and I like this idea for further unification, but I don't want it
mixed too much into the patches in discussion atm.
Because on one hand I have some problems giving my arch specific kick a
behaviour like "return when the guest WAS kicked" and on the other hand
I would e.g. also need to streamline the check in make_all_vcpus_request
which cpu is running etc because vcpu->cpu stays -1 all the time on s390
(never used).
Therefore I would unify things step by step and this way allow single
task to went off my task pile here :-)
--
Grüsse / regards, Christian Ehrhardt
IBM Linux Technology Center, Open Virtualization
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html