]> git.proxmox.com Git - mirror_qemu.git/commit
xen: add vkbd support for PV on HVM guests
authorStefano Stabellini <stefano.stabellini@eu.citrix.com>
Fri, 24 Jun 2011 16:36:11 +0000 (17:36 +0100)
committerAlexander Graf <agraf@suse.de>
Sat, 16 Jul 2011 23:54:25 +0000 (01:54 +0200)
commit37cdfcf194825d03334542297bee3a3a4723e6e3
tree95a61f09170e10dfcd4485936a2eee9c4ea2782d
parent5e6b701aba8689a336297dda047bf760ffc05291
xen: add vkbd support for PV on HVM guests

Register the vkbd backend even when running as device emulator for HVM
guests: it is useful because it doesn't need a frequent timer like usb.

Check whether the XenInput DisplayState has been set in the initialise
state, rather than the input state.
In case the DisplayState hasn't been set and there is no vfb for this
domain, then set the XenInput DisplayState to the default one.

Changed in v2:

- use qemu_free instead of free;

Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Signed-off-by: Alexander Graf <agraf@suse.de>
hw/xenfb.c
xen-all.c