Re: [Qemu-devel] user networking - win xp quest, amd64 linux host

2005-05-08 Thread Adrian Smarzewski
Adrian Smarzewski wrote: > bash-2.05b$ uname -a > Linux localhost 2.6.11-gentoo-r7 #1 Sun May 8 06:59:56 CEST 2005 x86_64 > AMD Athlon(tm) 64 Processor 3400+ AuthenticAMD GNU/Linux > > bash-2.05b$ qemu -hda win_xp_home_sp2.raw -user-net -localtime > > Qemu 0.7.0 without any patches. localhost ro

Re: [Qemu-devel] user networking - win xp quest, amd64 linux host

2005-05-08 Thread Adrian Smarzewski
Ben Taylor wrote: > suspect the amd64 is biting you. What is your host OS > environment like, and what version of qemu are you > compiling? bash-2.05b$ uname -a Linux localhost 2.6.11-gentoo-r7 #1 Sun May 8 06:59:56 CEST 2005 x86_64 AMD Athlon(tm) 64 Processor 3400+ AuthenticAMD GNU/Linux bash-2.

Re: [Qemu-devel] Stupid (probably) idea wrt dyngen & gcc 3.4 & 4.0

2005-05-08 Thread Paul Brook
On Monday 09 May 2005 02:55, Sebastian Kaliszewski wrote: > So the idea was indeed stupid :) > > On Monday 09 May 2005 02:40, Paul Brook wrote: > > No. The main problem with gcc3.4 was that we weren't using FORCE_RET > > everywhere that we should. This has mostly been fixed now. > > I see... > > [s

Re: [Qemu-devel] Stupid (probably) idea wrt dyngen & gcc 3.4 & 4.0

2005-05-08 Thread Sebastian Kaliszewski
So the idea was indeed stupid :) On Monday 09 May 2005 02:40, Paul Brook wrote: > No. The main problem with gcc3.4 was that we weren't using FORCE_RET > everywhere that we should. This has mostly been fixed now. I see... [snip] > > I've got a solution for x86/x86-64 that's 95% complete, using th

[Qemu-devel] Compile fixes for newer gcc

2005-05-08 Thread Paul Brook
The attached patch fixes some trivial build problems with newer gcc on amd64. It adds FORCE_RET on load ops, and introduces helper functions for floating point negation (these require a literal constant load). Paul Index: target-i386/op.c ==

[Qemu-devel] patch for serial port support(linux host only)

2005-05-08 Thread Cai Qiang
Hi, Here are patch for serial port support(partial; linux host only). You can invoke it by adding sth like "-serial /dev/ttyS0" in arguments to let qemu using host's serial port as its serial port. qemu will change host's serial port setting(baudrate, databits, stopbits, parity) when g

Re: Re: [Qemu-devel] user networking - win xp quest, amd64 linux host

2005-05-08 Thread Ben Taylor
Adrian Smarzewski <[EMAIL PROTECTED]> wrote > > Ben Taylor wrote: > >>From: Adrian Smarzewski <[EMAIL PROTECTED]> > >>Date: 2005/05/08 Sun PM 06:22:27 EDT > >>To: qemu-devel@nongnu.org > >>Subject: [Qemu-devel] user networking - win xp quest, amd64 linux host > >> > >>When I set 10.0.2.15 for win

Re: [Qemu-devel] Stupid (probably) idea wrt dyngen & gcc 3.4 & 4.0

2005-05-08 Thread Paul Brook
On Monday 09 May 2005 01:02, Sebastian Kaliszewski wrote: > Hello! > > As I understand the problem with dyngen & GCC 3.4 and newer is that even > when using the following marcro (line 158 of dynget-exec.h) in op_* > functions > > #define FORCE_RET() asm volatile (""); > > GCC still puts multiple ex

Re: [Qemu-devel] user networking - win xp quest, amd64 linux host

2005-05-08 Thread Adrian Smarzewski
Henrik Nordstrom wrote: > Should work.. how can I debug it? Any logs for user-networking? qemu 0.7.0. ___ Qemu-devel mailing list Qemu-devel@nongnu.org http://lists.nongnu.org/mailman/listinfo/qemu-devel

Re: [Qemu-devel] Stupid (probably) idea wrt dyngen & gcc 3.4 & 4.0

2005-05-08 Thread André Braga
Alternatively, volatile inc ax dec ax inc ax dec ax which is the same size as 4 nops (on x86 assembly), has a net result of doing nothing (caveat interrupts/preemption), and is *absolutely illogical* to find in any machine-generated code... There must be some way to generate similar co

Re: [Qemu-devel] user networking - win xp quest, amd64 linux host

