* [Qemu-devel] win64
@ 2006-06-26 9:09 ` ZIGLIO, Frediano, VF-IT
2006-06-26 19:57 ` Fabrice Bellard
2006-07-01 4:15 ` yhlu
0 siblings, 2 replies; 6+ messages in thread
From: ZIGLIO, Frediano, VF-IT @ 2006-06-26 9:09 UTC (permalink / raw)
To: qemu-devel
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
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [Qemu-devel] win64
2006-06-26 9:09 ` [Qemu-devel] win64 ZIGLIO, Frediano, VF-IT
@ 2006-06-26 19:57 ` Fabrice Bellard
2006-07-01 4:15 ` yhlu
1 sibling, 0 replies; 6+ messages in thread
From: Fabrice Bellard @ 2006-06-26 19:57 UTC (permalink / raw)
To: qemu-devel
If it works with Linux too then I can change it without leaving the old
value...
Fabrice.
ZIGLIO, Frediano, VF-IT wrote:
> 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
>
>
>
> _______________________________________________
> Qemu-devel mailing list
> Qemu-devel@nongnu.org
> http://lists.nongnu.org/mailman/listinfo/qemu-devel
>
>
^ permalink raw reply [flat|nested] 6+ messages in thread
* RE: [Qemu-devel] win64
@ 2006-06-27 8:21 ZIGLIO, Frediano, VF-IT
0 siblings, 0 replies; 6+ messages in thread
From: ZIGLIO, Frediano, VF-IT @ 2006-06-27 8:21 UTC (permalink / raw)
To: qemu-devel
I tried with
- Fedora Core 5 x86-64 in rescue mode
- Ubuntu 6.06 live DVD x86
they works, I can use a ssh session without problems. I tried scp with Ubuntu, speed was about 530KB/s. In both cases I used user mode (-net nic,model=rtl8139 -net user). Perhaps it would fine to add a rtl8139too like Linux...
freddy77
> -----Original Message-----
> From:
> qemu-devel-bounces+frediano.ziglio=vodafone.com@nongnu.org
> [mailto:qemu-devel-bounces+frediano.ziglio=vodafone.com@nongnu
> .org] On Behalf Of Fabrice Bellard
> Sent: lunedì 26 giugno 2006 21.58
> To: qemu-devel@nongnu.org
> Subject: Re: [Qemu-devel] win64
>
> If it works with Linux too then I can change it without
> leaving the old
> value...
>
> Fabrice.
>
> ZIGLIO, Frediano, VF-IT wrote:
> > 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
> >
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [Qemu-devel] win64
2006-06-26 9:09 ` [Qemu-devel] win64 ZIGLIO, Frediano, VF-IT
2006-06-26 19:57 ` Fabrice Bellard
@ 2006-07-01 4:15 ` yhlu
2006-07-01 17:30 ` [Qemu-devel] Simulated devices of Qemu? Tieu Ma Dau
2006-07-06 15:50 ` [Qemu-devel] win64 yhlu
1 sibling, 2 replies; 6+ messages in thread
From: yhlu @ 2006-07-01 4:15 UTC (permalink / raw)
To: qemu-devel
win64 as guest?
YH
On 6/26/06, ZIGLIO, Frediano, VF-IT <Frediano.Ziglio@vodafone.com> wrote:
> 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
>
>
>
> _______________________________________________
> Qemu-devel mailing list
> Qemu-devel@nongnu.org
> http://lists.nongnu.org/mailman/listinfo/qemu-devel
>
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Qemu-devel] Simulated devices of Qemu?
2006-07-01 4:15 ` yhlu
@ 2006-07-01 17:30 ` Tieu Ma Dau
2006-07-06 15:50 ` [Qemu-devel] win64 yhlu
1 sibling, 0 replies; 6+ messages in thread
From: Tieu Ma Dau @ 2006-07-01 17:30 UTC (permalink / raw)
To: qemu-devel
[-- Attachment #1: Type: text/plain, Size: 696 bytes --]
Hi all,
Qemu can simulate ARM processor with Integrator/CP board and the devices below: Two PL011 UARTs, SMC 91c111 Ethernet adapter
1. Generally, how Qemu simulates these devices? It means on Qemu's code or these devices will be simulated automaticly by "portable dynamic translation" mechanism of Qemu?
2. Is Qemu's window (when I execute it on Windows) the screen device simulated by Qemu or it's only the window application on Windows?
3. How Qemu simulates PL011 UART?
4. How I must do if I want to develop (add) a device simulated on Qemu
Thanks.
Tieu
---------------------------------
Do you Yahoo!?
Get on board. You're invited to try the new Yahoo! Mail Beta.
[-- Attachment #2: Type: text/html, Size: 843 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [Qemu-devel] win64
2006-07-01 4:15 ` yhlu
2006-07-01 17:30 ` [Qemu-devel] Simulated devices of Qemu? Tieu Ma Dau
@ 2006-07-06 15:50 ` yhlu
1 sibling, 0 replies; 6+ messages in thread
From: yhlu @ 2006-07-06 15:50 UTC (permalink / raw)
To: qemu-devel
it works well with "-smp 1", but the "-smp 2" will have blue screen
when it try to get into gui installation window.
Also for 32 bit win, even "-smp 2", there will be only one cpu show up
on the guest win...
YH
On 6/30/06, yhlu <yinghailu@gmail.com> wrote:
> win64 as guest?
>
> YH
>
> On 6/26/06, ZIGLIO, Frediano, VF-IT <Frediano.Ziglio@vodafone.com> wrote:
> > 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
> >
> >
> >
> > _______________________________________________
> > Qemu-devel mailing list
> > Qemu-devel@nongnu.org
> > http://lists.nongnu.org/mailman/listinfo/qemu-devel
> >
>
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2006-07-06 15:50 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <AcaZADxJ2Tq4/qsJSOW00d5JjNi8kg==>
2006-06-26 9:09 ` [Qemu-devel] win64 ZIGLIO, Frediano, VF-IT
2006-06-26 19:57 ` Fabrice Bellard
2006-07-01 4:15 ` yhlu
2006-07-01 17:30 ` [Qemu-devel] Simulated devices of Qemu? Tieu Ma Dau
2006-07-06 15:50 ` [Qemu-devel] win64 yhlu
2006-06-27 8:21 ZIGLIO, Frediano, VF-IT
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).