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

2006-07-06 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. There

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

2006-07-04 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 is

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-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 then no

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 to take

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. Qemu is

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 it. It's just a player and the images can't

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

[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

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

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 XP

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 wants

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

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, since it makes no sense: err, sorry I meant

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-ALT

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 pay

[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

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.

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 calls

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 screen,

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 to do this... using socat

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

[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

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 if

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

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 old licensed copies of Windows for testing work

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] 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. ___

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. -- John.

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