2005-05-08 Thread Henrik Nordstrom
On Mon, 9 May 2005, Adrian Smarzewski wrote: DHCP is not working just like I wrote. I set DNS and default gateway using QEMU manual for user-networking. No success. Should work.. Does user-mode networking need routing enabled in host kernel? No. Regards Henrik __

Re: [Qemu-devel] Linux 2.6.10 ?

2005-05-08 Thread Henrik Nordstrom
On Sun, 8 May 2005, Der Herr Hofrat wrote: it's ok with me on a XP host and running linux 2.6.10 with either -kernel option (remember you need an -hda too) and inside an iso. It also works inside a -fda too. What is your exact cmd line ? qemu -nographic \ -hda linux.img \ -kernel bz

Re: [Qemu-devel] user networking - win xp quest, amd64 linux host

2005-05-08 Thread Adrian Smarzewski
Ben Taylor wrote: >>From: Adrian Smarzewski <[EMAIL PROTECTED]> >>Date: 2005/05/08 Sun PM 06:22:27 EDT >>To: qemu-devel@nongnu.org >>Subject: [Qemu-devel] user networking - win xp quest, amd64 linux host >> >>When I set 10.0.2.15 for win xp guest I can ping 10.0.2.2 >>but DHCP doesn't work and rout

[Qemu-devel] Stupid (probably) idea wrt dyngen & gcc 3.4 & 4.0

2005-05-08 Thread Sebastian Kaliszewski
Hello! As I understand the problem with dyngen & GCC 3.4 and newer is that even when using the following marcro (line 158 of dynget-exec.h) in op_* functions #define FORCE_RET() asm volatile (""); GCC still puts multiple exit points of a function. But did anyone try the following one: #defin

Re: [Qemu-devel] Kqemu charged?

2005-05-08 Thread Thibaut LAURENT
On Sunday 08 May 2005 21:36, Marc Collin wrote: > hi > > i do: > modprobe kqemu > > with /sbin/lsmod | grep kqemu > kqemu 43272 0 > > does kqemu run corretely? > l'm not suppose to get 2? Yes you are if : * one instance of qemu is running * this instance was started after kqe

Re: [Qemu-devel] Kqemu charged?

2005-05-08 Thread Marc Collin
Le 8 Mai 2005 18:40, Struan Bartlett a écrit : > Marc Collin wrote: > >Le 8 Mai 2005 17:00, André Braga a écrit : > >>Unless you have 2 instances of QEMU running, no, you're not supposed to. > > > >0 means kqemu is ok? > > I don't think so. The way I see it, when I'm running _one_ instance of > QEM

Re: [Qemu-devel] user networking - win xp quest, amd64 linux host

2005-05-08 Thread Ben Taylor
> > From: Adrian Smarzewski <[EMAIL PROTECTED]> > Date: 2005/05/08 Sun PM 06:22:27 EDT > To: qemu-devel@nongnu.org > Subject: [Qemu-devel] user networking - win xp quest, amd64 linux host > > When I set 10.0.2.15 for win xp guest I can ping 10.0.2.2 > but DHCP doesn't work and routing too. Any i

Re: [Qemu-devel] Kqemu charged?

2005-05-08 Thread Joe Menola
On Sun May 8 2005 5:40 pm, Struan Bartlett wrote: > When I run QEMU with the '-no-kqemu' option lsmod lists: > > kqemu                  43428  0 The zero represents the number of processes currently using the module. You will also get zero if no instance of Qemu is currently running. -jm _

[Qemu-devel] user networking - win xp quest, amd64 linux host

2005-05-08 Thread Adrian Smarzewski
When I set 10.0.2.15 for win xp guest I can ping 10.0.2.2 but DHCP doesn't work and routing too. Any ideas? Something in host-kernel configuration? ___ Qemu-devel mailing list Qemu-devel@nongnu.org http://lists.nongnu.org/mailman/listinfo/qemu-devel

Re: [Qemu-devel] Kqemu charged?

2005-05-08 Thread Struan Bartlett
Marc Collin wrote: Le 8 Mai 2005 17:00, André Braga a écrit : Unless you have 2 instances of QEMU running, no, you're not supposed to. 0 means kqemu is ok? I don't think so. The way I see it, when I'm running _one_ instance of QEMU, lsmod lists: kqemu 43428 2 When I r

Re: [Qemu-devel] Linux 2.6.10 ?

2005-05-08 Thread Christian MICHON
for me it's working on a XP host with qemu 0.7.0. I can see the ouput errors on the serial console of qemu. Neat :) I just miss a initrd... I've been compiling 2.6.x guests since qemu 0.6.0, and the only pb I have are regarding stable framebuffer switching. It works on the host but not always insi

Re: [Qemu-devel] Kqemu charged?

