qemu-e2k/ui
Claudio Fontana b0c3cf9407 cpu-throttle: new module, extracted from cpus.c
move the vcpu throttling functionality into its own module.

This functionality is not specific to any accelerator,
and it is used currently by migration to slow down guests to try to
have migrations converge, and by the cocoa MacOS UI to throttle speed.

cpu-throttle contains the controls to adjust and inspect throttle
settings, start (set) and stop vcpu throttling, and the throttling
function itself that is run periodically on vcpus to make them take a nap.

Execution of the throttling function on all vcpus is triggered by a timer,
registered at module initialization.

No functionality change.

Signed-off-by: Claudio Fontana <cfontana@suse.de>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Laurent Vivier <lvivier@redhat.com>
Message-Id: <20200629093504.3228-3-cfontana@suse.de>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2020-07-10 18:04:49 -04:00
..
icons
keycodemapdb@6b3d716e2b
shader
cocoa.m cpu-throttle: new module, extracted from cpus.c 2020-07-10 18:04:49 -04:00
console-gl.c
console.c qom: Put name parameter before value / visitor parameter 2020-07-10 15:18:08 +02:00
curses_keys.h
curses.c
cursor_hidden.xpm
cursor_left_ptr.xpm
cursor.c
egl-context.c
egl-headless.c
egl-helpers.c
gtk-egl.c
gtk-gl-area.c
gtk.c ui: increase min required GTK version to 3.22.0 2020-05-19 09:06:44 +02:00
input-barrier.c qom: Drop parameter @errp of object_property_add() & friends 2020-05-15 07:07:58 +02:00
input-barrier.h
input-keymap.c
input-legacy.c
input-linux.c qom: Drop parameter @errp of object_property_add() & friends 2020-05-15 07:07:58 +02:00
input.c
kbd-state.c
keymaps.c
keymaps.h
Makefile.objs ui/win32-kbd-hook: handle AltGr in a hook procedure 2020-05-19 09:06:44 +02:00
qemu-pixman.c
qemu-x509.h
qemu.desktop
sdl2-2d.c
sdl2-gl.c
sdl2-input.c ui/sdl2-input: use trace-events to debug key events 2020-05-19 09:06:44 +02:00
sdl2.c ui/sdl2: start in full screen with grab enabled 2020-05-19 09:06:44 +02:00
shader.c
spice-app.c
spice-core.c
spice-display.c
spice-input.c
trace-events ui/sdl2-input: use trace-events to debug key events 2020-05-19 09:06:44 +02:00
vgafont.h
vnc_keysym.h
vnc-auth-sasl.c
vnc-auth-sasl.h
vnc-auth-vencrypt.c
vnc-auth-vencrypt.h
vnc-enc-hextile-template.h
vnc-enc-hextile.c
vnc-enc-tight.c
vnc-enc-tight.h
vnc-enc-zlib.c
vnc-enc-zrle.c
vnc-enc-zrle.h
vnc-enc-zrle.inc.c
vnc-enc-zywrle-template.c
vnc-enc-zywrle.h
vnc-jobs.c
vnc-jobs.h
vnc-palette.c
vnc-palette.h
vnc-stubs.c
vnc-ws.c
vnc-ws.h
vnc.c qom: Crash more nicely on object_property_get_link() failure 2020-07-10 15:18:08 +02:00
vnc.h
win32-kbd-hook.c ui/win32-kbd-hook: handle AltGr in a hook procedure 2020-05-19 09:06:44 +02:00
x_keymap.c
x_keymap.h