qemu-devel
[Top][All Lists]
Advanced

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

[Qemu-devel] [Bug 1738283] Re: 'Less than' (<), 'more than' (>), and 'pi


From: Adam Williamson
Subject: [Qemu-devel] [Bug 1738283] Re: 'Less than' (<), 'more than' (>), and 'pipe' (|) can't be typed via VNC
Date: Wed, 20 Dec 2017 22:40:00 -0000

Aha. This looks like my bug!

I'm running into this in what I suspect is the same situation as Michal
Nowak: openQA. But in Fedora. openQA (well, its test runner, os-
autoinst) works by running virtual machines and interacting with them
over VNC. It seems that with qemu 2.11, typing certain characters
doesn't work right, where it worked fine with 2.10. The case I ran into
is the < case: when os-autoinst intends to type a < (which it does by
sending the keysym for shift and then the keysym 60, for <), it winds up
typing a > . This winds up causing os-autoinst's test suite to fail when
attempting to build the package on Fedora Rawhide. The test suite passes
on Fedora 27 (qemu 2.10).

The qemu command in my test is:

/usr/bin/qemu-system-i386 -serial file:serial0 -soundhw ac97 -vga cirrus
-m 1024 -netdev user,id=qanet0 -device virtio-
net,netdev=qanet0,mac=52:54:00:12:34:56 -device ide-
drive,drive=hd1,serial=1 -drive
file=raid/l1,cache=unsafe,if=none,id=hd1,format=qcow2 -drive
media=cdrom,if=none,id=cd0,format=raw,file=/builddir/build/BUILD/os-
autoinst-25191d50d54eaded10b6b26199bb986728dcd5c2/t/data//Core-7.2.iso
-device ide-cd,drive=cd0 -boot once=d,menu=on,splash-time=5000 -smp 1
-no-shutdown -vnc :90,share=force-shared -qmp
unix:qmp_socket,server,nowait -monitor unix:hmp_socket,server,nowait -S
-monitor telnet:127.0.0.1:15222,server,nowait

note there doesn't appear to be any explicit keyboard map setting there.

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1738283

Title:
  'Less than' (<), 'more than' (>), and 'pipe' (|) can't be typed via
  VNC

Status in QEMU:
  New

Bug description:
  If I start QEMU 2.11 (from
  https://build.opensuse.org/package/show/Virtualization/qemu) VM with
  VNC, I am unable to type following three characters: 'less than' (<),
  'more than' (>), and 'pipe' (|) on en_US QWERTY keyboard. Other
  characters work fine. QEMu version 2.10.1 worked fine.

  /usr/bin/qemu-kvm -m 2048 -cpu kvm64 -drive
  media=cdrom,if=none,id=cd0,format=raw,file=OI-hipster-
  minimal-20171031.iso -device ide-cd,drive=cd0 -boot once=d,menu=on
  ,splash-time=5000 -device usb-ehci -device usb-tablet -smp 1 -enable-
  kvm -vnc :91,share=force-shared

  The ISO can be downloaded here: https://www.openindiana.org/download/

  Also tried Fedora-Server-dvd-x86_64-25-1.3.iso and it's the same
  situation.

  If I run the same command without '-vnc :91,share=force-shared',
  everything works just fine.

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1738283/+subscriptions



reply via email to

[Prev in Thread] Current Thread [Next in Thread]