|
|
(27 intermediate revisions by the same user not shown) |
Line 1: |
Line 1: |
− | ovirt:
| + | 其他功能 |
− | https://github.com/oVirt/ovirt-node
| + | 1、使用远程桌面软件直接连接虚拟机 |
− | kimchi
| + | (1)设置虚拟机远程连接协议 |
− | https://github.com/kimchi-project/kimchi
| + | 模板页面->选择模板编辑->图像下拉框选择连接方式,vnc协议或者spice协议 |
| + | (2)登录服务器,使用virsh dumpxml 虚拟机id查看远程连接的ip地址和端口 |
| + | (3)使用远程桌面软件,输入虚拟机的远程协议ip地址和端口,即可远程连接虚拟机 |
| + | 远程桌面软件地址请参见xxx |
| | | |
− | 参照kimchi的git说明操作
| |
− | yum install xxxx
| |
− | ./autogen.sh --system
| |
− | make
| |
− | make rpm
| |
| | | |
− | autoconf、automake、createrepo、livecd-tools、appliance-tools-minimizer
| + | D:\git\kimchi-openstack\kimchi-openstack\src\kimchi\osinfo.py:43 |
| + | 'modern_update': dict(common_spec, disk_bus='scsi', |
| + | nic_model='virtio', |
| + | sound_model='ich6') |
| | | |
− | (1)selinux common-install.ks.in selinux --disabled
| + | if distro in modern_version_bases[arch]: |
− | (2)recipe/Make.am
| + | if LooseVersion(version) >= LooseVersion( |
− | printf "repo --name=fedora20 --baseurl=http://186.100.8.148/repo/fedora/releases/$(FEDORA)/Everything/${ARCH}/os\n" > repos.ks ;\
| + | modern_version_bases[arch][distro]): |
− | printf "repo --name=ovirt-node --baseurl=file:///root/rpmbuild/RPMS/noarch\n" >> repos.ks ;\
| + | if arch == 'x86': |
− | printf "repo --name=kimchi --baseurl=file:///home/kimchi/kimchi-master/rpm/RPMS/x86_64\n" >> repos.ks ;\
| + | params.update(template_specs[arch]['modern_update']) |
| + | else: |
| + | params.update(template_specs[arch]['modern']) |
| + | else: |
| + | params.update(template_specs[arch]['old']) |
| | | |
− | ..
| + | 'window': '0'}, |
− | 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
| |
其他功能
1、使用远程桌面软件直接连接虚拟机
(1)设置虚拟机远程连接协议
模板页面->选择模板编辑->图像下拉框选择连接方式,vnc协议或者spice协议
(2)登录服务器,使用virsh dumpxml 虚拟机id查看远程连接的ip地址和端口
(3)使用远程桌面软件,输入虚拟机的远程协议ip地址和端口,即可远程连接虚拟机
远程桌面软件地址请参见xxx