]> xenbits.xensource.com Git - people/pauldu/demu.git/log
people/pauldu/demu.git
7 years agoUse new resource mapping API console
Paul Durrant [Fri, 5 Jan 2018 17:36:37 +0000 (17:36 +0000)]
Use new resource mapping API

Signed-off-by: Paul Durrant <paul.durrant@citrix.com>
7 years agoUse stable APIs where available
Paul Durrant [Thu, 21 Dec 2017 17:01:47 +0000 (17:01 +0000)]
Use stable APIs where available

Stop using the xenctrl compat layer and also re-format the code to
avoid >80 character lines

Signed-off-by: Paul Durrant <paul.durrant@citrix.com>
7 years agoMake it compile under Xen 4.10 and with a newer GCC
Paul Durrant [Thu, 21 Dec 2017 14:49:05 +0000 (14:49 +0000)]
Make it compile under Xen 4.10 and with a newer GCC

Need request compat xendevicemodel interface and fix what used to be
compiler warnings

Signed-off-by: Paul Durrant <paul.durrant@citrix.com>
8 years agoMake it compile under Xen 4.7
Paul Durrant [Tue, 14 Feb 2017 15:54:00 +0000 (15:54 +0000)]
Make it compile under Xen 4.7

With...

commit b7f76a699dcfadc0a52ab45b33cc72dbf3a69e7b
Author: Ian Campbell <ian.campbell@citrix.com>
Date:   Mon Jun 1 16:20:09 2015 +0100

    tools: Refactor /dev/xen/evtchn wrappers into libxenevtchn.

commit 32486916793fd78a41fc25e53d2b53a5aa0b1bd5
Author: Ian Campbell <ian.campbell@citrix.com>
Date:   Thu Jun 18 16:30:19 2015 +0100

    tools: Refactor foreign memory mapping into libxenforeignmemory

...we need to use the compat layer.

Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Added the necessary definitions to the Makefile rather than demu.c to
make sure they are present in all source modules.
Also, drop the direction inclusion of xenctrl_compat.h.

Signed-off-by: Paul Durrant <paul.durrant@citrix.com>
10 years agoMake sure VRAM pages are dirtied when they are cleared
Paul Durrant [Wed, 21 May 2014 16:40:25 +0000 (17:40 +0100)]
Make sure VRAM pages are dirtied when they are cleared

Signed-off-by: Paul Durrant <paul.durrant@citrix.com>
10 years agoFixes for non-power-2 PCI BAR and proper IO range spanning
Paul Durrant [Mon, 19 May 2014 13:40:21 +0000 (14:40 +0100)]
Fixes for non-power-2 PCI BAR and proper IO range spanning

Signed-off-by: Paul Durrant <paul.durrant@citrix.com>
11 years agoAPI fixes.
Paul Durrant [Wed, 2 Apr 2014 10:51:31 +0000 (11:51 +0100)]
API fixes.

Signed-off-by: Paul Durrant <paul.durrant@citrix.com>
11 years agoAbstract mouse away sligtly and add a command FIFO to make things
Paul Durrant [Mon, 10 Mar 2014 11:37:44 +0000 (11:37 +0000)]
Abstract mouse away sligtly and add a command FIFO to make things
thread-safe again.

Signed-off-by: Paul Durrant <paul.durrant@citrix.com>
11 years agoAdd command line argument for keymap.
Paul Durrant [Fri, 7 Mar 2014 17:34:55 +0000 (17:34 +0000)]
Add command line argument for keymap.

Signed-off-by: Paul Durrant <paul.durrant@citrix.com>
11 years agoWire up keyboard.
Paul Durrant [Fri, 7 Mar 2014 16:59:01 +0000 (16:59 +0000)]
Wire up keyboard.

Do the necessary key sym to scancode translation and wire this into the PS/2
keyboard emulation.

Signed-off-by: Paul Durrant <paul.durrant@citrix.com>
11 years agoMouse properly hooked up.
Paul Durrant [Mon, 3 Mar 2014 11:07:51 +0000 (11:07 +0000)]
Mouse properly hooked up.

Surface refresh and VNC client servicing also moved into a separate thread.

