]> xenbits.xensource.com Git - qemu-xen-4.2-testing.git/commit
qemu-xen: add vkbd support for PV on HVM guests
authorStefano Stabellini <stefano.stabellini@eu.citrix.com>
Tue, 22 Nov 2011 16:12:40 +0000 (16:12 +0000)
committerIan Jackson <Ian.Jackson@eu.citrix.com>
Tue, 22 Nov 2011 16:12:40 +0000 (16:12 +0000)
commit9b33a3e5603ecd3ceca482a72c6ff8e951afb6d2
tree5818e0b15180afe1815ce5cf3fed32fa1520908e
parent52834188eedfbbca5636fd869d4c86b3b3044439
qemu-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.

An equivalent patch has already been committed in upstream qemu.

Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
hw/xen_machine_fv.c
hw/xenfb.c