Revision d4970b07

b/qemu-config.c
385 385
            .name = "disable-ticketing",
386 386
            .type = QEMU_OPT_BOOL,
387 387
        },{
388
            .name = "disable-copy-paste",
389
            .type = QEMU_OPT_BOOL,
390
        },{
388 391
            .name = "x509-dir",
389 392
            .type = QEMU_OPT_STRING,
390 393
        },{
b/qemu-options.hx
717 717
@item disable-ticketing
718 718
Allow client connects without authentication.
719 719

  
720
@item disable-copy-paste
721
Disable copy paste between the client and the guest.
722

  
720 723
@item tls-port=<nr>
721 724
Set the TCP port spice is listening on for encrypted channels.
722 725

  
b/ui/spice-core.c
554 554
        spice_server_set_noauth(spice_server);
555 555
    }
556 556

  
557
#if SPICE_SERVER_VERSION >= 0x000801
558
    if (qemu_opt_get_bool(opts, "disable-copy-paste", 0)) {
559
        spice_server_set_agent_copypaste(spice_server, false);
560
    }
561
#endif
562

  
557 563
    compression = SPICE_IMAGE_COMPRESS_AUTO_GLZ;
558 564
    str = qemu_opt_get(opts, "image-compression");
559 565
    if (str) {

Also available in: Unified diff