Hi Ziviani,
One test case is failing for me:
======================================================================
FAIL: test_hotplug_3D_card (test_mockmodel.MockModelTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "test_mockmodel.py", line 146, in test_hotplug_3D_card
self.assertEqual(e.message[:14], u'KCHVMHDEV0006E')
AssertionError: u'KCHVMHDEV0003E' != u'KCHVMHDEV0006E'
- KCHVMHDEV0003E
? ^
+ KCHVMHDEV0006E
? ^
----------------------------------------------------------------------
Ran 120 tests in 994.219s
Maybe it is because my host does not have IOMMU enabled.
Could you do the adjustments needed in the test case and resend the patch?
Thanks,
Aline Manera
On 02/26/2016 03:28 PM, Jose Ricardo Ziviani wrote:
Set the window size accordingly when attaching a GPU.
Jose Ricardo Ziviani (2):
Set mmio memory when GPU is attached
Create test cases for GPU attachment
i18n.py | 2 +-
mockmodel.py | 160 +++++++++++++++++++++++++++++++++++++++++++++++-
model/host.py | 4 +-
model/vmhostdevs.py | 141 ++++++++++++++++++++++++++++++++++++++++--
tests/test_mockmodel.py | 33 ++++++++++
5 files changed, 332 insertions(+), 8 deletions(-)