Displaying 3 results from an estimated 3 matches for "caching_mode".
2020 Feb 11
2
Cannot turn iommu on inside guest
So I want to turn iommu support on in a guest ( <type arch='x86_64'
machine='pc-q35-4.1'>hvm</type>). Per [1] I tried to add to devices
either
<devices>
<iommu model='intel'>
<driver intremap='on'/>
</iommu>
</devices>
or just a simpler
<devices>
<iommu model='intel /'>
</devices>
2020 Feb 11
0
Re: Cannot turn iommu on inside guest
...ants me to do something like
>
> qemu-system-x86_64 [...] -device intel-iommu,intremap=on,caching-mode=on[2]
>
> using virsh. But
>
> <devices>
> <iommu model='intel'>
> <driver intremap='on' caching-mode='on '/>
You need caching_mode="on" - notice underscore, not hypehn
> </iommu>
> </devices>
>
> is not only not mentioned in [1] but also fails
The correctly spelt caching_mode is mentioned there.
>
> [root@testbox tests]# virsh edit testkvm
> error: XML document failed to valid...
2018 Jul 03
1
multiple devices in the same iommu group in L1 guest
...network='default'/>
<model type='e1000'/>
<address type='pci' domain='0x0000' bus='0x07' slot='0x00'
function='0x0'/>
</interface>
<iommu model='intel'>
<driver intremap='on' caching_mode='on' iotlb='on'/>
</iommu>
</devices>
...
2. guest has 'intel_iommu=on' enabled in kernel cmdline, then reboot guest
3. log in guest to check:
# dmesg | grep -i DMAR
[ 0.000000] ACPI: DMAR 000000007d83f000 00050 (v01 BOCHS BXPCDMAR
00000001 BXPC 0000...