mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 00:03:54 -06:00
hw/display/xenfb.c: Add trace_xenfb_key_event
It may be better to add a trace event to monitor the last moment of a key event from QEMU to guest VM Signed-off-by: Liang Yan <lyan@suse.com> Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
This commit is contained in:
parent
b9710bc911
commit
6ec83befe1
2 changed files with 2 additions and 0 deletions
|
@ -290,6 +290,7 @@ static void xenfb_key_event(void *opaque, int scancode)
|
|||
scancode |= 0x80;
|
||||
xenfb->extended = 0;
|
||||
}
|
||||
trace_xenfb_key_event(opaque, scancode2linux[scancode], down);
|
||||
xenfb_send_key(xenfb, down, scancode2linux[scancode]);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue