qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH 0/2 v2] xenfb: Fix protocol for HVM guests
@ 2017-07-03 13:17 Owen Smith
  2017-07-03 13:17 ` [Qemu-devel] [PATCH 1/2 v2] xenfb: Use qemu_input_handler_* calls directly Owen Smith
  2017-07-03 13:17 ` [Qemu-devel] [PATCH 2/2 v2] xenfb: Allow vkbd to connect without a DisplayState Owen Smith
  0 siblings, 2 replies; 6+ messages in thread
From: Owen Smith @ 2017-07-03 13:17 UTC (permalink / raw)
  To: qemu-devel; +Cc: xen-devel, sstabellini, anthony.perard, kraxel, Owen Smith

This series is intended to alow HVM guests to use the vkbd device with a
PV frontend driver. Initial version at:
http://xenbits.xen.org/gitweb/?p=pvdrivers/win/xenvkbd.git;a=tree

Since the vkbd device is initialised for HVM guests, using the vkbd device
can allow the disabling of the USB controller and USB tablet and maintaining
the same easy to use absolute pointer. The main problem, is that the vkbd 
device does not connect unless a vfb device is present, to facilitate the
rescaling of absolute coordinates.
This series rearranges the input handlers to use the qemu_input_handler_*
functions, by using the callbacks directly, rather than via the compatability
layer in input-legacy.c. The series also registers the "feature-raw-pointer"
feature to indicate the backend can supply raw unscaled absolute cordinates.
The frontend uses "request-raw-pointer" to request raw unscaled values.

Adding the feature is also to enable detecting the difference between older,
broken, backend and newer backends that can connect without the vfb present.

v2:
* reworks the input handlers to use qemu_input_handler_* functions
* rename the feature proposed to a better name - the name better reflects the
  intended use-case (raw pointer vs backend requires vfb device)

Owen Smith (2):
  xenfb: Use qemu_input_handler_* calls directly
  xenfb: Allow vkbd to connect without a DisplayState

 hw/display/xenfb.c | 157 +++++++++++++++++++++++++++++++++++++++++++++++------
 1 file changed, 139 insertions(+), 18 deletions(-)

-- 
2.1.4

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2017-07-05 23:54 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-07-03 13:17 [Qemu-devel] [PATCH 0/2 v2] xenfb: Fix protocol for HVM guests Owen Smith
2017-07-03 13:17 ` [Qemu-devel] [PATCH 1/2 v2] xenfb: Use qemu_input_handler_* calls directly Owen Smith
2017-07-05 23:42   ` Stefano Stabellini
2017-07-03 13:17 ` [Qemu-devel] [PATCH 2/2 v2] xenfb: Allow vkbd to connect without a DisplayState Owen Smith
2017-07-04  9:30   ` [Qemu-devel] [Xen-devel] " Oleksandr Grytsov
2017-07-05 23:54   ` [Qemu-devel] " Stefano Stabellini

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).