This website requires JavaScript.
Explore
Help
Register
Sign In
xemu-project
/
xemu
Watch
1
Star
0
Fork
0
You've already forked xemu
mirror of
https://github.com/xemu-project/xemu.git
synced
2024-12-01 07:21:09 +00:00
Code
Issues
Actions
Packages
Projects
Releases
Wiki
Activity
9a542a4821
xemu
/
hw
/
msmouse.h
3 lines
83 B
C
Raw
Normal View
History
Unescape
Escape
QEMU Microsoft serial mouse emulation Adds "msmouse" character device, which emulates a serial mouse. Use it with -serial msmouse. Signed-Off-By: Lubomir Rintel <lkundrak@v3.sk> Signed-off-by: Aurelien Jarno <aurelien@aurel32.net> git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6559 c046a42c-6fe2-441c-8c8c-71466251a162
2009-02-08 15:53:20 +00:00
/* msmouse.c */
qemu-char: Print strerror message on failure The only way for chardev drivers to communicate an error was to return a NULL pointer, which resulted in an error message that said _that_ something went wrong, but not _why_. This patch changes the interface to return 0/-errno and updates qemu_chr_open_opts to use strerror to display a more helpful error message. Signed-off-by: Kevin Wolf <kwolf@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
2011-06-01 11:29:11 +00:00
int
qemu_chr_open_msmouse
(
QemuOpts
*
opts
,
CharDriverState
*
*
_chr
)
;
Reference in New Issue
Copy Permalink