From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DdRqn-00014L-5R for qemu-devel@nongnu.org; Wed, 01 Jun 2005 07:57:33 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DdRqj-00011K-G6 for qemu-devel@nongnu.org; Wed, 01 Jun 2005 07:57:30 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DdRqh-0000qR-EI for qemu-devel@nongnu.org; Wed, 01 Jun 2005 07:57:27 -0400 Received: from [64.233.170.205] (helo=rproxy.gmail.com) by monty-python.gnu.org with esmtp (Exim 4.34) id 1DdRfU-0002jl-Fm for qemu-devel@nongnu.org; Wed, 01 Jun 2005 07:45:52 -0400 Received: by rproxy.gmail.com with SMTP id 34so29080rns for ; Wed, 01 Jun 2005 04:43:49 -0700 (PDT) Message-ID: Date: Wed, 1 Jun 2005 13:43:49 +0200 From: G Portokalidis Subject: Re: [Qemu-devel] QEMU extension In-Reply-To: <200505261728.07811.paul@codesourcery.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <4295F57D.6060900@gmail.com> <200505261728.07811.paul@codesourcery.com> Reply-To: G Portokalidis , qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Paul Brook Cc: qemu-devel@nongnu.org I think I'm gonna go ahead with Qemu. Bochs seems to be to slow for my purp= ose. I was wondering if you know which windows XP versions have been know to wor= k? Also do you have any performance metrics on popular applications runing under qemu(ex. apache)? I guess it's in the usenix paper, but i can't download it. George On 5/26/05, Paul Brook wrote: > On Thursday 26 May 2005 17:12, G Portokalidis wrote: > > Hello, > > > > I'm writing concerning a possible use for qemu in a project related to > > network security. > > > > I'm looking for an emulator where I could load an entire (recent) OS, > > like Linux 2.6 or Windows XP and run multiple, potentially CPU > > intensive, services (IIS, Apache, MySQL, etc). > > > > For the needs of the project I need to be able to know every instructio= n > > executed by the guest OS, and run custom code whenever an instruction o= f > > particular interest appears (doesn't really matter whether it's C or > > x86, but preferably the first). > > > > So my first question is whether we could run Linux 2.6 and most > > importantly Windows XP on qemu without stability issues. >=20 > Linux works fine. For windows XP it seems to depend which windows version > you're using. Some versions work ok, others don't. >=20 > > Second, does > > the current design of qemu allows me to implement the functionality > > described in the above paragraph. >=20 > You may be better using bochs. That has instrumentation hooks that should > allow you do do what you want. boch is significantly slower that qemu, bu= t if > you're instrumenting a significant number of instructions it's going to b= e > dog slow anyway. >=20 > Qemu already has infrastructure for a gdb ICE connection. You could proba= bly > hack that to do what you want. >=20 > > Finally, what's the performance of qemu compared with a PC (how many > > times slower)? >=20 > It's generally 10-15x slower than the host. >=20 > Paul >