Re: [Qemu-devel] [PATCH] MIPS instruction set configuration

2006-07-08 Thread Dirk Behme
Fabrice Bellard wrote: Dirk Behme wrote: Fabrice Bellard wrote: Each machine can add specific support for that (for example a -cpu option). It is likely to come at least for the PC machines. I add suggest one more parameter to cpu_mips_set_model() to specify optional features. A function

Re: [Qemu-devel] [PATCH] MIPS instruction set configuration

2006-07-08 Thread Dirk Behme
Thiemo Seufer wrote: ... I recommend to go for a sufficiently flexible interface first, and then introduce it gradually in all appropriate places. A macro like: MIPS_OPC(ISA, ASE, CPU) which compares the arguments with the currently selected CPU emulation and throws an RI exception if the

Re: [Qemu-devel] QEMU GUI

2006-07-08 Thread M. Warner Losh
In message: [EMAIL PROTECTED] Johannes Schindelin [EMAIL PROTECTED] writes: : I personally don't like tcl as a language, and prefer to code in C++ for : efficiency. : : Hmmm. C++ and efficiency _does_ constitute a contradiction. Just think : operator+(). Honestly, the most

Re: [Qemu-devel] qemu vl.h Makefile.target hw/pci.c hw/pcnet.c

2006-07-08 Thread Paul Jakma
On Tue, 4 Jul 2006, Fabrice Bellard wrote: Note: I commited the pcnet patch as some people might be interested by it. I was unable to use it with a Knoppix distribution of 2003 so fixes are needed. Hmm, define 'unable to use it'? It seems (on very quick testing) to work in Solaris.

Re: [Qemu-devel] [PATCH] add 'monitor' and 'mwait' instruction (update)

2006-07-08 Thread R. Armiento
Hi, Joachim Henke wrote: Please use the updated patch attached below. Great work! The patch fixes the kernel panic for me. Thank you. However, as you probably know, despite not declaring MONITOR in qemu, kqemu sees MONITOR on the host processor and Linux CPU usage will still be 100%, even

Re: [Qemu-devel] Why do qemumenu.bat show such error mess age?

2006-07-08 Thread Jan Marten Simons
赵刚 wrote: When I had installed qemu(Host OS: win98),I execute qemumenu.bat. Unfortunately,qemumenu.bat shows lots of error messages,as follows: Bad command or file name Bad command or file name Invalid directory Syntax error Syntax error Bad command or file name Syntax error

Re: [Qemu-devel] qemu vl.h Makefile.target hw/pci.c hw/pcnet.c

2006-07-08 Thread Paul Jakma
On Sat, 8 Jul 2006, Paul Jakma wrote: Hmm, define 'unable to use it'? It seems (on very quick testing) to work in Solaris. Spoke too soon, ICMP echos and TCP connects work, but it seems to have problems transferring anything substantial. regards, -- Paul Jakma [EMAIL PROTECTED]

wxWidgets and C: was Re: [Qemu-devel] QEMU GUI

2006-07-08 Thread Jim C. Brown
For the record, we can use wxWidgets in qemu even though we can not use C++ in qemu (something that I would be strongly against). http://wxc.sourceforge.net/ Requiring this as a dependency would make it easier to deal with issues such as C++ ABI compatibility by avoiding the direct use of C++.

Re: [Qemu-devel] qemu vl.h Makefile.target hw/pci.c hw/pcnet.c

2006-07-08 Thread Igor Kovalenko
On 7/8/06, Paul Jakma [EMAIL PROTECTED] wrote: On Sat, 8 Jul 2006, Paul Jakma wrote: Hmm, define 'unable to use it'? It seems (on very quick testing) to work in Solaris.Spoke too soon, ICMP echos and TCP connects work, but it seems tohave problems transferring anything substantial. Try this patch

Re: wxWidgets and C: was Re: [Qemu-devel] QEMU GUI

2006-07-08 Thread Joe Lee
Jim C. Brown wrote: For the record, we can use wxWidgets in qemu even though we can not use C++ in qemu (something that I would be strongly against). http://wxc.sourceforge.net/ Requiring this as a dependency would make it easier to deal with issues such as C++ ABI compatibility by avoiding

Re: [Qemu-devel] add 'monitor' and 'mwait' instruction (update)

