[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 3/7] AMD IOMMU emulation
From: |
Eduard - Gabriel Munteanu |
Subject: |
Re: [Qemu-devel] [PATCH 3/7] AMD IOMMU emulation |
Date: |
Mon, 30 Aug 2010 08:54:33 +0300 |
User-agent: |
Mutt/1.5.20 (2009-06-14) |
On Mon, Aug 30, 2010 at 12:07:30PM +0900, Isaku Yamahata wrote:
> On Sat, Aug 28, 2010 at 05:54:54PM +0300, Eduard - Gabriel Munteanu wrote:
> > diff --git a/hw/pc.c b/hw/pc.c
> > index a96187f..e2456b0 100644
> > --- a/hw/pc.c
> > +++ b/hw/pc.c
> > @@ -1068,6 +1068,8 @@ void pc_pci_device_init(PCIBus *pci_bus)
> > int max_bus;
> > int bus;
> >
> > + pci_create_simple(pci_bus, -1, "amd-iommu");
> > +
> > max_bus = drive_get_max_bus(IF_SCSI);
> > for (bus = 0; bus <= max_bus; bus++) {
> > pci_create_simple(pci_bus, -1, "lsi53c895a");
>
> This always instantiate iommu.
> How to coexist with other iommu(Intel VT-d) emulation?
> --
> yamahata
I suppose it could be turned into a compile-time/runtime configurable
option when VT-d emulation arrives. Unless you mean having both IOMMUs
run at the same time, which is impossible unless some meaningful
topology is specified (presumably hardcoded as well).
Considering this is only a machine model I'm modifying, it's just like
other emulated pieces of PC hardware that are (at the moment) hardcoded.
Eduard
- [Qemu-devel] [PATCH 2/7] pci: memory access API and IOMMU support, (continued)
- [Qemu-devel] [PATCH 2/7] pci: memory access API and IOMMU support, Eduard - Gabriel Munteanu, 2010/08/28
- [Qemu-devel] [PATCH 4/7] ide: use the PCI memory access interface, Eduard - Gabriel Munteanu, 2010/08/28
- [Qemu-devel] [PATCH 6/7] eepro100: use the PCI memory access interface, Eduard - Gabriel Munteanu, 2010/08/28
- [Qemu-devel] [PATCH 7/7] ac97: use the PCI memory access interface, Eduard - Gabriel Munteanu, 2010/08/28
- [Qemu-devel] [PATCH 5/7] rtl8139: use the PCI memory access interface, Eduard - Gabriel Munteanu, 2010/08/28
- [Qemu-devel] [PATCH 3/7] AMD IOMMU emulation, Eduard - Gabriel Munteanu, 2010/08/28
- Re: [Qemu-devel] [PATCH 3/7] AMD IOMMU emulation, Isaku Yamahata, 2010/08/29
- Re: [Qemu-devel] [PATCH 3/7] AMD IOMMU emulation,
Eduard - Gabriel Munteanu <=
- [Qemu-devel] [PATCH 1/7] pci: expand tabs to spaces in pci_regs.h, Eduard - Gabriel Munteanu, 2010/08/28
- [Qemu-devel] Re: [PATCH 0/7] AMD IOMMU emulation patchset v4, Blue Swirl, 2010/08/28