Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 693661

Summary: RFE: Add support for spice disable-copy-paste option
Product: Red Hat Enterprise Linux 6 Reporter: Hans de Goede <hdegoede>
Component: libvirtAssignee: Marc-Andre Lureau <marcandre.lureau>
Status: CLOSED ERRATA QA Contact: Virtualization Bugs <virt-bugs>
Severity: high Docs Contact:
Priority: high    
Version: 6.1CC: dallan, eblake, rwu, yoyzhang, zpeng
Target Milestone: rcKeywords: FutureFeature
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: libvirt-0.9.3-1.el6 Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-12-06 11:04:31 UTC Type: ---
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: 693645    
Bug Blocks: 693512    
Attachments:
Description Flags
spice: add disableCopyPaste property none

Description Hans de Goede 2011-04-05 09:01:56 UTC
From a security pov copy and paste between the guest and the client is not
always desirable. So we need to be able to enable/disable this. The best place
to do this from an administration pov is on the hypervisor, so the qemu cmdline is getting a spice disable-copy-paste option, see bug 693645. Example qemu invocation:
qemu -spice port=5932,disable-ticketing,disable-copy-paste

This bug is for tracking adding support to libvirt to set / pass the spice disable-copy-paste option.

Comment 2 Marc-Andre Lureau 2011-06-04 01:45:24 UTC
Created attachment 502935 [details]
spice: add disableCopyPaste property

Comment 3 Dave Allan 2011-06-04 01:55:02 UTC
Thanks for the patch--would you mind submitting it to the upstream libvirt list for review and commit?

Comment 5 Eric Blake 2011-06-13 17:05:52 UTC
Now posted to upstream list for comments:
https://www.redhat.com/archives/libvir-list/2011-June/msg00507.html

Comment 6 Eric Blake 2011-06-14 23:08:54 UTC
Upstream commit will be picked up by next rebase for RHEL 6.2.
commit 98bfdff12cbcf2d6efb3ba5e3236d75b3fd10634
Author: Marc-André Lureau <marcandre.lureau>
Date:   Tue Jun 14 13:35:48 2011 +0200

    spice: add <clipboard copypaste='yes|no'> option
    
    From a security pov copy and paste between the guest and the client is not
    always desirable. So we need to be able to enable/disable this. The best place  to do this from an administration pov is on the hypervisor, so the qemu cmdline is getting a spice disable-copy-paste option, see bug 693645. Example qemu
    invocation:
    qemu -spice port=5932,disable-ticketing,disable-copy-paste
    
    https://bugzilla.redhat.com/show_bug.cgi?id=693661

Comment 10 zhe peng 2011-07-11 05:35:19 UTC
According to comment 9, move this bug to verified.

Comment 11 errata-xmlrpc 2011-12-06 11:04:31 UTC
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, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHBA-2011-1513.html