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

2006-07-09 Thread John R.
On 7/8/06, Oliver Gerlich <[EMAIL PROTECTED]> wrote: Is wxC still under active development? The CVS version seems to be quite old, and I also couldn't find any documentation. Well it wouldn't be the first unmaintained batch of code added to QEMU... Slirp is the example that comes to mind. In

Re: [Qemu-devel] Have any ideas about how to detect whether a program is running inside QEMU?

2006-07-05 Thread John R. Hogerhuis
On Thu, 2006-07-06 at 13:04 +0800, James Lau wrote: > hi everybody, > For some security issues, I want to detect whether my Windows program > is running inside qemu. Have any ideas? > Security issues? That's a bit vague. More information about what you're attempting to do would be helpful. Th

Re: [Qemu-devel] Connecting to serial console via Telnet - possible ?

2006-07-03 Thread John R. Hogerhuis
On Mon, 2006-07-03 at 03:03 -0400, Armistead, Jason wrote: > Hi > > With SIMH, the VAX / PDP / nostalgic mini/mainframe emulator > (http://simh.trailing-edge.com/) the console port on the emulated system is > directed to a TCP/IP port, so that you can simply Telnet into it. Once the > connection

Re: [Qemu-devel] I want to add the ARMv6 instructions, who can give some advices?

2006-06-07 Thread John R.
On 6/7/06, Paul Brook <[EMAIL PROTECTED]> wrote: > > Basing work on the gcc/binutils code doesn't help me either because I > > wrote most of that code in the first place :-) > > Since the idea is for someone else do it, that doesn't matter. > > I'm wondering why, if it were done, it would be a pr

Re: [Qemu-devel] I want to add the ARMv6 instructions, who can give some advices?

2006-06-07 Thread John R.
Or, someone who hasn't agreed to the contract could implement armv6 and 7 support. -- John. ___ Qemu-devel mailing list Qemu-devel@nongnu.org http://lists.nongnu.org/mailman/listinfo/qemu-devel

Re: [Qemu-devel] Set SO_REUSEADDR at the right time

2006-01-22 Thread John R. Hogerhuis
Hi, On Mon, 2006-01-16 at 16:03 -0800, Nickolai Zeldovich wrote: > It looks like qemu (at least version 0.7.2, which is what I'm running > here) doesn't set SO_REUSEADDR before calling bind(), which makes that > fairly useless. This obvious patch moves up setting SO_REUSEADDR to the > right place

Re: [Qemu-devel] User mode network and multiple nics

2005-12-13 Thread John R. Hogerhuis
User Mode networking is a little tricky to understand. Imagine the restrictions on your implementation if you had to implement full networking for another entity, but you had to do it as a regular user. For instance, don't expect ping (ICMP) to work since a regular user cannot create a raw socket.

Re: [Qemu-devel] user-net -redir working?

2005-11-20 Thread John R. Hogerhuis
On Sun, 2005-11-20 at 22:45 +, Richard Neill wrote: > qemu -cdrom /dev/cdrom -boot d -user-net -redir tcp:2300::2301 > > In Guest (knoppix): >netcat -l -p 2301 > > On Host: > >netcat localhost 2300 > >This connection is accepted (Netcat doesn't say connection refused), > but t

Re: [Qemu-devel] patch for qemu with newer gcc-3.4.x (support repz retq optimization for amd processors correctly)

2005-11-11 Thread John R. Hogerhuis
On Thu, 2005-11-10 at 01:44 +, Jamie Lokier wrote: > > > > The use of gcc to generate the back end in QEMU's early days was a > > clever way to get the project up and running quickly. But surely > > now it would be better to transition to a handwritten backend, so > > It should be trivial t

Re: [Qemu-devel] serial.c: Add support for [load|save]vm

2005-11-05 Thread John R. Hogerhuis
On Sat, 2005-11-05 at 15:59 +0100, Vincent Pelletier wrote: > Hi. > > I posted it on the forum, but as I prefer mailing lists, I post it here. > (btw : it tok about one hour for the ML "registration" confirmation > message to came in my mailbox, that's why I posted on the forum first) > > 2005-11

Re: [Qemu-devel] Qemu 0.7.2 on Windows - Serial port communication

2005-11-01 Thread John R. Hogerhuis
On Tue, 2005-11-01 at 10:29 -0500, Glenn Gagné wrote: > I installed Qemu 0.7.2 on Windows 2000 Pro and I run a Windows 95 in the > virtual environement of Qemu. I have an old > MS-DOS application to use who communicate on serial port... But it's not > working in the virtual environement. > > Qem

Re: [Qemu-devel] Re: VMWare player

2005-10-22 Thread John R. Hogerhuis
On Sat, 2005-10-22 at 23:58 +0200, Johannes Schindelin wrote: > > use qemu-img to create the disk image. > > That is just creation. I think Stefano meant that you cannot use the guest > OS to write to that image. I understood. I just don't believe it; I didn't get the impression Stefano was say

Re: [Qemu-devel] Qemu and Synergy?

2005-10-22 Thread John R. Hogerhuis
On Sat, 2005-10-22 at 18:09 +0200, Oliver Gerlich wrote: > So, any ideas here on how to easily use Qemu and Synergy? IMHO, Qemu > would greatly benefit from these features. But I don't see a way to > integrate the two programs. Do you? > Very cool. Have you talked to the developers of this softw

Re: [Qemu-devel] Re: VMWare player

2005-10-22 Thread John R. Hogerhuis
On Sat, 2005-10-22 at 12:48 +0200, Stefano Marinelli wrote: > On Fri, 21 Oct 2005 12:29:45 -0700, John R. Hogerhuis wrote: > > Barely on-topic, but since VmWare interop crops up from time to time: > > > > http://www.vmware.com/products/player/ > > I don't like

Re: [Qemu-devel] VMWare player

2005-10-21 Thread John R. Hogerhuis
On Fri, 2005-10-21 at 13:22 -0700, Mike Swanson wrote: > Yeah, it barely on topic. But the .vmx files are extremely simple text > files, and qemu-img creates vmdk disk images. That was my first thought when I saw this as well. > Yes, it's possible to > install operating systems solely withing VM

[Qemu-devel] VMWare player

2005-10-21 Thread John R. Hogerhuis
Barely on-topic, but since VmWare interop crops up from time to time: http://www.vmware.com/products/player/ I doubt this is targeted at QEMU, but rather at competing with Microsoft and VirtualPC. That or they are leaving the low-end market for server consolidation. This may in fact be as much V

Re: [Qemu-devel] kqemu processor feature question

2005-10-18 Thread John R. Hogerhuis
On Wed, 2005-10-19 at 00:34 +0400, Brad Campbell wrote: > After re-installing windows 2000 SP3 & SP4 about 25 times on different > machines, its looking wierd.. > SP4 has a problem when configuring COM+ with no kqemu, but works fine with > kqemu on all 3 machines > (PIII, Sempron 2400+ Athlon X

Re: [Qemu-devel] Re: [patch] robust user-mode DHCP

2005-10-17 Thread John R. Hogerhuis
On Sun, 2005-10-16 at 22:02 -0400, John Coiner wrote: > It was a tiny bug... > > Windows does not like QEMU's DHCP server. Windows always issues > DHCPDISCOVER and DHCPREQUEST packets in pairs: first the DHCPDISCOVER, > followed by a DHCPREQUEST. The DHCPREQUEST is a sanity check. Windows > wa

Re: [Qemu-devel] [patch] robust user-mode networking

2005-10-12 Thread John R. Hogerhuis
I don't know a lot about Slirp details other than what I generally know about proxy server and NAT router implementation (I know a lot about that). But perhaps I can raise some questions for you. On Wed, 2005-10-12 at 22:34 -0400, John Coiner wrote: > The alternative would have been to debug the

[Qemu-devel] Looking for Debian PPC image

2005-10-08 Thread John R. Hogerhuis
I'm attempting to do a port of some code to Mac (endianness issues to fix), but no hardware, so I'm attempting to use QEMU and Debian-PPC. I'm not having much luck installing Debian-PPC in qemu-system-ppc on my x86 box. Does someone have an installed image I can use? Thanks, -- John.

Re: [Qemu-devel] QEMU + DOSEMU

2005-10-07 Thread John R. Hogerhuis
On Fri, 2005-10-07 at 11:25 -0700, John R. Hogerhuis wrote: > On Fri, 2005-10-07 at 14:38 +, Juan Martín Carril wrote: > > Hi > > > > How i can use Qemu with Dosemu ?? > > You would install DosEmu into QEMU into Linux or Windows. > But don't do that, sinc

Re: [Qemu-devel] QEMU + DOSEMU

2005-10-07 Thread John R. Hogerhuis
On Fri, 2005-10-07 at 14:38 +, Juan Martín Carril wrote: > Hi > > How i can use Qemu with Dosemu ?? You would install DosEmu into QEMU into Linux or Windows. But don't do that, since it makes no sense: Host OS: Host operating system on which to run x86 machine emulator (pick ONE) -

Re: [Qemu-devel] about DHCP server in qemu

2005-09-30 Thread John R. Hogerhuis
On Fri, 2005-09-30 at 09:10 -0400, Jim C. Brown wrote: > On Fri, Sep 30, 2005 at 10:17:04AM +0200, octane indice wrote: > > > I don't see any way for qemu guests to be able to > > > ping each other > > > (for example) if they are both using user-net. > > > > > it would be good to get that working

Re: [Qemu-devel] getting past the ctrl-alt-del login in NT

2005-09-26 Thread John R. Hogerhuis
On Mon, 2005-09-26 at 16:08 -0400, Jim C. Brown wrote: > CTRL-ALT-4 is the parallel port console, parallel0. If you added more > consoles, > those would take up more numbers. Of course, theres no reason why we can't > map CTRL-ALT-D to CTRL-ALT-DELETE in the guest, CTRL-ALT-P to the Pause/Break >

Re: [Qemu-devel] getting past the ctrl-alt-del login in NT

2005-09-26 Thread John R. Hogerhuis
On Sun, 2005-09-25 at 15:00 +0200, Hetz Ben Hamo wrote: > in qemu monitor (press CTRL ALT 2 to reach to the monitor): type: > sendkey ctrl-alt-del and press Enter > then press CTRL ALT 1 - and viola, you can type your login and password. > > Hetz > Implies a nice feature would be to allow CTRL-

Re: [Qemu-devel] About qemu emulation speed (a question) and supported OS

2005-09-14 Thread John R. Hogerhuis
On Wed, 2005-09-14 at 09:37 -0400, Jim C. Brown wrote: > VMware handles kernel code. You are right that x86 code can't be 100% > virtualized > (even at the userland level) but VMware uses a lot of nasty disgusting tricks > in order to work around them. (For example, playing with shadow pagetables

Re: [Qemu-devel] qemu vs. win4lin pro

2005-09-01 Thread John R. Hogerhuis
On Thu, 2005-09-01 at 08:40 +0200, Stefan Kombrink wrote: > Hi there, > > I tried win4lin pro and found it very similar to running win2k using qemu. > Speed (of graphics) is not higher and it uses the same hardware. > Does it contain less bugs than qemu or what's the advantage that makes user >

Re: [Qemu-devel] qemu optimization

2005-08-30 Thread John R. Hogerhuis
On Tue, 2005-08-30 at 12:17 +0100, Paul Brook wrote: > You might want to look at my hand-coded backed for qemu. The intention is > that > this will eventually replace dyngen/gcc altogether. Currently everything > except the experimental m68k target uses a mixture of the old and the > micro-ops

[Qemu-devel] qemu optimization

2005-08-30 Thread John R. Hogerhuis
On Mon, 2005-08-29 at 17:59 -0400, Jim C. Brown wrote: > Um, KQEMU/qvm86 don't do dynamic translation. They are virtualizers. They run > the code given to them (more or less) unchanged. Sorry, I was speaking more generally (and imprecisely) about the qemu/kqemu as a combination. As you state belo

Re: [Qemu-devel] QEMU_TMPDIR temp folder for KQEMU for Windows.

2005-08-29 Thread John R. Hogerhuis
On Mon, 2005-08-29 at 11:05 -0700, Francois Rioux wrote: > I notice that QEMU is quite slower than VMWare. It certainly is. > Apparently due to the way IO occur. What are the strategies to > enhance that performance? Curious, why do you think that? There are probably a whole host of reasons

Re: [Qemu-devel] Read/Write to shares on Windows (XP Pro) host from Windows (2000 Adv) guest.

2005-08-24 Thread John R. Hogerhuis
On Wed, 2005-08-24 at 19:23 -0700, Francois Rioux wrote: > I don't understand why this doesn't work. Is it Windows preventing the > write is the exchange this a limitation in QEMU or in SLiRP? As I > understand it SLiRP translates some tcp headers and acts as a firewall > preventing incoming call

Re: [Qemu-devel] Kickstart with CentOS4

2005-08-19 Thread John R. Hogerhuis
On Fri, 2005-08-19 at 22:27 -0500, Matt Lawrence wrote: > I've given up on trying to build a disk image manually, so now I'm > trying to automate the kickstart installation for CentOS4. By using an > iso of the first CD and a floppy file with a ks.cfg and doing a "linux > ks=floppy" at the boot scr

Re: [Qemu-devel] Redirect COM1 to ttyUSB0

2005-08-05 Thread John R. Hogerhuis
On Thu, 2005-08-04 at 16:38 -0700, John R. Hogerhuis wrote: > I could use -serial stdio > but how do I get it connected to the usb port? I'm guessing netcat/socat > but I've never used that utility. > > Anyone have a recipe that works? I ended up figuring out a way

[Qemu-devel] Redirect COM1 to ttyUSB0

2005-08-04 Thread John R. Hogerhuis
QEMU on Linux hosting FreeDOS running an old DOS serial comm application. I want to redirect the guest's COM1 to ttyUSB0 which will have a real device connected to it. How is this done with QEMU? I could use -serial stdio but how do I get it connected to the usb port? I'm guessing netcat/socat b

Re: [Qemu-devel] Anyone familiar with the slirp code?

2005-07-22 Thread John R. Hogerhuis
I don't think the original author anticipated or cared about slirp being ported to a 64-bit processor. I won't speak for the quality of the code in general, but on a 32-bit machine the pointer size is 32-bit. It's perfectly safe on that platform to use any 32-bit spot as a hidey hole for your cooki

Re: [Qemu-devel] scrollable window

2005-07-10 Thread John R. Hogerhuis
VmWare seems to let you do it any way you want. Full screen, scroll it manually or auto scroll, etc. So clearly it can be done. Maybe the code in something like VNC client would give some ideas. Scaling an image *down* to fit in window of a given size seems totally pointless other than to give a t

Re: [Qemu-devel] netfilter

2005-07-02 Thread John R. Hogerhuis
On Sat, 2005-07-02 at 23:26 +0200, Henrik Nordstrom wrote: > You can't due to licensing issues. netfilter is licensed under the GPL. Well of course anyone one could do it. Based on keeping "system emulation under the BSD license" it can't... basically a non-reason on actual technical merit. So i

[Qemu-devel] netfilter

2005-07-02 Thread John R. Hogerhuis
I was fiddling with getting FTP to work across user-net, and it seems to me that there are some NAT issues with FTP, and DNS. These specific issues can be fixed in slirp tcp_subr.c and elsewhere for udp based DNS, but I'm wondering if this is the right way to go about it. Perhaps the netfilter cod

Re: [Qemu-devel] Build environment image

2005-06-24 Thread John R. Hogerhuis
On Fri, 2005-06-24 at 22:30 +0100, Tim Walker wrote: > Thanks for the replies. > > I thought the Live CD was a bad idea until I realised it can still be > booted under QEMU for non x86 users (Live CDs can be created for other > platforms - have to pick one otherwise it'd be a nightmare). The >

Re: [Qemu-devel] Build environment image

2005-06-24 Thread John R. Hogerhuis
On Fri, 2005-06-24 at 14:13 -0500, [EMAIL PROTECTED] wrote: > "John R. Hogerhuis" > > > BTW, one problem with WIndows is that QEMU developers do not have access > > to Windows licenses. Might be nice for non-programmers who want to > > contribute to donate

Re: [Qemu-devel] Build environment image

2005-06-24 Thread John R. Hogerhuis
On Fri, 2005-06-24 at 20:24 +0200, Christian MICHON wrote: > > BTW, one problem with WIndows is that QEMU developers do not have access > > to Windows licenses. Might be nice for non-programmers who want to > > contribute to donate old licensed copies of Windows for testing work. > > > > untrue.

Re: [Qemu-devel] Build environment image

2005-06-24 Thread John R. Hogerhuis
On Fri, 2005-06-24 at 18:19 +0100, Tim Walker wrote: > Is this a bad idea for some reason, or is it just unnecessary? Some > feedback would be appreciated. > It's a cool idea, I think. I went through the mingw thing a while back and it's a PITA. It would be nice to have known working build plat

Re: [Qemu-devel] Re: xen is not working with qemu0.7/kqemu

2005-06-15 Thread John R. Hogerhuis
On Mon, 2005-06-13 at 10:28 -0400, Ishwar Rattan wrote: > Why would anyone want run an emulator in another emulator.. > > -ishwar Well at least it's hard to argue with the fact that it's an excellent 'pathological case' to test QEMU. -- John. ___ Qe

Re: [Qemu-devel] Looking for an easy way to exchange data bidirectional between host and guest (including some suggestion)

2005-06-14 Thread John R. Hogerhuis
On Mon, 2005-06-13 at 14:52 +0200, Christian MICHON wrote: > > Did you try passive mode? > > nice suggestion. > passive mode off: "dir" lasts forever... > passive mode on: "dir" give "connection refused". > > any idea? > > Christian > Suggest some packet sniffs to see who is getting stuck. --

Re: [Qemu-devel] Looking for an easy way to exchange data bidirectional between host and guest (including some suggestion)

2005-06-07 Thread John R. Hogerhuis
On Wed, 2005-06-08 at 00:15 +0200, Henrik Nordstrom wrote: > On Mon, 6 Jun 2005, John R. Hogerhuis wrote: > > > I can think of some reasons for a non-native file service that is > > instead built into QEMU: > > vvfat? > > > e) Scripts to be used across farms o

Re: [Qemu-devel] Looking for an easy way to exchange data bidirectional between host and guest (including some suggestion)

2005-06-06 Thread John R. Hogerhuis
I can think of some reasons for a non-native file service that is instead built into QEMU: a) One interface to all clients outside of QEMU. Lowers the learning curve for dealing with different enviroments; at least for some raw file access they are all accessible in the same way. You can lower con

Re: [Qemu-devel] qemu on dsp anyone?

2005-05-11 Thread John R. Hogerhuis
On Wed, 2005-05-11 at 22:03 -0400, Olivier Bourgois wrote: > Has anybody tinkered with porting qemu to something like a TI TMS320C6X > DSP host. The idea would be to be able to easily port LINUX and other > open source software to such a DSP. I would think porting uCLinux would be a better ide

Re: [Qemu-devel] Profiling Qemu for speed?

2005-04-17 Thread John R. Hogerhuis
On Sun, 2005-04-17 at 18:36 -0700, Nathaniel G H wrote: > I was up until 3:00am studying Qemu, and I came to the conclusion that > it doesn't make sense to try speeding up the output code, at least not > yet. A peephole optimizer or hand-coded sequences made to handle common > combinations of inst

Re: [Qemu-devel] Profiling Qemu for speed?

2005-04-17 Thread John R. Hogerhuis
On Sat, 2005-04-16 at 22:58 -0700, Joe Luser wrote: > Hi folks, > > I've been using Qemu on the Mac for a few days now; Several OSes > running (including Windoze), and I'm impressed. The source looks pretty > clean, too. > > Has anyone done any profiling work to see where Qemu spends most of its