From: Jes Sorensen <jes.soren...@redhat.com> Hi,
This is a fairly simple fix for the problem where the keyboard event handler is left in place when a keyboard is unplugged, eg. USB. The long term solution would be to use Shahar Havivi's multi-keyboard support patch[1] from March, but until Shahar's patch is ready, this one fixes the current crash problem. Cheers, Jes [1]: http://www.mail-archive.com/qemu-devel@nongnu.org/msg28589.html Jes Sorensen (1): un-register kbd driver in case of USB kbd unplug. console.h | 1 + hw/usb-hid.c | 3 +++ input.c | 6 ++++++ 3 files changed, 10 insertions(+), 0 deletions(-)