]> git.proxmox.com Git - mirror_qemu.git/commit - hw/ppc/spapr.c
pseries: Instantiate USB interface when required
authorDavid Gibson <david@gibson.dropbear.id.au>
Thu, 16 Aug 2012 02:03:56 +0000 (12:03 +1000)
committerAnthony Liguori <aliguori@us.ibm.com>
Thu, 16 Aug 2012 18:41:16 +0000 (13:41 -0500)
commit35139a590c4e2f3086d069028bda77f1de1d46b0
treee3adddfd4e8b29a0462352f3971581f10efd4a1e
parentd973ba18ced6e9440131c55b0f07e97bdbbc6703
pseries: Instantiate USB interface when required

The pseries machine already supports the -vga std option, creating a
graphics adapter.  However, this is not very useful without being able to
add a keyboard and mouse as well.  This patch addresses this by adding
a USB interface when requested, and automatically adding a USB keyboard
and mouse when VGA is enabled.

This is a stop gap measure to get usable graphics mode on pseries while
waiting for Li Zhang's rework of USB options to go in after 1.2.

Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
hw/spapr.c