2006-07-08 Thread Joachim Henke
R. Armiento wrote: However, as you probably know, despite not declaring MONITOR in qemu, kqemu sees MONITOR on the host processor and Linux CPU usage will still be 100%, even with your updated patch. So even with your patch applied one should use the 'idle=halt' kernel parameter when

[Qemu-devel] qemu-0.8.1 compile errors on x86_64 suse linux 10.1

2006-07-08 Thread Doctor Bill
At first I thought the problem was that I was using gcc-4, so I installed gcc-3.4.6, but I still get the same errors:gcc-3.4 -Wall -O2 -g -fno-strict-aliasing -I. -I.. -I/tmp/qemu-0.8.1/target-i386 -I/tmp/qemu-0.8.1 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -I/tmp/qemu-0.8.1/fpu

Re: wxWidgets and C: was Re: [Qemu-devel] QEMU GUI

2006-07-08 Thread Jim C. Brown
On Sat, Jul 08, 2006 at 11:02:31AM -0400, Joe Lee wrote: Jim C. Brown wrote: For the record, we can use wxWidgets in qemu even though we can not use C++ in qemu (something that I would be strongly against). http://wxc.sourceforge.net/ Requiring this as a dependency would make it easier to

Re: [Qemu-devel] qemu-0.8.1 compile errors on x86_64 suse linux 10.1

2006-07-08 Thread Jim C. Brown
The issue is with your linux kernel headers. On Sat, Jul 08, 2006 at 11:07:57AM -0400, Doctor Bill wrote: At first I thought the problem was that I was using gcc-4, so I installed gcc-3.4.6, but I still get the same errors: gcc-3.4 -Wall -O2 -g -fno-strict-aliasing -I. -I..

Re: wxWidgets and C: was Re: [Qemu-devel] QEMU GUI

2006-07-08 Thread Kevin F. Quinn
On Sat, 8 Jul 2006 11:13:52 -0400 Jim C. Brown [EMAIL PROTECTED] wrote: Good question. I'm not aware of a way to call Python code from inside of C. See http://docs.python.org/ext/ext.html However doing this just means yet another language dependency. -- Kevin F. Quinn signature.asc

Re: [Qemu-devel] add 'monitor' and 'mwait' instruction (update)

2006-07-08 Thread R. Armiento
Hi, Again, thank you for helping out with updated patches, it is much appreciated. Joachim Henke wrote: R. Armiento wrote: So even with your patch applied one should use the 'idle=halt' kernel parameter when booting Linux with -kernel-kqemu on newer processors. [...] To lower the cpu

Re: [Qemu-devel] qemu vl.h Makefile.target hw/pci.c hw/pcnet.c

2006-07-08 Thread Paul Jakma
On Sat, 8 Jul 2006, Igor Kovalenko wrote: Try this patch - transfers should start to work Hmm, no obvious improvement I'm afraid. regards, -- Paul Jakma [EMAIL PROTECTED] [EMAIL PROTECTED] Key ID: 64A2FF6A Fortune: I CAN'T SEE DEAD PEOPLE I CAN'T SEE DEAD PEOPLE I CAN'T SEE

Re: wxWidgets and C: was Re: [Qemu-devel] QEMU GUI

2006-07-08 Thread Oliver Gerlich
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jim C. Brown schrieb: For the record, we can use wxWidgets in qemu even though we can not use C++ in qemu (something that I would be strongly against). http://wxc.sourceforge.net/ Requiring this as a dependency would make it easier to deal

Re: [Qemu-devel] balloon driver

2006-07-08 Thread Eric L
On 7/5/06, Paul Brook [EMAIL PROTECTED] wrote: On Wednesday 05 July 2006 03:58, Eric L wrote: I've been playing around with QEMU the past few days and have been quite impressed. One thing I wondered about: it seems that most of the other virtualization schemes have some sort of balloon

Re: [Qemu-devel] balloon driver

2006-07-08 Thread Mark Williamson
It seems the point of the balloon driver is to avoid forcing the host to swap. For example, suppose I start a new guest OS. I check the memory usage on the host and everything looks pretty good, maybe 30MB used. Then suppose I run a recursive grep command in a Linux source tree on the

Re: [Qemu-devel] balloon driver

2006-07-08 Thread Jamie Lokier
Mark Williamson wrote: Even if the guest has to swap, the reasoning is that the guest is in a much better position to figure out what to swap than if the host were forced to. Worse, the guest might decide to swap out a page that's already swapped in by the host, forcing it to be read in