]> git.proxmox.com Git - mirror_qemu.git/commit
qga: guest_suspend: decoupling pm-utils and sys logic
authorDaniel Henrique Barboza <danielhb413@gmail.com>
Thu, 21 Jun 2018 10:21:50 +0000 (07:21 -0300)
committerMichael Roth <mdroth@linux.vnet.ibm.com>
Tue, 3 Jul 2018 20:20:51 +0000 (15:20 -0500)
commit246d76eba1944d7e59affb288ec27d7fcfb5d256
tree68197588cc5748cbf2dd13b3d8e686dc5f57ee4b
parenta5fcf0e3e491ede0d03e71f064e8e6d24e889aab
qga: guest_suspend: decoupling pm-utils and sys logic

Following the same logic of the previous patch, let's also
decouple the suspend logic from guest_suspend into specialized
functions, one for each strategy we support at this moment.

Signed-off-by: Daniel Henrique Barboza <danielhb413@gmail.com>
Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
qga/commands-posix.c