diff options
author | Daniel Henrique Barboza <danielhb413@gmail.com> | 2018-06-21 07:21:48 -0300 |
---|---|---|
committer | Michael Roth <mdroth@linux.vnet.ibm.com> | 2018-07-03 15:20:51 -0500 |
commit | 304a0fcb397efba40dffded985a6539143cca82c (patch) | |
tree | ce4191f4eb65656d2b5866cb9c2da98ffbd32a3d /replication.c | |
parent | 743c71d03c20d64f2bae5fba6f26cdf5e4b1bda6 (diff) |
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 'replication.c')
0 files changed, 0 insertions, 0 deletions