Signed-off-by: Paul Durrant <paul.durrant@citrix.com>
11 years agoMouse hooked up to arrow keys
Paul Durrant [Fri, 14 Feb 2014 09:50:03 +0000 (09:50 +0000)]
Mouse hooked up to arrow keys

There are still issues with rate limiting and scaling mouse movements but
hooking up to the keyboard arrow keys at least shows correct mouse movements.
I'll add a timer so that we can issue 'real' mouse events at the requisite
rate.

Signed-off-by: Paul Durrant <paul.durrant@citrix.com>
11 years agoBasic PS/2 keybaord and mouse emulation.
Paul Durrant [Thu, 13 Feb 2014 13:53:39 +0000 (13:53 +0000)]
Basic PS/2 keybaord and mouse emulation.

Sufficient to have Windows enable PS/2 keybaord and mouse but not
hooked up to VNC yet.

Signed-off-by: Paul Durrant <paul.durrant@citrix.com>
11 years agoGet rid of guest memory relocation functions.
Paul Durrant [Wed, 12 Feb 2014 13:39:24 +0000 (13:39 +0000)]
Get rid of guest memory relocation functions.

Don't need them.

Signed-off-by: Paul Durrant <paul.durrant@citrix.com>
11 years agoCode moving and renaming.
Paul Durrant [Wed, 12 Feb 2014 13:28:36 +0000 (13:28 +0000)]
Code moving and renaming.

Move verious functions with the goal of renaiming the rather generic
'device' as 'vga' so that we can introduce another device in a
subsequent patch.

Signed-off-by: Paul Durrant <paul.durrant@citrix.com>
11 years agoPut VRAM in guest memory.
Paul Durrant [Mon, 10 Feb 2014 15:50:05 +0000 (15:50 +0000)]
Put VRAM in guest memory.

The VRAM is now in guest memory and is set up when the VRAM BAR is
programmed. Text mode is still painfully slow indicating that there's
still some issue with VGA emulation, but graphics mode now looks fine.

Still no keyboard or mouse.

Signed-off-by: Paul Durrant <paul.durrant@citrix.com>
11 years agoBasic VRAM scraping console. No keyboard or mouse as yet.
Paul Durrant [Mon, 10 Feb 2014 10:57:25 +0000 (10:57 +0000)]
Basic VRAM scraping console. No keyboard or mouse as yet.

This is still totally unoptimized. VRAM is emulates and there is no
dirty memory tracking so it's all very very slow. I've also not trimmed out
all the unnecessary pixel format translation abstraction code.

Signed-off-by: Paul Durrant <paul.durrant@citrix.com>
11 years agoBasic LibVNCServer integration. Still not hooked up to VRAM.
Paul Durrant [Wed, 5 Feb 2014 14:32:19 +0000 (14:32 +0000)]
Basic LibVNCServer integration. Still not hooked up to VRAM.

Signed-off-by: Paul Durrant <paul.durrant@citrix.com>
11 years agoBasic VGA device implementation
Paul Durrant [Wed, 5 Feb 2014 13:01:51 +0000 (13:01 +0000)]
Basic VGA device implementation

VRAM is in local memory rather than guest. No surface display as yet.

Signed-off-by: Paul Durrant <paul.durrant@citrix.com>
11 years agoAdd a .gitignore
Paul Durrant [Wed, 5 Feb 2014 09:45:10 +0000 (09:45 +0000)]
Add a .gitignore

Signed-off-by: Paul Durrant <paul.durrant@citrix.com>
11 years agoUpdate to new, slightly modified, ioreq server API and rename main.c
Paul Durrant [Thu, 30 Jan 2014 13:09:35 +0000 (13:09 +0000)]
Update to new, slightly modified, ioreq server API and rename main.c
to demu.c.

Signed-off-by: Paul Durrant <paul.durrant@citrix.com>
11 years agoUse new PCI hotplug API
Paul Durrant [Thu, 16 Jan 2014 14:39:04 +0000 (14:39 +0000)]
Use new PCI hotplug API

Signed-off-by: Paul Durrant <paul.durrant@citrix.com>
11 years agoInitial commit
Paul Durrant [Wed, 13 Nov 2013 16:23:45 +0000 (16:23 +0000)]
Initial commit

Signed-off-by: Paul Durrant <paul.durrant@citrix.com>