[Kimchi-devel] [PATCH] [Kimchi 0/2] Set memory when attaching GPU

Aline Manera alinefm at linux.vnet.ibm.com
Mon Feb 29 19:56:24 UTC 2016


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(-)
>




More information about the Kimchi-devel mailing list