Ben-Ami Yassour wrote:
On Mon, 2008-07-07 at 13:08 +0300, Avi Kivity wrote:
Amit Shah wrote:
This will be useful for acking irqs of assigned devices

And also for improving time drift tracking.

Please make this more generic by having a list of callbacks. There could also be just one list, rather than one for the ioapic and one for the pic as implemented now.

It may also make sense to filter the irq number before calling the callback rather than relying on the callback to ignore uninteresting irqs.

Avi,

Did you mean something like the patch below?

I did, and have something very similar queued.

How should we protect list accesses, should it be a new lock or an existing one?


kvm->lock for now.

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

--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to