[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [RFC v1 6/7] vfio: abort if an emulated iommu is used
From: |
Avi Kivity |
Subject: |
[Qemu-devel] [RFC v1 6/7] vfio: abort if an emulated iommu is used |
Date: |
Thu, 11 Oct 2012 15:27:02 +0200 |
vfio doesn't support guest iommus yet, indicate it to the user
by gently depositing a core on their disk.
Signed-off-by: Avi Kivity <address@hidden>
---
hw/vfio_pci.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/hw/vfio_pci.c b/hw/vfio_pci.c
index e9399a1..f935d00 100644
--- a/hw/vfio_pci.c
+++ b/hw/vfio_pci.c
@@ -817,6 +817,8 @@ static void vfio_listener_region_add(MemoryListener
*listener,
void *vaddr;
int ret;
+ assert(!memory_region_is_iommu(section.mr));
+
if (vfio_listener_skipped_section(section)) {
DPRINTF("vfio: SKIPPING region_add %"TARGET_PRIxPHYS" - %"PRIx64"\n",
section->offset_within_address_space,
--
1.7.12
[Qemu-devel] [RFC v1 5/7] i440fx: add an iommu, Avi Kivity, 2012/10/11
[Qemu-devel] [RFC v1 6/7] vfio: abort if an emulated iommu is used,
Avi Kivity <=
[Qemu-devel] [RFC v1 7/7] vhost: abort if an emulated iommu is used, Avi Kivity, 2012/10/11
- Re: [Qemu-devel] [RFC v1 7/7] vhost: abort if an emulated iommu is used, Michael S. Tsirkin, 2012/10/11
- Re: [Qemu-devel] [RFC v1 7/7] vhost: abort if an emulated iommu is used, Avi Kivity, 2012/10/11
- Re: [Qemu-devel] [RFC v1 7/7] vhost: abort if an emulated iommu is used, Michael S. Tsirkin, 2012/10/11
- Re: [Qemu-devel] [RFC v1 7/7] vhost: abort if an emulated iommu is used, Avi Kivity, 2012/10/11
- Re: [Qemu-devel] [RFC v1 7/7] vhost: abort if an emulated iommu is used, Michael S. Tsirkin, 2012/10/11
- Re: [Qemu-devel] [RFC v1 7/7] vhost: abort if an emulated iommu is used, Avi Kivity, 2012/10/11
- Re: [Qemu-devel] [RFC v1 7/7] vhost: abort if an emulated iommu is used, Michael S. Tsirkin, 2012/10/11
- Re: [Qemu-devel] [RFC v1 7/7] vhost: abort if an emulated iommu is used, Avi Kivity, 2012/10/11
- Re: [Qemu-devel] [RFC v1 7/7] vhost: abort if an emulated iommu is used, Alex Williamson, 2012/10/11