[fedora-virt] No keyboard with Spice/qxl...

Alon Levy alevy at redhat.com
Wed Mar 7 20:13:55 UTC 2012


On Wed, Mar 07, 2012 at 09:50:20PM +0200, Georgios Petasis wrote:
> Dear Alon,
> 
> Στις 7/3/2012 21:13, ο/η Alon Levy έγραψε:
> >On Wed, Mar 07, 2012 at 08:50:29PM +0200, George Petasis wrote:
> >>Hi all,
> >>
> >>I am facing a problem with Spice: if I enable spice as the display
> >>model, everything works (display, mouse), but the keyboard does not
> >>work. If I use VNC as the model, the keyboard works, but the display
> >>has a slow refresh rate.
> >>
> >No idea. How are you launching qemu, with virt-manager?
> Yes. I haven't used anything from the command line.
> >  can you post the
> >qemu command line?
> I found this in the log:
> LC_ALL=C PATH=/sbin:/usr/sbin:/bin:/usr/bin QEMU_AUDIO_DRV=spice
> /usr/bin/qemu-kvm -S -M pc-0.14 -cpu core2duo,+lahf_lm,+rdtscp,+pdpe1gb,+aes,+popcnt,+x2apic,+sse4.2,+sse4.1,+dca,+xtpr,+cx16,+tm2,+est,+vmx,+ds_cpl,+pbe,+tm,+ht,+ss,+acpi,+ds
> -enable-kvm -m 4096 -smp 2,sockets=2,cores=1,threads=1 -name
> Windows-7-64 -uuid 868b4585-dfc5-7007-ae94-cf636dd05ac8 -nodefconfig
> -nodefaults -chardev socket,id=charmonitor,path=/var/lib/libvirt/qemu/Windows-7-64.monitor,server,nowait
> -mon chardev=charmonitor,id=monitor,mode=control -rtc base=localtime
> -device virtio-serial-pci,id=virtio-serial0,bus=pci.0,addr=0x7
> -drive file=/var/lib/libvirt/images/Windows-7-64.img,if=none,id=drive-virtio-disk0,format=raw
> -device virtio-blk-pci,bus=pci.0,addr=0x6,drive=drive-virtio-disk0,id=virtio-disk0,bootindex=1
> -drive file=/free/setup/Microsoft/VM dirvers/virtio-win-0.1-22.iso,if=none,media=cdrom,id=drive-ide0-1-0,readonly=on,format=raw
> -device ide-drive,bus=ide.1,unit=0,drive=drive-ide0-1-0,id=ide0-1-0
> -netdev tap,fd=24,id=hostnet0,vhost=on,vhostfd=25 -device virtio-net-pci,netdev=hostnet0,id=net0,mac=52:54:00:28:cd:67,bus=pci.0,addr=0x3
> -chardev pty,id=charserial0 -device
> isa-serial,chardev=charserial0,id=serial0 -chardev
> spicevmc,id=charchannel0,name=vdagent -device virtserialport,bus=virtio-serial0.0,nr=1,chardev=charchannel0,id=channel0,name=com.redhat.spice.0
> -usb -device usb-tablet,id=input0 -spice
> port=5900,addr=127.0.0.1,disable-ticketing -vga qxl -global
> qxl-vga.vram_size=67108864 -device
> intel-hda,id=sound0,bus=pci.0,addr=0x4 -device
> hda-duplex,id=sound0-codec0,bus=sound0.0,cad=0 -device
> virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x5
> >  If not virt-manager then what client are you using?
> I am using the virt-manager client.
> >what are the various versions?
> >
> >rpm -q spice-server qemu-kvm spice-client spice-gtk virt-manager
> spice-server-0.10.1-1.fc16.x86_64
> qemu-kvm-0.15.1-4.fc16.x86_64
> spice-client-0.10.1-1.fc16.x86_64
> spice-gtk-0.9-1.fc16.x86_64
> virt-manager-0.9.1-2.fc16.noarch
> >
> >What guest are you running?
> I am running Windows 7 (64 bit). The host is Fedora 16 (64 bit), on
> an intel sandy bridge-E (3930).
> >Can you create a network capture where you:
> >1. close any spice connections (important, current limitation of wireshark
> >dissector)
> How to do this?
> >2. start capture
> How to do this? What is capture?
> >3. connect client (if it's virt-manager, open the window)
> >4. press some keys on the keyboard
> >5. stop capture
> Thank you very much for your time,

sudo yum install tcpdump
sudo tcpdump -i lo -w /tmp/spice.cap

hopefully that file will be small (you only need a few seconds of
capture for the key presses and virt-manager spice connection, i.e.
window open). compress it if it's too large.

> 
> George
> >>Any ideas on what it may be wrong?
> >>
> >>Running fedora 16, will updates installed.
> >>
> >>Regards,
> >>
> >>George
> >>_______________________________________________
> >>virt mailing list
> >>virt at lists.fedoraproject.org
> >>https://admin.fedoraproject.org/mailman/listinfo/virt
> 


More information about the virt mailing list