Bug 2060724
Summary: | [RFE]Support copy/paste in the VNC console in virt-install | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 9 | Reporter: | zhoujunqin <juzhou> |
Component: | virt-manager | Assignee: | Jonathon Jongsma <jjongsma> |
virt-manager sub component: | Common | QA Contact: | Hongzhou Liu <hongzliu> |
Status: | CLOSED ERRATA | Docs Contact: | |
Severity: | medium | ||
Priority: | medium | CC: | hongzliu, jjongsma, jsuchane, tyan, tzheng, virt-maint |
Version: | 9.0 | Keywords: | FutureFeature, Triaged |
Target Milestone: | rc | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | virt-manager-4.0.0-1.el9 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2022-11-15 10:34:07 UTC | Type: | Feature Request |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | 2057768, 2100525 | ||
Bug Blocks: | 2064602 |
Description
zhoujunqin
2022-03-04 06:10:43 UTC
(In reply to zhoujunqin from comment #0) > Description of problem: > qemu-kvm has supported copy/paste in the vnc console since qemu-kvm 6.2.0, > see: > Bug 1874926 - [RFE] copy/paste support in qemu VNC console > Bug 2057768 - [RFE]Support copy/paste in the VNC console in libvirt > > Virt-install should also support this feature. > > Version-Release number of selected component (if applicable): > virt-install-3.2.0-14.el9.noarch > libvirt-8.0.0-6.el9.x86_64 > qemu-kvm-6.2.0-11.el9.x86_64 > > > How reproducible: > 100% > > Steps to Reproduce: > 1. Check the sub-option 'clipboard.copypaste' is supported by --graphics. > > # virt-install --graphics=? > --graphics options: > clearxml > ... > clipboard.copypaste > connected > defaultMode > filetransfer.enable > gl.enable > gl.rendernode > image.compression > keymap > listen > listens[0-9]*.address > listens[0-9]*.network > listens[0-9]*.socket > listens[0-9]*.type > mouse.mode > password > passwordValidTo > port > streaming.mode > tlsPort > type > websocket > zlib.compression Although it's not clear from this output, several of these options are spice-only, including clipboard.copypaste. Clipboard sharing with VNC is implemented a bit differently in libvirt. There will be no changes to the <graphics> element, but will instead be set on a qemu-vdagent channel element. For example, this is the XML device required to enable this support (assuming a VNC client with clipboard support): <channel type='qemu-vdagent'> <target type='virtio' name='com.redhat.spice.0'/> <source> <clipboard copypaste='yes'/> </source> </channel> We'll need to add support for this new channel type to virt-install. I'll try to submit this upstream soon. Proposed some patches upstream https://listman.redhat.com/archives/virt-tools-list/2022-May/017573.html Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (virt-manager bug fix and enhancement update), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2022:8186 |