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

ron minnich rminnich at gmail.com
Sat Sep 1 07:16:25 EST 2007


These are against -rc4.

0002 adds the syscall_vec struct member to lguest_data.

Both plan 9 and linux boot fine. There was a little confusion on
everyone's part from the earlier discussion and the original patches:
what we needed to do was reserve a vector, not an irq. The code in
patch 0003 supports reservations of vectors so that the io_apic won't
try to use it. Although a boot-time command parameter is supported, it
is not needed for lguest to work. This code also removes the hard-code
compare to SYSCALL_VECTOR, and replaces it with a hard-code to reserve
the SYSCALL_VECTOR :-) vector. There are some unresolved questions
here, which I note in the comment for patch 0003.

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.

comments welcome.

ron
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-Add-the-system-call-vector-struct-member-for-guest.patch
Type: text/x-patch
Size: 906 bytes
Desc: not available
URL: <http://lists.ozlabs.org/pipermail/lguest/attachments/20070831/82b1c6a5/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0003-This-change-creates-three-new-functions-in-irq.c.patch
Type: text/x-patch
Size: 4998 bytes
Desc: not available
URL: <http://lists.ozlabs.org/pipermail/lguest/attachments/20070831/82b1c6a5/attachment-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0004-These-are-rusty-s-changes-with-a-few-of-mine-to-im.patch
Type: text/x-patch
Size: 9799 bytes
Desc: not available
URL: <http://lists.ozlabs.org/pipermail/lguest/attachments/20070831/82b1c6a5/attachment-0002.bin>


More information about the Lguest mailing list