2005-05-08 Thread Marc Collin
Le 8 Mai 2005 17:00, André Braga a écrit : > Unless you have 2 instances of QEMU running, no, you're not supposed to. > 0 means kqemu is ok? -- www.laboiteaprog.com ___ Qemu-devel mailing list Qemu-devel@nongnu.org http://lists.nongnu.org/mailman/lis

Re: [Qemu-devel] Kqemu charged?

2005-05-08 Thread André Braga
Unless you have 2 instances of QEMU running, no, you're not supposed to. 2005/5/8, Marc Collin <[EMAIL PROTECTED]>: > hi > > i do: > modprobe kqemu > > with /sbin/lsmod | grep kqemu > kqemu 43272 0 > > does kqemu run corretely? > l'm not suppose to get 2? > > thanks >

[Qemu-devel] Kqemu charged?

2005-05-08 Thread Marc Collin
hi i do: modprobe kqemu with /sbin/lsmod | grep kqemu kqemu 43272 0 does kqemu run corretely? l'm not suppose to get 2? thanks -- www.laboiteaprog.com ___ Qemu-devel mailing list Qemu-devel@nongnu.org http://lists.nongnu.org/mail

[Qemu-devel] Kqemu and win

2005-05-08 Thread Marc Collin
hi somebody know when the problem (protection error) to use kqemu with qemu and win9x will be removed? thanks -- www.laboiteaprog.com ___ Qemu-devel mailing list Qemu-devel@nongnu.org http://lists.nongnu.org/mailman/listinfo/qemu-devel

Re: [Qemu-devel] Linux 2.6.10 ?

2005-05-08 Thread Der Herr Hofrat
> On Sun, May 08, 2005 at 08:24:57AM +0200, Der Herr Hofrat wrote: > > > > Hi ! > > > > does anybody have a 2.6.X (preferably 2.6.10) running under qemu ? > > trying to launch it (passed with -kernel) fails - it simply gives me > > works fine here with and without graphical output > for using

[Qemu-devel] x86 vs x86_64 emulation on amd64 host

2005-05-08 Thread Adrian Smarzewski
Is it better (faster) to emulate x86_64 or x86 architecture on amd64 host with 32-bit Windows as guest? Will kqemu for amd64 change something in this case? ___ Qemu-devel mailing list Qemu-devel@nongnu.org http://lists.nongnu.org/mailman/listinfo/qemu

Re: [Qemu-devel] Linux 2.6.10 ?

2005-05-08 Thread Der Herr Hofrat
> On Sunday 08 May 2005 07:24, Der Herr Hofrat wrote: > > Hi ! > > > > does anybody have a 2.6.X (preferably 2.6.10) running under qemu ? > > trying to launch it (passed with -kernel) fails - it simply gives me > > > > (qemu) > > You need to make sure you have the sdl development headers and li

Re: [Qemu-devel] Linux 2.6.10 ?

2005-05-08 Thread Der Herr Hofrat
> it's ok with me on a XP host and running linux 2.6.10 with either > -kernel option (remember you need an -hda too) and inside an iso. > > It also works inside a -fda too. > > What is your exact cmd line ? > qemu -nographic \ -hda linux.img \ -kernel bzImage \ -append "

Re: [Qemu-devel] Linux 2.6.10 ?

2005-05-08 Thread Herbert Poetzl
On Sun, May 08, 2005 at 08:24:57AM +0200, Der Herr Hofrat wrote: > > Hi ! > > does anybody have a 2.6.X (preferably 2.6.10) running under qemu ? > trying to launch it (passed with -kernel) fails - it simply gives me works fine here with and without graphical output for using qemu-fast x86/x86

Re: [Qemu-devel] Linux 2.6.10 ?

2005-05-08 Thread Paul Brook
On Sunday 08 May 2005 07:24, Der Herr Hofrat wrote: > Hi ! > > does anybody have a 2.6.X (preferably 2.6.10) running under qemu ? > trying to launch it (passed with -kernel) fails - it simply gives me > > (qemu) You need to make sure you have the sdl development headers and libraries installed

Re: [Qemu-devel] Linux 2.6.10 ?

2005-05-08 Thread Christian MICHON
it's ok with me on a XP host and running linux 2.6.10 with either -kernel option (remember you need an -hda too) and inside an iso. It also works inside a -fda too. What is your exact cmd line ? Christian On 5/8/05, Der Herr Hofrat <[EMAIL PROTECTED]> wrote: > > Hi ! > > does anybody have a

[Qemu-devel] Linux 2.6.10 ?

2005-05-08 Thread Der Herr Hofrat
Hi ! does anybody have a 2.6.X (preferably 2.6.10) running under qemu ? trying to launch it (passed with -kernel) fails - it simply gives me (qemu) thats it - the 2.6.10 is compiled as generic 686 and works fine on the box thx ! Nicholas Mc Guire e-mail: [EM