qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Gianni Tedesco <gianni@scaramanga.co.uk>
To: hetz@witch.dyndns.org
Cc: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] PCI: Memory mapped / ROM resources
Date: Wed, 26 May 2004 22:52:18 +0100	[thread overview]
Message-ID: <1085608337.4321.14.camel@sherbert> (raw)
In-Reply-To: <200405270045.22891.hetz@witch.dyndns.org>

On Wed, 2004-05-26 at 22:45, Hetz Ben Hamo wrote:
> Let me see if I get this straight:
> 
> With your patches, will I be able to use a real PCI card within the emulator? 
> for example: Would I be able to use a PCI graphics card which is not being 
> used by XFree under Linux?

Yes basically. However there are some technical limitations which mean
that for most PCI devices this will be unusable as it is impossible
(well, very difficult) to emulate PCI DMA.

Also, I don't think VGA cards will work correctly under this scheme
without hacking qemu's BIOS code.

> Also, if you plan to use real PCI cards under guest OS, you might need to 
> create some "locking" mechanism so that the host OS cannot use them, nor 
> another instance of QEMU which will run in parallel (and I see already few 
> people running few QEMU instances at once ;)

Yeah, I think we can tell if the kernel is using the device already buy
checking if a driver is associated with it. Excluding multiple copies of
qemu can probably be done with an advisory file lock. I'll look in to
this. I was basically ignoring these issues up till now as it is quite a
'hacker tool' for the moment :)

-- 
// Gianni Tedesco (gianni at scaramanga dot co dot uk)
lynx --source www.scaramanga.co.uk/scaramanga.asc | gpg --import
8646BE7D: 6D9F 2287 870E A2C9 8F60 3A3C 91B5 7669 8646 BE7D

  reply	other threads:[~2004-05-26 21:56 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-05-26 14:33 [Qemu-devel] PCI: Memory mapped / ROM resources Gianni Tedesco
2004-05-26 15:34 ` Gianni Tedesco
2004-05-26 20:21 ` Fabrice Bellard
2004-05-26 20:32   ` Gianni Tedesco
2004-05-26 21:45     ` Hetz Ben Hamo
2004-05-26 21:52       ` Gianni Tedesco [this message]
2004-05-26 22:50     ` Fabrice Bellard
2004-05-27  1:10       ` Gianni Tedesco

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=1085608337.4321.14.camel@sherbert \
    --to=gianni@scaramanga.co.uk \
    --cc=hetz@witch.dyndns.org \
    --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).