Re:Re: How to use the 'Preferences' function in the Virt-viewer

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Dear Pavel

        Thanks for your explanation , Firstly I installed spice-webdavd-x86-2.0.msi in my guest (XP 32bit)

        Secondly , I modified the xml file as the webside description .

        Then I shared one local folder in my host.

        But, the 'Preferences' function was still useless, couldn't be used ..... 

Compiled against library: libvirt 1.2.17

Using library: libvirt 1.2.17
Using API: QEMU 1.2.17
Running hypervisor: QEMU 1.5.3

        Please help me to check it :

===================================================================

<domain type='kvm'>
  <name>win7-01</name>
  <uuid>78f0f542-22d8-4a0b-a2ed-d54c9f9bc506</uuid>
  <memory unit='KiB'>2097152</memory>
  <currentMemory unit='KiB'>2097152</currentMemory>
  <vcpu placement='static'>2</vcpu>
  <os>
    <type arch='x86_64' machine='pc-i440fx-rhel7.0.0'>hvm</type>
    <boot dev='hd'/>
    <bootmenu enable='yes'/>
    <bios useserial='yes'/>
  </os>
  <features>
    <acpi/>
  </features>
  <cpu mode='host-passthrough'>
    <topology sockets='2' cores='8' threads='2'/>
  </cpu>
  <clock offset='utc'/>
  <on_poweroff>destroy</on_poweroff>
  <on_reboot>restart</on_reboot>
  <on_crash>destroy</on_crash>
  <devices>
    <emulator>/usr/libexec/qemu-kvm</emulator>
    <disk type='file' device='disk'>
      <driver name='qemu' type='qcow2' cache='none'/>
      <source file='/var/lib/libvirt/images/win7-01/disk'/>
      <target dev='vda' bus='virtio'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x06' function='0x0'/>
    </disk>
    <controller type='usb' index='0' model='ich9-ehci1'>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x08' function='0x7'/>
    </controller>
    <controller type='usb' index='0' model='ich9-uhci1'>
      <master startport='0'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x08' function='0x0' multifunction='on'/>
    </controller>
    <controller type='usb' index='0' model='ich9-uhci2'>
      <master startport='2'/>
:/channel
    </controller>
    <controller type='pci' index='0' model='pci-root'/>
    <controller type='virtio-serial' index='0'>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x0'/>
    </controller>
    <interface type='bridge'>
      <mac address='52:54:00:62:0d:aa'/>
      <source bridge='virbr0'/>
      <model type='rtl8139'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/>
    </interface>
    <serial type='file'>
      <source path='/var/lib/libvirt/images/win7-01/console.log'/>
      <target port='0'/>
    </serial>
    <console type='file'>
      <source path='/var/lib/libvirt/images/win7-01/console.log'/>
      <target type='serial' port='0'/>
    </console>
    <channel type='spicevmc'>
      <target type='virtio' name='com.redhat.spice.0'/>
      <address type='virtio-serial' controller='0' bus='0' port='1'/>
    </channel>
    <channel type='spiceport'>
      <source channel='org.spice-space.webdav.0'/>
      <target type='virtio' name='org.spice-space.webdav.0'/>
      <address type='virtio-serial' controller='0' bus='0' port='2'/>
    </channel>

    <input type='tablet' bus='usb'/>
    <input type='mouse' bus='ps2'/>
    <input type='keyboard' bus='ps2'/>
    <graphics type='spice' autoport='yes' listen='0.0.0.0' keymap='en-us'>
      <listen type='address' address='0.0.0.0'/>
      <mouse mode='server'/>
    </graphics>
    <sound model='ac97'>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x04' function='0x0'/>
    </sound>
    <video>
      <model type='qxl' ram='65536' vram='131072' vgamem='16384' heads='1'>
        <acceleration accel3d='yes' accel2d='yes'/>
      </model>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0'/>
    </video>
    <redirdev bus='usb' type='spicevmc'>
      <address type='usb' bus='0' port='4'/>
    </redirdev>
    <redirdev bus='usb' type='spicevmc'>
      <address type='usb' bus='0' port='5'/>
    </redirdev>
    <redirdev bus='usb' type='spicevmc'>
      <address type='usb' bus='0' port='6'/>
    </redirdev>
    <redirdev bus='usb' type='spicevmc'>
      <address type='usb' bus='0' port='3'/>
    </redirdev>
    <memballoon model='virtio'>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x0'/>
    </memballoon>
  </devices>
</domain>

===================================================================

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 ......

I have read the   'Folder sharing tutorial ' from the http://www.spice-space.org/spice-user-manual.html#_folder_sharing

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 ..


Please teach  me the detail operation .Thank you very much

Best Regards

===============================================

On Wed, Mar 30, 2016 at 8:28 AM, Pavel Grunt <pgrunt@xxxxxxxxxx> wrote:
Hello,

Folder sharing works with SPICE. You need to have spice webdav channel
and spice-webdavd in the guest. Please see [0] for more details.

You can download spice-webdavd for your Windows guest
from https://elmarco.fedorapeople.org/spice-webdavd-x86-2.0.msi
 
Best regards,
Pavel

[0] http://www.spice-space.org/spice-user-manual.html#_folder_sharing

On Wed, 2016-03-30 at 11:47 +0800, hongzhen_luo@xxxxxxxx wrote:
>  Hello 
>
>       Do you know how to use  the 'Preferences' function in the Virt-
> viewer ?  I have tried so many methods ,but unfortunately , the
> folder sharing was always cannot be used (In the Perferences Window
> ,All of items were dimmed state ) ..(virt-viewer-x86-3.1/Host: Win7
> OS 32bit / Guest : win7 OS 32bit)
>       I am not sure my operation was correct ,because this's my first
> time to use this function . So if you know that , please tell me the
> details about this function and  please  teach me  how to use it
> .Thank you very much .. 
> _______________________________________________
> virt-tools-list mailing list
> virt-tools-list@xxxxxxxxxx
> https://www.redhat.com/mailman/listinfo/virt-tools-list

_______________________________________________
virt-tools-list mailing list
virt-tools-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/virt-tools-list

[Index of Archives]     [Linux Virtualization]     [KVM Development]     [CentOS Virtualization]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]     [Video 4 Linux]

  Powered by Linux