Patch applied to
https://github.com/danielhb/kimchi master branch
Thanks!
On 07/13/2015 11:47 AM, Jose Ricardo Ziviani wrote:
v3:
- Changed test case to check if new VMs has a xhci controller;
- Made have_xhci_usb_controller public to test it.
v2:
- Added a new test case.
Power system requires an USB XHCI controller in order to allow PCI
hotplug. This patch adds such controller by default when creating a new
VM and inform the users if a VM currently doesn't have the controller.
Jose Ricardo Ziviani (4):
Add a new error code for pci hotplug
Check for usb xhci controller in Power platform
Define the USB xhci controller in the template for Power Systems
Add a new test case for pci hotplug on Power
src/kimchi/i18n.py | 1 +
src/kimchi/model/vmhostdevs.py | 30 +++++++++++++++++++++++++++++-
src/kimchi/vmtemplate.py | 17 +++++++++++++++++
tests/test_model.py | 27 +++++++++++++++++++++++++++
4 files changed, 74 insertions(+), 1 deletion(-)