[pve-devel] Trying to use spice enhancements

Aaron Lauterer a.lauterer at proxmox.com
Tue Oct 8 08:35:49 CEST 2019


Thanks for finding that!

I'm looking into it.


On 10/7/19 7:53 PM, Gilberto Nunes wrote:
> Never mind.... I forget to enable qemu agent in the VM...
> 
> Thanks
> ---
> Gilberto Nunes Ferreira
> 
> (47) 3025-5907
> (47) 99676-7530 - Whatsapp / Telegram
> 
> Skype: gilberto.nunes36
> 
> 
> 
> 
> 
> Em seg, 7 de out de 2019 às 14:46, Gilberto Nunes <
> gilberto.nunes32 at gmail.com> escreveu:
> 
>> Hi there
>>
>> I am trying to use spice foldersharing...
>> I enable it with this command:
>> qm set 100 -spice_enhancements foldersharing=1,videostreaming=all
>>
>> But when I try to start the VM I get this error:
>> qm start 100
>> kvm: -device
>> virtserialport,chardev=foldershare,name=org.spice-space.webdav.0: No
>> 'virtio-serial-bus' bus found for device 'virtseria
>> lport'
>> start failed: command '/usr/bin/kvm -id 100 -name teste1 -chardev
>> 'socket,id=qmp,path=/var/run/qemu-server/100.qmp,server,nowait' -mo
>> n 'chardev=qmp,mode=control' -chardev
>> 'socket,id=qmp-event,path=/var/run/qmeventd.sock,reconnect=5' -mon
>> 'chardev=qmp-event,mode=cont
>> rol' -pidfile /var/run/qemu-server/100.pid -daemonize -smbios
>> 'type=1,uuid=40b94d33-bff8-44ad-8938-eae2ffadfd70' -smp '4,sockets=2,co
>> res=2,maxcpus=4' -nodefaults -boot
>> 'menu=on,strict=on,reboot-timeout=1000,splash=/usr/share/qemu-server/bootsplash.jpg'
>> -vnc unix:/va
>> r/run/qemu-server/100.vnc,password -cpu
>> kvm64,+lahf_lm,+sep,+kvm_pv_unhalt,+kvm_pv_eoi,enforce -m 512 -device
>> 'pci-bridge,id=pci.1,ch
>> assis_nr=1,bus=pci.0,addr=0x1e' -device
>> 'pci-bridge,id=pci.2,chassis_nr=2,bus=pci.0,addr=0x1f' -device
>> 'vmgenid,guid=a77c9b96-ad92-44
>> 34-ad4b-670c761716a8' -device
>> 'piix3-usb-uhci,id=uhci,bus=pci.0,addr=0x1.0x2' -readconfig
>> /usr/share/qemu-server/pve-usb.cfg -chardev
>> 'spicevmc,id=usbredirchardev0,name=usbredir' -device
>> 'usb-redir,chardev=usbredirchardev0,id=usbredirdev0,bus=ehci.0' -chardev
>> 'spice
>> vmc,id=usbredirchardev1,name=usbredir' -device
>> 'usb-redir,chardev=usbredirchardev1,id=usbredirdev1,bus=ehci.0' -chardev
>> 'socket,id=se
>> rial0,path=/var/run/qemu-server/100.serial0,server,nowait' -device
>> 'isa-serial,chardev=serial0' -device 'AC97,id=audiodev0,bus=pci.2,
>> addr=0xc' -audiodev 'spice,id=spice-backend0' -device
>> 'qxl-vga,id=vga,bus=pci.0,addr=0x2' -chardev
>> 'spiceport,id=foldershare,name=org
>> .spice-space.webdav.0' -device
>> 'virtserialport,chardev=foldershare,name=org.spice-space.webdav.0' -spice
>> 'tls-port=61000,addr=127.0.0
>> .1,tls-ciphers=HIGH,seamless-migration=on' -device
>> 'virtio-serial,id=spice,bus=pci.0,addr=0x9' -chardev
>> 'spicevmc,id=vdagent,name=vda
>> gent' -device 'virtserialport,chardev=vdagent,name=com.redhat.spice.0'
>> -iscsi 'initiator-name=iqn.1993-08.org.debian:01:e5dad703312'
>> -drive
>> 'file=/ISOS/template/iso/en_windows_xp_professional_sp3_Nov_2013_Incl_SATA_Drivers.iso,if=none,id=drive-ide0,media=cdrom,aio=t
>> hreads' -device 'ide-cd,bus=ide.0,unit=0,drive=drive-ide0,id=ide0' -drive
>> 'file=/dev/pve/vm-100-disk-0,if=none,id=drive-virtio1,forma
>> t=raw,cache=none,aio=native,detect-zeroes=on' -device
>> 'virtio-blk-pci,drive=drive-virtio1,id=virtio1,bus=pci.0,addr=0xb,bootindex=100
>> ' -netdev
>> 'type=tap,id=net0,ifname=tap100i0,script=/var/lib/qemu-server/pve-bridge,downscript=/var/lib/qemu-server/pve-bridgedown,vho
>> st=on' -device
>> 'virtio-net-pci,mac=DA:0E:65:16:EE:E6,netdev=net0,bus=pci.0,addr=0x12,id=net0'
>> -rtc 'driftfix=slew,base=localtime' -ma
>> chine 'type=pc'' failed: exit code 1
>>
>> This is the conf for the VM
>>
>> audio0: device=AC97,driver=spice
>> balloon: 0
>> boot: c
>> bootdisk: virtio1
>> cores: 2
>> memory: 512
>> name: teste1
>> net0: virtio=DA:0E:65:16:EE:E6,bridge=vmbr0,firewall=1
>> numa: 0
>> ostype: wxp
>> scsihw: virtio-scsi-pci
>> serial0: socket
>> smbios1: uuid=40b94d33-bff8-44ad-8938-eae2ffadfd70
>> sockets: 2
>> spice_enhancements: foldersharing=1,videostreaming=all
>> usb0: spice
>> usb1: spice
>> vga: qxl
>> virtio1: local-lvm:vm-100-disk-0,size=7G
>> vmgenid: a77c9b96-ad92-4434-ad4b-670c761716a8
>>
>> What can I do to fix this?
>>
>> Thanks a lot
>>
>> ---
>> Gilberto Nunes Ferreira
>>
>> (47) 3025-5907
>> (47) 99676-7530 - Whatsapp / Telegram
>>
>> Skype: gilberto.nunes36
>>
>>
>>
>>
> _______________________________________________
> pve-devel mailing list
> pve-devel at pve.proxmox.com
> https://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel
> 




More information about the pve-devel mailing list