qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] win64


From: ZIGLIO, Frediano, VF-IT
Subject: [Qemu-devel] win64
Date: Mon, 26 Jun 2006 11:09:32 +0200

I got windows xp 64 working using current CVS.
I still have problems with network, I had to use this patch

Index: hw/rtl8139.c
===================================================================
RCS file: /sources/qemu/qemu/hw/rtl8139.c,v
retrieving revision 1.1
diff -u -1 -0 -r1.1 rtl8139.c
--- hw/rtl8139.c        5 Feb 2006 04:14:41 -0000       1.1
+++ hw/rtl8139.c        26 Jun 2006 08:44:49 -0000
@@ -2826,21 +2826,21 @@
     d = (PCIRTL8139State *)pci_register_device(bus,
                                               "RTL8139",
sizeof(PCIRTL8139State),
                                               -1,
                                               NULL, NULL);
     pci_conf = d->dev.config;
     pci_conf[0x00] = 0xec; /* Realtek 8139 */
     pci_conf[0x01] = 0x10;
     pci_conf[0x02] = 0x39;
     pci_conf[0x03] = 0x81;
     pci_conf[0x04] = 0x05; /* command = I/O space, Bus Master */
-    pci_conf[0x08] = 0x20; /* 0x10 */ /* PCI revision ID; >=0x20 is for
8139C+ */
+    pci_conf[0x08] = 0x10; /* 0x10 */ /* PCI revision ID; >=0x20 is for
8139C+ */
     pci_conf[0x0a] = 0x00; /* ethernet network controller */
     pci_conf[0x0b] = 0x02;
     pci_conf[0x0e] = 0x00; /* header_type */
     pci_conf[0x3d] = 1;    /* interrupt pin 0 */
     pci_conf[0x34] = 0xdc;

     s = &d->rtl8139;

     /* I/O handler for memory-mapped I/O */
     s->rtl8139_mmio_io_addr =

without it using rtl3139 card windows hangs (it don't have driver for
ne2000). Perhaps it would be helpful to add a rtl8139old card.
With patch all is working however saving state and restoring (after
quitting qemu) cause machine to hangs (mouse do not move, cursors do not
blink, remote desktop give timeout but I can see cpu activity with info
registers).

bye
  Frediano Ziglio





reply via email to

[Prev in Thread] Current Thread [Next in Thread]