[Spice-devel] cut/paste failure on Windows 7 guest

Arnon Gilboa agilboa at redhat.com
Sat Dec 1 23:23:56 PST 2012


Han Pilmeyer wrote:
>
> On 29/11/2012 13:58, Christophe Fergeau wrote:
>> On Thu, Nov 29, 2012 at 12:56:49PM +0200, Arnon Gilboa wrote:
>>> Han Pilmeyer wrote:
>>>> However both yesterday and today, the guest refuses to do
>>>> cut/paste between the guest and host. Below I have the relevant
>>>> portion of the vdagent.log. I guess the
>>>> "on_clipboard_request::wait timeout.." messages at the end are the
>>>> key part. If there is anything I can do to help resolve this
>>>> issue, feel free to contact me.
>>> was it a large paste? this patch seem to fix it.
>>> http://cgit.freedesktop.org/spice/win32/vd_agent/commit/?id=a69af07d
>>> build vdagent & vdservice, update yours and use newer virtio-serial 
>>> driver.
>>> http://www.linux-kvm.org/page/WindowsGuestDrivers/Download_Drivers
>> spice-guest-tools-0.2.exe already have the latest vioserial driver from
>> https://alt.fedoraproject.org/pub/alt/virtio-win/latest/images/bin/ , 
>> but
>> it seems the vioserial driver in there has known bugs...
>>
> Arnon was kind enough to build me a fresh vdagent and vdservice. With 
> those, the messages seem to have disappeared or at least changed, but 
> cut/paste still is not working. In fact several reboots later it 
> hasn't worked once, which is worse than the original. I'm pretty sure 
> that I am using the correct version as the messages have time stamps 
> again and it also seems that the UI on Windows visibly indicates after 
> 3 seconds or so that it failed (this used to be more than 10 seconds).
>
> Below are the messages recorded in both the vdservice.log and the 
> vdagent.log. I tried to paste from the host to the guest immediately 
> after I unlocked the guest screen (UNLOCK message in the vdservice.log);
>
> vdservice.log:
> 700::INFO::2012-11-30 11:02:56,020::log_version::0.5.1.0
> 700::INFO::2012-11-30 11:02:56,020::VDService::execute::Active console 
> session id: 1
> 700::INFO::2012-11-30 11:02:56,300::VDService::execute::Connect state: 2
> 688::INFO::2012-11-30 
> 11:03:00,419::VDService::control_handler::Session 1 CONNECT
> 688::INFO::2012-11-30 
> 11:04:19,499::VDService::control_handler::Session 1 LOGON
> 688::INFO::2012-11-30 
> 11:44:42,845::VDService::control_handler::Session 1 LOCK
> 688::INFO::2012-11-30 
> 12:17:03,477::VDService::control_handler::Session 1 UNLOCK
> 688::INFO::2012-11-30 
> 12:34:30,357::VDService::control_handler::Session 1 LOCK
> 688::INFO::2012-11-30 
> 14:25:34,782::VDService::control_handler::Session 1 UNLOCK
>
> vdagent.log:
> 340::INFO::2012-11-30 
> 12:16:46,807::VDAgent::handle_clipboard_grab::grab type 1
> 340::INFO::2012-11-30 
> 12:17:05,158::VDAgent::handle_control_event::Control command 1
> 340::INFO::2012-11-30 
> 12:17:05,236::VDAgent::input_desktop_message_loop::Desktop: Default
> 340::INFO::2012-11-30 
> 12:17:05,407::VDAgent::on_clipboard_grab::Unsupported clipboard format
> 340::INFO::2012-11-30 
> 12:29:25,989::VDAgent::handle_control_event::Control command 1
> 340::INFO::2012-11-30 
> 12:29:26,004::VDAgent::input_desktop_message_loop::Desktop: Screen-saver
> 340::INFO::2012-11-30 
> 12:29:26,004::VDAgent::on_clipboard_grab::Unsupported clipboard format
> 340::INFO::2012-11-30 
> 12:34:27,228::VDAgent::handle_control_event::Control command 1
> 340::INFO::2012-11-30 
> 12:34:27,243::VDAgent::input_desktop_message_loop::Desktop: Winlogon
> 340::INFO::2012-11-30 
> 12:34:27,243::VDAgent::on_clipboard_grab::Unsupported clipboard format
> 340::INFO::2012-11-30 
> 13:24:56,265::VDAgent::handle_clipboard_release::Received clipboard 
> release from client while clipboard is not owned by client
> 340::INFO::2012-11-30 
> 13:24:56,421::VDAgent::handle_clipboard_grab::grab type 1
> 340::INFO::2012-11-30 
> 13:24:58,930::VDAgent::handle_control_event::Control command 3
> 340::INFO::2012-11-30 
> 14:18:35,166::VDAgent::handle_clipboard_grab::grab type 1
> 340::INFO::2012-11-30 
> 14:18:38,584::VDAgent::handle_control_event::Control command 3
> 340::INFO::2012-11-30 
> 14:25:35,055::VDAgent::handle_control_event::Control command 1
> 340::INFO::2012-11-30 
> 14:25:35,231::VDAgent::input_desktop_message_loop::Desktop: Default
> 340::INFO::2012-11-30 
> 14:25:35,253::VDAgent::on_clipboard_grab::Unsupported clipboard format
> 340::INFO::2012-11-30 
> 14:25:51,254::VDAgent::handle_clipboard_grab::grab type 1
> 340::INFO::2012-11-30 
> 14:26:00,009::VDAgent::on_clipboard_request::Clipboard wait timeout
> 340::INFO::2012-11-30 
> 14:26:03,021::VDAgent::on_clipboard_request::Clipboard wait timeout
>
>
>
Hi Han,
Lots of virtio-serial driver bugs, which are very relevant to 
cut/paste,  were recently fixed.
The driver on the above link seem to be outdated. I'll try to find a 
link for an updated upstream version.
Anyway, in order to debug it online, catch us on #spice at irc.gimp.net/6667
Thanks,
Arnon


More information about the Spice-devel mailing list