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