summary refs log tree commit diff stats
path: root/linux-user/signal.c
diff options
context:
space:
mode:
authorDaniel Henrique Barboza <danielhb413@gmail.com>2018-06-21 07:21:48 -0300
committerMichael Roth <mdroth@linux.vnet.ibm.com>2018-07-03 15:20:51 -0500
commit304a0fcb397efba40dffded985a6539143cca82c (patch)
treece4191f4eb65656d2b5866cb9c2da98ffbd32a3d /linux-user/signal.c
parent743c71d03c20d64f2bae5fba6f26cdf5e4b1bda6 (diff)
downloadfocaccia-qemu-304a0fcb397efba40dffded985a6539143cca82c.tar.gz
focaccia-qemu-304a0fcb397efba40dffded985a6539143cca82c.zip
qga: refactoring qmp_guest_suspend_* functions
To be able to add new suspend mechanisms we need to detach
the existing QMP functions from the current implementation
specifics.

At this moment we have functions such as qmp_guest_suspend_ram
calling bios_suspend_mode and guest_suspend passing the
pmutils command and arguments as parameters. This patch
removes this logic from the QMP functions, moving them to
the respective functions that will have to deal with which
binary to use.

Signed-off-by: Daniel Henrique Barboza <danielhb413@gmail.com>
Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
Diffstat (limited to 'linux-user/signal.c')
0 files changed, 0 insertions, 0 deletions