diff options
author | 2009-12-23 14:40:20 -0800 | |
---|---|---|
committer | 2010-01-18 16:48:25 -0200 | |
commit | c01cfac552861ca4d82e359791a2d79da7f80cb5 (patch) | |
tree | 7afb853b5beb523e6ef02319118ab1f4b1923b5f /qemu-kvm.c | |
parent | Merge remote branch 'upstream/stable-0.12' into stable-0.12 (diff) | |
download | qemu-kvm-c01cfac552861ca4d82e359791a2d79da7f80cb5.tar.gz qemu-kvm-c01cfac552861ca4d82e359791a2d79da7f80cb5.tar.bz2 qemu-kvm-c01cfac552861ca4d82e359791a2d79da7f80cb5.zip |
device assignment: default requires IOMMU
The default mode for device assignment is to rely on an IOMMU for
proper translations and a functioning device in the guest. The current
logic makes this requirement advisory, and simply disables the request
for IOMMU if one is not found on the host. This makes for a confused
user when the device assignment appears to work, but the device in the
guest is not functioning (I've seen about a half-dozen reports with
this failure mode).
Change the logic such that the default requires the IOMMU. Period.
If the host does not have an IOMMU, device assignment will fail.
This is a user visible change, however I think the current situation is
simply broken.
And, of course, disabling the IOMMU requirement using the old:
-pcidevice host=[addr],dma=none
or the newer:
-device pci-assign,host=[addr],iommu=0
will do what it always did (not require an IOMMU, and fail to work
properly).
Cc: Alexander Graf <agraf@suse.de>
Cc: Dmitri Seletski <drjoms@gmail.com>
Cc: Sheng Yang <sheng@linux.intel.com>
Signed-off-by: Chris Wright <chrisw@redhat.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Diffstat (limited to 'qemu-kvm.c')
0 files changed, 0 insertions, 0 deletions