diff options
author | 2008-09-11 10:24:48 +0200 | |
---|---|---|
committer | 2008-09-19 12:59:21 +0200 | |
commit | bd60b735c658e6e8c656e89771d281bcfcf51279 (patch) | |
tree | 3587d684e56ed7e057d30b022fa1985990a08939 /lib/debugobjects.c | |
parent | AMD IOMMU: add dma_supported callback (diff) | |
download | wireguard-linux-bd60b735c658e6e8c656e89771d281bcfcf51279.tar.xz wireguard-linux-bd60b735c658e6e8c656e89771d281bcfcf51279.zip |
AMD IOMMU: don't assign preallocated protection domains to devices
In isolation mode the protection domains for the devices are
preallocated and preassigned. This is bad if a device should be passed
to a virtualization guest because the IOMMU code does not know if it is
in use by a driver. This patch changes the code to assign the device to
the preallocated domain only if there are dma mapping requests for it.
Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'lib/debugobjects.c')
0 files changed, 0 insertions, 0 deletions