<div style="line-height:1.7;color:#000000;font-size:14px;font-family:Arial"><div style="word-break: break-word; line-height: 25px; font-family: arial;">Hi ALL:</div><div style="word-break: break-word; line-height: 25px; font-family: arial;">      I'm working on usbredir with spicy on sparc and spice server on x86.</div><div style="word-break: break-word; line-height: 25px; font-family: arial;">      After adjust endian for arch, and observe the debug info, I find that a unexpected interactive.</div><div style="word-break: break-word; line-height: 25px; font-family: arial;"><span style="line-height: 21.6363620758057px;">=====================================================================================================</span></div><div style="word-break: break-word; line-height: 25px; font-family: arial;">      spicy(usb host)                                                                                spice server(usb guest)</div><div style="word-break: break-word; line-height: 25px; font-family: arial;">                                <--------usb_redir_control_packet----------<span style="word-break: break-word; line-height: 1.7;">--------------</span><span style="word-break: break-word; line-height: 1.7;"> </span></div><div style="word-break: break-word; line-height: 25px; font-family: arial;">      transfer data....</div><div style="word-break: break-word; line-height: 25px; font-family: arial;">                                <span style="word-break: break-word; line-height: 1.7;">                                                                                    ??? :unknown handle for me</span></div><div style="word-break: break-word; font-family: arial, verdana, sans-serif; line-height: 25px;"><span style="word-break: break-word; line-height: 1.7;">                                 </span><span style="word-break: break-word; line-height: 1.7;"><--------</span>usb_redir_cancel_data_packet<span style="word-break: break-word; line-height: 1.7;">----</span><span style="word-break: break-word; line-height: 1.7;">-------------</span><span style="word-break: break-word; line-height: 1.7;"> </span><span style="word-break: break-word; line-height: 1.7;">     </span></div><div style="word-break: break-word; line-height: 25px; font-family: arial;">      <span style="word-break: break-word; line-height: 1.7;">transfer data over</span><span style="word-break: break-word; line-height: 1.7;">---------</span><span style="word-break: break-word; line-height: 1.7;">usb_redir_control_packet(with data)----------></span></div><div style="word-break: break-word; line-height: 25px; font-family: arial;"><span style="word-break: break-word; line-height: 1.7;">     </span><span style="word-break: break-word; line-height: 1.7;"> cancel the packet</span></div><div style="word-break: break-word; line-height: 25px; font-family: arial;"><span style="word-break: break-word; line-height: 1.7;">=====================================================================================================</span></div><div style="word-break: break-word; font-family: arial, verdana, sans-serif; line-height: 25px;">      <span style="font-family: arial;">interactive like these lead to failure of packe</span><span style="font-family: arial;" class="">t transfer between the two </span><span style="font-family: arial;" class="">at t</span><span style="font-family: arial;">he end.</span></div><div style="word-break: break-word; font-family: arial, verdana, sans-serif; line-height: 25px;">     I guess the reason the <span style="word-break: break-word; line-height: 1.7;">spice server send "</span><span style="word-break: break-word; line-height: 1.7;">usb_redir_cancel_data_packet" is that it is too slow that the </span><span style="word-break: break-word; line-height: 1.7;">usb host reply with "</span><span style="word-break: break-word; line-height: 1.7;">usb_redir_control_packet" in </span><span style="word-break: break-word; line-height: 1.7;">function "</span>usbredirhost_control_packet_complete", because when I gdb it in X86, if I break in the function for a while , <span style="word-break: break-word; line-height: 1.7;">"</span><span style="word-break: break-word; line-height: 1.7;">usb_redir_cancel_data_packet" also found.</span></div><div style="word-break: break-word; font-family: arial, verdana, sans-serif; line-height: 25px;"><span style="word-break: break-word; line-height: 1.7;"><br style="word-break: break-word;"></span></div><div style="word-break: break-word; font-family: arial, verdana, sans-serif; line-height: 25px;"><span style="word-break: break-word; line-height: 1.7;">    so how to solve, yes, the </span><span style="word-break: break-word; line-height: 1.7;">usb host has not so good performance, but for the usbredir function, it should be enough, I mean is it possible that some expire time in qemu can be adjusted or other method can harmonize the two ?</span></div></div><br><br><span title="neteasefooter"><span id="netease_mail_footer"><span title="neteasefooter"><span id="netease_mail_footer"><a href="#" target="_blank"></a></span></span>
</span></span>