qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] PCI: Memory mapped / ROM resources


From: Hetz Ben Hamo
Subject: Re: [Qemu-devel] PCI: Memory mapped / ROM resources
Date: Thu, 27 May 2004 00:45:22 +0300
User-agent: KMail/1.6.2

> I'm adding a host PCI proxy layer that works under Linux, ie: make host
> PCI devices appear within the emulator. Similar to 'pcidev' on bochs,
> but without a custom kernel module, and some minor performance
> enhancements. I ought to have a patch ready by tomorrow evening.
>
> It's not amazingly urgent really, don't kill yourself over it, I'll
> probably get around to adding it later myself.
>
> PS. I am using mmap() on /proc/pci/bus/XX/YY.Z nodes to map PCI
> registers, probably there is a nice way to allow the code generator to
> generate accesses directly on to these vmas? It's probably not that much
> of a win in any case, but interesting.

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?

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 ;)

Thanks,
Hetz




reply via email to

[Prev in Thread] Current Thread [Next in Thread]