On 06/02/2017 12:07 PM, Andrea Bolognani wrote:
Use 0001:01:00.0 instead of 0000:04:02.0 as the source address
for the host device. This doesn't change anything at the moment,
but it will make a difference later on.
Now I'm curious - a non-0 domain is *extremely* rare on x86 machines. Is
it more normal on PPC?
Reviewed-by: Laine Stump <laine(a)laine.org>
---
tests/qemumemlockdata/qemumemlock-pc-hardlimit+hostdev.xml | 2 +-
tests/qemumemlockdata/qemumemlock-pc-hardlimit+locked+hostdev.xml | 2 +-
tests/qemumemlockdata/qemumemlock-pc-hostdev.xml | 2 +-
tests/qemumemlockdata/qemumemlock-pc-locked+hostdev.xml | 2 +-
tests/qemumemlockdata/qemumemlock-pseries-hardlimit+hostdev.xml | 2 +-
tests/qemumemlockdata/qemumemlock-pseries-hardlimit+locked+hostdev.xml | 2 +-
tests/qemumemlockdata/qemumemlock-pseries-hostdev.xml | 2 +-
tests/qemumemlockdata/qemumemlock-pseries-locked+hostdev.xml | 2 +-
8 files changed, 8 insertions(+), 8 deletions(-)
diff --git a/tests/qemumemlockdata/qemumemlock-pc-hardlimit+hostdev.xml
b/tests/qemumemlockdata/qemumemlock-pc-hardlimit+hostdev.xml
index 5443145..e03f5a5 100644
--- a/tests/qemumemlockdata/qemumemlock-pc-hardlimit+hostdev.xml
+++ b/tests/qemumemlockdata/qemumemlock-pc-hardlimit+hostdev.xml
@@ -13,7 +13,7 @@
<hostdev mode='subsystem' type='pci' managed='yes'>
<driver name='vfio'/>
<source>
- <address domain='0x0000' bus='0x04' slot='0x02'
function='0x0'/>
+ <address domain='0x0001' bus='0x01' slot='0x00'
function='0x0'/>
</source>
</hostdev>
</devices>
diff --git a/tests/qemumemlockdata/qemumemlock-pc-hardlimit+locked+hostdev.xml
b/tests/qemumemlockdata/qemumemlock-pc-hardlimit+locked+hostdev.xml
index 8184eef..7070e5a 100644
--- a/tests/qemumemlockdata/qemumemlock-pc-hardlimit+locked+hostdev.xml
+++ b/tests/qemumemlockdata/qemumemlock-pc-hardlimit+locked+hostdev.xml
@@ -16,7 +16,7 @@
<hostdev mode='subsystem' type='pci' managed='yes'>
<driver name='vfio'/>
<source>
- <address domain='0x0000' bus='0x04' slot='0x02'
function='0x0'/>
+ <address domain='0x0001' bus='0x01' slot='0x00'
function='0x0'/>
</source>
</hostdev>
</devices>
diff --git a/tests/qemumemlockdata/qemumemlock-pc-hostdev.xml
b/tests/qemumemlockdata/qemumemlock-pc-hostdev.xml
index 6c058a9..cd517ee 100644
--- a/tests/qemumemlockdata/qemumemlock-pc-hostdev.xml
+++ b/tests/qemumemlockdata/qemumemlock-pc-hostdev.xml
@@ -10,7 +10,7 @@
<hostdev mode='subsystem' type='pci' managed='yes'>
<driver name='vfio'/>
<source>
- <address domain='0x0000' bus='0x04' slot='0x02'
function='0x0'/>
+ <address domain='0x0001' bus='0x01' slot='0x00'
function='0x0'/>
</source>
</hostdev>
</devices>
diff --git a/tests/qemumemlockdata/qemumemlock-pc-locked+hostdev.xml
b/tests/qemumemlockdata/qemumemlock-pc-locked+hostdev.xml
index fbc1dc3..da79cb5 100644
--- a/tests/qemumemlockdata/qemumemlock-pc-locked+hostdev.xml
+++ b/tests/qemumemlockdata/qemumemlock-pc-locked+hostdev.xml
@@ -13,7 +13,7 @@
<hostdev mode='subsystem' type='pci' managed='yes'>
<driver name='vfio'/>
<source>
- <address domain='0x0000' bus='0x04' slot='0x02'
function='0x0'/>
+ <address domain='0x0001' bus='0x01' slot='0x00'
function='0x0'/>
</source>
</hostdev>
</devices>
diff --git a/tests/qemumemlockdata/qemumemlock-pseries-hardlimit+hostdev.xml
b/tests/qemumemlockdata/qemumemlock-pseries-hardlimit+hostdev.xml
index ddd3b47..baf0649 100644
--- a/tests/qemumemlockdata/qemumemlock-pseries-hardlimit+hostdev.xml
+++ b/tests/qemumemlockdata/qemumemlock-pseries-hardlimit+hostdev.xml
@@ -13,7 +13,7 @@
<hostdev mode='subsystem' type='pci' managed='yes'>
<driver name='vfio'/>
<source>
- <address domain='0x0000' bus='0x04' slot='0x02'
function='0x0'/>
+ <address domain='0x0001' bus='0x01' slot='0x00'
function='0x0'/>
</source>
</hostdev>
</devices>
diff --git a/tests/qemumemlockdata/qemumemlock-pseries-hardlimit+locked+hostdev.xml
b/tests/qemumemlockdata/qemumemlock-pseries-hardlimit+locked+hostdev.xml
index 73c28c1..04ae4e9 100644
--- a/tests/qemumemlockdata/qemumemlock-pseries-hardlimit+locked+hostdev.xml
+++ b/tests/qemumemlockdata/qemumemlock-pseries-hardlimit+locked+hostdev.xml
@@ -16,7 +16,7 @@
<hostdev mode='subsystem' type='pci' managed='yes'>
<driver name='vfio'/>
<source>
- <address domain='0x0000' bus='0x04' slot='0x02'
function='0x0'/>
+ <address domain='0x0001' bus='0x01' slot='0x00'
function='0x0'/>
</source>
</hostdev>
</devices>
diff --git a/tests/qemumemlockdata/qemumemlock-pseries-hostdev.xml
b/tests/qemumemlockdata/qemumemlock-pseries-hostdev.xml
index daf70a4..a52768c 100644
--- a/tests/qemumemlockdata/qemumemlock-pseries-hostdev.xml
+++ b/tests/qemumemlockdata/qemumemlock-pseries-hostdev.xml
@@ -10,7 +10,7 @@
<hostdev mode='subsystem' type='pci' managed='yes'>
<driver name='vfio'/>
<source>
- <address domain='0x0000' bus='0x04' slot='0x02'
function='0x0'/>
+ <address domain='0x0001' bus='0x01' slot='0x00'
function='0x0'/>
</source>
</hostdev>
</devices>
diff --git a/tests/qemumemlockdata/qemumemlock-pseries-locked+hostdev.xml
b/tests/qemumemlockdata/qemumemlock-pseries-locked+hostdev.xml
index 74212f1..f5abef0 100644
--- a/tests/qemumemlockdata/qemumemlock-pseries-locked+hostdev.xml
+++ b/tests/qemumemlockdata/qemumemlock-pseries-locked+hostdev.xml
@@ -13,7 +13,7 @@
<hostdev mode='subsystem' type='pci' managed='yes'>
<driver name='vfio'/>
<source>
- <address domain='0x0000' bus='0x04' slot='0x02'
function='0x0'/>
+ <address domain='0x0001' bus='0x01' slot='0x00'
function='0x0'/>
</source>
</hostdev>
</devices>