Jump to: navigation, search

Main Page/cobbler

ovirt: https://github.com/oVirt/ovirt-node kimchi https://github.com/kimchi-project/kimchi

参照kimchi的git说明操作 yum install xxxx ./autogen.sh --system make make rpm

autoconf、automake、createrepo、livecd-tools、appliance-tools-minimizer

(1)selinux common-install.ks.in selinux --disabled (2)recipe/Make.am printf "repo --name=fedora20 --baseurl=http://186.100.8.148/repo/fedora/releases/$(FEDORA)/Everything/${ARCH}/os\n" > repos.ks ;\ printf "repo --name=ovirt-node --baseurl=file:///root/rpmbuild/RPMS/noarch\n" >> repos.ks ;\ printf "repo --name=kimchi --baseurl=file:///home/kimchi/kimchi-master/rpm/RPMS/x86_64\n" >> repos.ks ;\

..

This work is licensed under a Creative Commons Attribution 3.0 Unported
License.
http://creativecommons.org/licenses/by/3.0/legalcode
========================================

tag Add support for USB 2.0 controller

========================================

Users have requirements of using USB device, the detailed information can refer to BP in https://blueprints.launchpad.net/nova/+spec/usb-passthrough.

If not specify appropriate USB controller for USB device, USB device will use the default piix3-usb-uhci, which results in some problems.

1. The low speed of USB device.

2. If use spice client to redirect USB device to VM, the mismatched speed may prevent the connection.


USB 2.0 has other good point that it will result in dramatically lower CPU usage when the USB tablet is present for VNC/SPICE.

As described above, I think that support USB 2.0 controller is valuable in Openstack.


Problem description

=======

tag Use cases:

1. User creates a VM, the system creates a default ehci USB controller, attach USB tablet to the ehci controller.


Proposed change

===

tag 1. Add function of create ehci controller in libvirt driver when create VM.

2. Add function of specify USB controller for USB tablet in libvirt driver when create VM.

Alternatives


None

Data model impact


tag 1. Add USB controller object in libvirt driver, create ehci xml in 'get_guest_config' function.

2. Add 'address' element to USB tablet object 'LibvirtConfigGuestInput', specify ehci controller in 'get_guest_config' function.


REST API impact


None

Security impact


None

Notifications impact


None

Other end user impact


None

Performance Impact


None

Other deployer impact


None

Developer impact


None

Implementation

==

Assignee(s)


Primary assignee:

 <Jing Yuan>


Work Items


Step 1: Add USB controller object, create ehci xml in 'get_guest_config' function.

Step 2: Modify USB tablet object, specify ehci controller for USB tablet in 'get_guest_config' function.

Dependencies

==

None


Testing

=

None


Documentation Impact

========

None


References

==

https://blueprints.launchpad.net/nova/+spec/usb-passthrough