networking with qemu 0.8.1 (-net nic -net user works!)

Started by neozeed, May 22, 2006, 10:45:29 AM

Previous topic - Next topic

neozeed

The good news is that I appear to have a working nextstep with networking.  The thanks for this goes to Herbert Poetzl with a post I found here:

http://lists.gnu.org/archive/html/qemu-devel/2006-05/msg00396.html

Im also using the busmouse, and changing the sound blaster to use irq 7, while removing the parallel port (you can see my notes in other places).  So far its 'working' and im installing the compiler tools to setup a 'test' web server somewhere.  Im not sure if this fixes the ps/2 mouse issue, and since Im not in the mood to re-isntall nextstep I wont know just yet.  

At the least these are the two patches you definatly want to apply...

------------------------mouse wall---------------------------
diff -r 39a6dd1136c6 sdl.c
--- a/sdl.c     Thu May 04 04:13:13 2006 +0000
+++ b/sdl.c     Thu May 04 21:30:11 2006 -0500
@@ -280,13 +280,18 @@ static void sdl_update_caption(void)


static void sdl_hide_cursor(void)
{
-    SDL_SetCursor(sdl_cursor_hidden);
+    if (kbd_mouse_is_absolute()) {
+       SDL_ShowCursor(1);
+       SDL_SetCursor(sdl_cursor_hidden);
+    } else {
+       SDL_ShowCursor(0);
+    }
}


static void sdl_show_cursor(void)
{
    if (!kbd_mouse_is_absolute()) {
-       SDL_SetCursor(sdl_cursor_normal);
+       SDL_ShowCursor(1);
    }
}

------------------------mouse wall---------------------------


------------------------PIC issues---------------------------
--- hw/i8259.c  2006-05-22 03:54:47.000000000 +0200
+++ hw/i8259.c  2006-05-22 03:54:47.000000000 +0200
@@ -119,7 +119,7 @@ static int pic_get_irq(PicState *s)
       master, the IRQ coming from the slave is not taken into account
       for the priority computation. */
    mask = s->isr;
-    if (s->special_fully_nested_mode && s == &s->pics_state->pics[0])
+    if (/* s->special_fully_nested_mode && */ s == &s->pics_state->pics[0])
        mask &= ~(1 << 2);
    cur_priority = get_priority(s, mask);
    if (priority < cur_priority) {
------------------------PIC issues---------------------------
# include <wittycomment.h>