Re: failed to assign iommu device!
Hi Krishna Kishore
Could you please share your qemu version?
QEMU emulator version 4.2.0 is verified in this guide: https://projectacrn.github.io/latest/tutorials/acrn_on_qemu.html
You should use qemu version >= 2.11.2 with below commit:
Author: Prasad Singamsetty <prasad.singamsetty@...>
Date: Tue Nov 14 18:13:50 2017 -0500
intel-iommu: Extend address width to 48 bits
The current implementation of Intel IOMMU code only supports 39 bits
iova address width. This patch provides a new parameter (x-aw-bits)
for intel-iommu to extend its address width to 48 bits but keeping the
default the same (39 bits). The reason for not changing the default
is to avoid potential compatibility problems with live migration of
intel-iommu enabled QEMU guest. The only valid values for 'x-aw-bits'
parameter are 39 and 48.
After enabling larger address width (48), we should be able to map
larger iova addresses in the guest. For example, a QEMU guest that
is configured with large memory ( >=1TB ). To check whether 48 bits
aw is enabled, we can grep in the guest dmesg output with line:
"DMAR: Host address width 48".
Signed-off-by: Prasad Singamsetty <prasad.singamsety@...>
Reviewed-by: Peter Xu <peterx@...>
Reviewed-by: Michael S. Tsirkin <mst@...>
Signed-off-by: Michael S. Tsirkin <mst@...>
(cherry picked from commit 37f51384ae05bd50f83308339dbffa3e78404874)
Signed-off-by: Michael Roth <mdroth@...>
From: acrn-users@... <acrn-users@...>
On Behalf Of Liu, Fuzhong
Hi Krishna Kishore
Please try v2.0 for ACRN on qemu.
If still fail, please share cat /proc/cmdline of your host OS.
Which version of ACRN are you using?
The error looks a bit different but be aware that the latest version of ACRN has a regression on QEMU: https://github.com/projectacrn/acrn-hypervisor/issues/5938
[Edited Message Follows]
Can someone let me know how to overcome this problem? I am trying this