[Lguest] My vector reserve patches etc. so Plan 9 boots.

ron minnich rminnich at gmail.com
Wed Sep 5 01:29:47 EST 2007


On 9/3/07, Rusty Russell <rusty at rustcorp.com.au> wrote:

>
> > patch 0004 is a slight mod of Rusty's earlier work. The change is that
> > we're not doing request_irq, since this is not an IRQ we want, but a
> > vector; and hence we don't need the null handler.
>
> If vector is already in use, this code will reserve it anyway.  I think
> what we actually want is a "used_vectors" bitmap and associated lock.
> It's clear and simple, and avoids the abstraction layer...

Actually, there is a simpler way than that: just use the vector array
that's already in io_apic.c, which has a lock, add 3 functions, i.e.
test, set, and clear, done!

I am kind of unsure of how this ought to go, since I hear of  390 and
PPC and x86_64 lguest ports ... how far is this going to go? OTOH from
Jes's last note I see the syscall_vector stuff moved to 386-specific
parts of lguest.

ron



More information about the Lguest mailing list