[Spice-devel] clipboard

ToddAndMargo ToddAndMargo at zoho.com
Tue Mar 10 14:03:24 PDT 2015


On 03/10/2015 03:19 AM, Christophe Fergeau wrote:
> On Mon, Mar 09, 2015 at 09:23:18PM -0700, ToddAndMargo wrote:
>>> 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?
>
> I would check that the qemu command line matches what is described in
> the link Marc-André gave, then I'd check that device state in Windows
> Device Manager, maybe it gives some hints as to why the device is not
> working. Is  this with Windows XP 32 bits?
>
> Christophe
>

Hi Christope,

    Thank you for helping me with this.

    This is XP-Pro-SP3 with no service packs applied.

    Xp's device manager throws a bang mark on vport0p1
with '"could not start" code 10.'

    Looking over Marc-André link, everything seems okay.


My XML file:

<devices>
     <controller type='virtio-serial' index='0'>
       <address type='pci' domain='0x0000' bus='0x00' slot='0x06' 
function='0x0'/>
     </controller>

     <channel type='spicevmc'>
       <target type='virtio' name='com.redhat.spice.0'/>
       <address type='virtio-serial' controller='0' bus='0' port='1'/>
     </channel>
</devices>


My run line (cut up for what was in the link):

-device virtio-serial-pci,id=virtio-serial0,bus=pci.0,addr=0x6

-chardev spicevmc,id=charchannel0,name=vdagent

-device virtserialport,bus=virtio-serial0.0,
nr=1,chardev=charchannel0,id=channel0,name=com.redhat.spice.0


What am I doing wrong?

-T


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



More information about the Spice-devel mailing list