<p>Dear Pavel</p><p>        Thanks for your explanation , Firstly I installed spice-webdavd-x86-2.0.msi in my guest (XP 32bit)</p><p>        Secondly , I modified the xml file as the webside description .</p><p>        Then I shared one local folder in my host.</p><p>        But, the 'Preferences' function was still useless, couldn't be used .....  <br></p><p><font color="#55A455">Compiled against library: libvirt 1.2.17</font></p><p><font color="#55A455">Using library: libvirt 1.2.17<br>Using API: QEMU 1.2.17<br>Running hypervisor: QEMU 1.5.3</font><br></p><p>        Please help me to check it :</p><p>===================================================================</p><p><domain type='kvm'><br>  <name>win7-01</name><br>  <uuid>78f0f542-22d8-4a0b-a2ed-d54c9f9bc506</uuid><br>  <memory unit='KiB'>2097152</memory><br>  <currentMemory unit='KiB'>2097152</currentMemory><br>  <vcpu placement='static'>2</vcpu><br>  <os><br>    <type arch='x86_64' machine='pc-i440fx-rhel7.0.0'>hvm</type><br>    <boot dev='hd'/><br>    <bootmenu enable='yes'/><br>    <bios useserial='yes'/><br>  </os><br>  <features><br>    <acpi/><br>  </features><br>  <cpu mode='host-passthrough'><br>    <topology sockets='2' cores='8' threads='2'/><br>  </cpu><br>  <clock offset='utc'/><br>  <on_poweroff>destroy</on_poweroff><br>  <on_reboot>restart</on_reboot><br>  <on_crash>destroy</on_crash><br>  <devices><br>    <emulator>/usr/libexec/qemu-kvm</emulator><br>    <disk type='file' device='disk'><br>      <driver name='qemu' type='qcow2' cache='none'/><br>      <source file='/var/lib/libvirt/images/win7-01/disk'/><br>      <target dev='vda' bus='virtio'/><br>      <address type='pci' domain='0x0000' bus='0x00' slot='0x06' function='0x0'/><br>    </disk><br>    <controller type='usb' index='0' model='ich9-ehci1'><br>      <address type='pci' domain='0x0000' bus='0x00' slot='0x08' function='0x7'/><br>    </controller><br>    <controller type='usb' index='0' model='ich9-uhci1'><br>      <master startport='0'/><br>      <address type='pci' domain='0x0000' bus='0x00' slot='0x08' function='0x0' multifunction='on'/><br>    </controller><br>    <controller type='usb' index='0' model='ich9-uhci2'><br>      <master startport='2'/><br>:/channel<br>    </controller><br>    <controller type='pci' index='0' model='pci-root'/><br>    <controller type='virtio-serial' index='0'><br>      <address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x0'/><br>    </controller><br>    <interface type='bridge'><br>      <mac address='52:54:00:62:0d:aa'/><br>      <source bridge='virbr0'/><br>      <model type='rtl8139'/><br>      <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/><br>    </interface><br>    <serial type='file'><br>      <source path='/var/lib/libvirt/images/win7-01/console.log'/><br>      <target port='0'/><br>    </serial><br>    <console type='file'><br>      <source path='/var/lib/libvirt/images/win7-01/console.log'/><br>      <target type='serial' port='0'/><br>    </console><br>    <channel type='spicevmc'><br>      <target type='virtio' name='com.redhat.spice.0'/><br>      <address type='virtio-serial' controller='0' bus='0' port='1'/><br>    </channel><br>    <span style="background-color: rgb(204, 0, 0);"><channel type='spiceport'><br>      <source channel='org.spice-space.webdav.0'/><br>      <target type='virtio' name='org.spice-space.webdav.0'/><br>      <address type='virtio-serial' controller='0' bus='0' port='2'/><br>    </channel></span><br>    <input type='tablet' bus='usb'/><br>    <input type='mouse' bus='ps2'/><br>    <input type='keyboard' bus='ps2'/><br>    <graphics type='spice' autoport='yes' listen='0.0.0.0' keymap='en-us'><br>      <listen type='address' address='0.0.0.0'/><br>      <mouse mode='server'/><br>    </graphics><br>    <sound model='ac97'><br>      <address type='pci' domain='0x0000' bus='0x00' slot='0x04' function='0x0'/><br>    </sound><br>    <video><br>      <model type='qxl' ram='65536' vram='131072' vgamem='16384' heads='1'><br>        <acceleration accel3d='yes' accel2d='yes'/><br>      </model><br>      <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0'/><br>    </video><br>    <redirdev bus='usb' type='spicevmc'><br>      <address type='usb' bus='0' port='4'/><br>    </redirdev><br>    <redirdev bus='usb' type='spicevmc'><br>      <address type='usb' bus='0' port='5'/><br>    </redirdev><br>    <redirdev bus='usb' type='spicevmc'><br>      <address type='usb' bus='0' port='6'/><br>    </redirdev><br>    <redirdev bus='usb' type='spicevmc'><br>      <address type='usb' bus='0' port='3'/><br>    </redirdev><br>    <memballoon model='virtio'><br>      <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x0'/><br>    </memballoon><br>  </devices><br></domain><br></p><div id="origbody"><div dir="ltr"><div><div class=""><p>===================================================================<br></p><div class="paragraph"><div class="title"><p>I didn't use virt-manager to create guest , just start  guest  with libvirt then use virt-viewer in my host (Win7) to enter it ...... <br></p><p>I have read the   'Folder sharing tutorial ' from the <a target="_blank" href="http://www.spice-space.org/spice-user-manual.html#_folder_sharing" rel="noreferrer">http://www.spice-space.org/spice-user-manual.html#_folder_sharing</a></p><p>But I am not  sure whether I should  perform  the below processes step by step (1.Using virt-manager ->Add Hardware 2.modify XML 3. run  qemu command  )  or  they are respectively three different methods for enable folder sharing function .... just need to select one of them to execute, it's will be Ok ..<br><span style="color: rgb(67, 67, 67); font-family: Tahoma, Arial, ËÎÌå, 'Malgun Gothic'; font-size: 12px; font-style: normal; font-variant: normal; font-weight: bold; letter-spacing: normal; line-height: 19.1875px; orphans: auto; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(242, 242, 242); display: inline !important; float: none;"></span></p><p><br></p><p>Please teach  me the detail operation .Thank you very much</p><p>Best Regards<br></p></div></div><p>===============================================<br></p><div class="">On Wed, Mar 30, 2016 at 8:28 AM, Pavel Grunt <span dir="ltr"><<a target="_blank" href="mailto:pgrunt@redhat.com">pgrunt@redhat.com</a>></span> wrote:<br><blockquote class="" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hello,<br>
<br>
Folder sharing works with SPICE. You need to have spice webdav channel<br>
and spice-webdavd in the guest. Please see [0] for more details.<br>
<br></blockquote><div>You can download spice-webdavd for your Windows guest<br>from <a target="_blank" href="https://elmarco.fedorapeople.org/spice-webdavd-x86-2.0.msi">https://elmarco.fedorapeople.org/spice-webdavd-x86-2.0.msi</a><br> </div><blockquote class="" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
Best regards,<br>
Pavel<br>
<br>
[0] <a target="_blank" href="http://www.spice-space.org/spice-user-manual.html#_folder_sharing" rel="noreferrer">http://www.spice-space.org/spice-user-manual.html#_folder_sharing</a><br>
<div><div class=""><br>
On Wed, 2016-03-30 at 11:47 +0800, <a target="_blank" href="mailto:hongzhen_luo@sina.com">hongzhen_luo@sina.com</a> wrote:<br>
>  Hello <br>
><br>
>       Do you know how to use  the 'Preferences' function in the Virt-<br>
> viewer ?  I have tried so many methods ,but unfortunately , the<br>
> folder sharing was always cannot be used (In the Perferences Window<br>
> ,All of items were dimmed state ) ..(virt-viewer-x86-3.1/Host: Win7<br>
> OS 32bit / Guest : win7 OS 32bit)<br>
>       I am not sure my operation was correct ,because this's my first<br>
> time to use this function . So if you know that , please tell me the<br>
> details about this function and  please  teach me  how to use it<br>
> .Thank you very much .. <br>
</div></div>> _______________________________________________<br>
> virt-tools-list mailing list<br>
> <a target="_blank" href="mailto:virt-tools-list@redhat.com">virt-tools-list@redhat.com</a><br>
> <a target="_blank" href="https://www.redhat.com/mailman/listinfo/virt-tools-list" rel="noreferrer">https://www.redhat.com/mailman/listinfo/virt-tools-list</a><br>
</blockquote></div><br></div></div></div>

</div>