[Spice-devel] clipboard

ToddAndMargo ToddAndMargo at zoho.com
Tue Mar 10 15:23:01 PDT 2015


On 03/10/2015 03:56 AM, Uri Lublin wrote:
> On 03/10/2015 06:23 AM, ToddAndMargo wrote:
>> On 03/09/2015 08:10 PM, ToddAndMargo wrote:
>>> On 03/09/2015 07:10 PM, ToddAndMargo wrote:
>>>> On 03/09/2015 04:55 PM, Marc-André Lureau wrote:
>>>>> Hi
>>>>>
>>>>> ----- Original Message -----
>>>>>> Hi,
>>>>>>
>>>>>> How do I get my clipboard to work with Virtual Machine
>>>>>> Viewer 0.6.0?
>>>>>>
>>>>>> Scientific Linux 6.6, x64
>>>>>>
>>>>>> rpm -qa \*kvm\*
>>>>>> qemu-kvm-0.12.1.2-2.445.el6.x86_64
>>>>>>
>>>>>
>>>>> You need to have the Spice agent running in the guest, see the manual
>>>>> for more details:
>>>>> https://elmarco.fedorapeople.org/manual.html#agent
>>>>>
>>>>>
>>>>
>>>> Hi Marc-André,
>>>>
>>>> Huh.  The clipboard worked fine when I was using SPICEc.
>>>> I will double check your link to see if I missed anything.
>>>>
>>>> I will report back.
>>>>
>>>> Many thanks,
>>>> -T
>>>
>>> Okay,  I now have an "unknown" device in my XP
>>> device manager called "vport0p1".  I have tried
>>> all the drivers in
>>>
>>> C:\Program Files\SPICE Guest Tools\drivers\winxp\x86
>>>
>>> And XP rejects all of them.  My favorite guess was "VirtIO-
>>> Serial Communications device --> VirtIO-Serial Driver"
>>> But that was rejected by XP immediately.
>>>
>>> I am using
>>>
>>>     virtio-win-0.1.100
>>>     spice-guest-tools-0.74.exe
>>>
>>> I do believe if I can get vport0p1's driver to install,
>>> I will get my clipboard back.  Anyone know what I
>>> am doing wrong?
>>>
>>> -T
>>>
>>>
>>
>> Error code is "could not start" code 10.
>>
>
> Try uninstalling the driver  and re-installing it (preferably removing
> the driver in c:\windows\... and rebooting after each step).
> I'd try installing the wxp/x86/vioser.inf driver from virtio-win-0.1.100
> (in qemu monitor: change ide1-cd0 virtio-win-0.1-100.iso, and then
>   in device-manager browse and choose that path)
>
> Also make sure your qemu-kvm command line options for virtio-serial
> device are correct.
>
> Uri.
>

Hi Uri,

Thank you for helping me with this.

Got it figured out.

1)  I am not finding an entry in Add/Remove Programs for
Spice Guest Tools or anything Red Hat for that matter.

I did find a shortcut in my programs menu called
      Uninstall SPICE Guest Tools

which points to a non-existant
      Uninstall-spice-guest-tools.exe

There is an "Uninstall vert-view.exe" in the
directory as the Uninstall-spice-guest-tools.

Running the other name give a pop up announcing it
is the Spice Guest Tools Uninstall Wizard,
so it must be the right one.  I will report this to
Red Hat on their Bugzilla:

https://bugzilla.redhat.com/show_bug.cgi?id=1200583

And, it leaves the Program Files directory there.
I added that to the bug report.



2) This problem is isolated to XP, so on a hunch,
I uninstalled (manually removing the Program Files
directory)
       spice-guest-tools-0.74.exe
and reinstalled
       spice-guest-tools-0.52.exe

This time in device manager, I got the same two
"virt-Serial Driver", one with a bang mark.

But this time, updating the one with the bang mark from
     C:\Program Files\SPICE Guest Tools\drivers\winxp\x86

loaded a different driver called
      virt-Serial Driver Raw PDO

And it neglected to prompt for a reboot.  After a
reboot the clipboard work fine.

So, I am reporting it to Red Hat as well:
https://bugzilla.redhat.com/show_bug.cgi?id=1200592


You guys deserve combat pay for working on this stuff day
in and day out!

-T



-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Computers are like air conditioners.
They malfunction when you open windows
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~



More information about the Spice-devel mailing list