History | View | Annotate | Download (9.8 kB)
Revert 'Fix build'
Partially revert 80a1ab598c6960e7a941e38c5d8638c532c585c3.
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Revert "Convert atexit users to exit_notifier"
This reverts commit d7234f4d7e373a708e1df9ab565a71b71b189025.
Conflicts:
hw/xen_machine_pv.c
This should have never been committed.
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Fix build
CC curses.occ1: warnings being treated as errors/src/qemu/curses.c: In function 'curses_display_init':/src/qemu/curses.c:341: error: initialization from incompatible pointer type
Convert atexit users to exit_notifier
All of these users have global state so we really don't see a benefit fromexit_notifier. However, using exit_notifier means that there's one lessjustification for having global state in the first place.
Fix curses interaction with keymaps
The combination of keymap support (-k option) and curses is currentlyvery broken. The patch below fixes it by first extending keymap supportto interpret the shift, ctrl, altgr and addupper keywords in keymaps,and to fix curses into properly using keymaps....
Revert "Get rid of _t suffix"
In the very least, a change like this requires discussion on the list.
The naming convention is goofy and it causes a massive merge problem. Somethinglike this must be presented on the list first so people can provide input...
Get rid of _t suffix
Some not so obvious bits, slirp and Xen were left alone for the timebeing.
Signed-off-by: malc <av1474@comtv.ru>
curses: save 250MB of memory
Don't call curses_resize() at the end of curses_display_init() as heightand width are not yet defined. It will be called later by code fromvl.c.
This save 250MB of memory when using -curses.
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
Fix Sparse warnings: "Using plain integer as NULL pointer"
DisplayAllocator interface (Stefano Stabellini)
Hi all,this patch adds a DisplayAllocator interface that allows displayfrontends (sdl in particular) to provide a preallocated display bufferfor the graphical backend to use.
Whenever a graphical backend cannot use...
Sparse fixes: NULL use, header order, ANSI prototypes, static
Fix Sparse warnings: * use NULL instead of plain 0 * rearrange header include order to avoid redefining types accidentally * ANSIfy SLIRP * avoid "restrict" keyword * add static
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6736 c046a42c-6fe2-441c-8c8c-71466251a162
Refactor keymap code to avoid duplication ("Daniel P. Berrange")
Each of the graphical frontends #include a .c file, for keymap coderesulting in duplicated definitions & duplicated compiled code. Acouple of small changes allowed this to be sanitized, so instead of...
toplevel: remove error handling from qemu_malloc() callers (Avi Kivity)
Signed-off-by: Avi Kivity <avi@redhat.com>Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6531 c046a42c-6fe2-441c-8c8c-71466251a162
fix curses interface (Stefano Stabellini)
Hi all,this patch fixes the curses interface: when we switch from one consoleto another we need to change the displaystate width and height eventhough in the curses case the backing buffer remains of the same size....
DisplayState interface change (Stefano Stabellini)
This patch changes the DisplayState interface adding support formultiple frontends at the same time (sdl and vnc) and implements mostof the benefit of the shared_buf patch without the added complexity....
Reintroduce TEXT_CONSOLE_FIXED_SIZE and TEXT_CONSOLE for resizable vc's.
This partially reverts r4812 to fix an issue highlighted by Ryan Harperwith all vc's being fixed size which prevented backends with resizablewindow (curses) from displaying okay....
Handle terminating signals (Gerd Hoffmann)
This patch makes qemu handle signals better. It sets the request_shutdownflag, making the main_loop exit and qemu taking the usual exit route, withatexit handlers being called and so on, instead of qemu just being killed...
Preliminary OpenBSD host support (based on OpenBSD patches by Todd T. Fries)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5012 c046a42c-6fe2-441c-8c8c-71466251a162
The non-ncurses curses doesn't have resize_term, so make resizing conditional.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3986 c046a42c-6fe2-441c-8c8c-71466251a162
Add an ncurses UI.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3976 c046a42c-6fe2-441c-8c8c-71466251a162