qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Johannes Martin <jmartin@notamusica.com>
To: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] qemu-fast kernel patch question
Date: Sun, 25 Jul 2004 12:24:16 +0200 (CEST)	[thread overview]
Message-ID: <Pine.LNX.4.56.0407251213260.1397@halef.NotaMusica.com> (raw)
In-Reply-To: <200407251401.09826.a_mulyadi@softhome.net>

Hi,

On Sun, 25 Jul 2004, Mulyadi Santosa wrote:
> Do you mean:
> 1. applying qemu-fast patch to Win98 guest? --> Not a chance :-)
> 2. running qemu-fast on top of Win98 host? Well, I haven't tried it
> personally. But, if you can run qemu-fast on Win98 host, I doubt if qemu-fast
> can do direct MMU access. The reason is: to do direct MMU access, the
> developers need to know to request that into host kernel. On Linux or other
> open source kernel, we can find it out, but on closed kernel, this would be
> difficult.....
>
> The conclusion: just run the usual "qemu" on top of Win98 host

Here's a quote from qemu-tech.html:
  ---
  2.10 MMU emulation

  For system emulation, QEMU uses the mmap() system call to emulate the
  target CPU MMU. It works as long the emulated OS does not use an area
  reserved by the host OS (such as the area above 0xc0000000 on x86
  Linux).
  ---

As far as I understand this, the qemu kernel patch makes the guest kernel
use a different reserved area than the linux host. So it shouldn't matter
which kernel I apply the patch to, right? If I patch the (linux) host
kernel, I should be able to boot any unpatched (linux) guest kernel, if I
don't patch the (linux) host kernel, I have to patch my (linux) guest
kernels. Or do we need a patch-aware qemy-fast to run on a patched host?

Assuming that OS XYZ does not use the area around 0xc0000000, it should
work inside qemu-fast, right? And if it does use that area, it should work
inside qemu-fast on a patched host?

Maybe one of the wizards could clarify this...

Thanks
	Johannes

  reply	other threads:[~2004-07-25 10:27 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-07-24 15:32 [Qemu-devel] qemu-fast kernel patch question Lindsay Mathieson
2004-07-24 22:55 ` Lindsay Mathieson
2004-07-25  0:37   ` Mulyadi Santosa
2004-07-25  2:13     ` Lindsay Mathieson
2004-07-25  7:01       ` Mulyadi Santosa
2004-07-25 10:24         ` Johannes Martin [this message]
2004-07-25 20:03           ` Jim C. Brown
2004-07-26 13:51             ` Mulyadi Santosa

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=Pine.LNX.4.56.0407251213260.1397@halef.NotaMusica.com \
    --to=jmartin@notamusica.com \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).