libvirt/src/util
Srivatsa S. Bhat e352b16400 Export KVM Host Power Management capabilities
This patch exports KVM Host Power Management capabilities as XML so that
higher-level systems management software can make use of these features
available in the host.

The script "pm-is-supported" (from pm-utils package) is run to discover if
Suspend-to-RAM (S3) or Suspend-to-Disk (S4) is supported by the host.
If either of them are supported, then a new tag "<power_management>" is
introduced in the XML under the <host> tag.

However in case the query to check for power management features succeeded,
but the host does not support any such feature, then the XML will contain
an empty <power_management/> tag. In the event that the PM query itself
failed, the XML will not contain any "power_management" tag.

To use this, new APIs could be implemented in libvirt to exploit power
management features such as S3/S4.
2011-11-22 11:31:22 +08:00
..
authhelper.c
authhelper.h
bitmap.c
bitmap.h
buf.c Fix strchr call triggering gcc 4.3 & 4.4 bug 2011-11-15 15:00:10 -05:00
buf.h virbuf: add auto-indentation support 2011-10-20 16:02:16 -06:00
cgroup.c Don't leak memory if a cgroup is mounted multiple times 2011-08-31 17:51:09 +01:00
cgroup.h cgroup: Implement cpu.cfs_period_us and cpu.cfs_quota_us tuning API 2011-07-21 17:11:12 +08:00
command.c command: avoid fd leak on failure 2011-10-13 11:48:42 -06:00
command.h command: move all docs into .c file 2011-07-21 10:34:51 -06:00
conf.c Allow for URI aliases when connecting to libvirt 2011-10-19 09:14:34 +01:00
conf.h
dnsmasq.c Santize naming of socket address APIs 2011-11-09 17:10:23 +00:00
dnsmasq.h Split src/util/network.{c,h} into 5 pieces 2011-11-15 10:27:54 +00:00
ebtables.c
ebtables.h
event_poll.c Rewrite all the DTrace/SystemTAP probing 2011-10-11 11:26:13 +01:00
event_poll.h
event.c
event.h
hash.c Add function to get hash table's key/value pairs 2011-11-18 11:58:17 -05:00
hash.h Add function to get hash table's key/value pairs 2011-11-18 11:58:17 -05:00
hooks.c utils: More useful error message for hook script failure 2011-07-29 22:40:47 +08:00
hooks.h
hostusb.c
hostusb.h
iohelper.c save: let iohelper work on O_DIRECT fds 2011-07-21 16:24:08 -06:00
iptables.c Santize naming of socket address APIs 2011-11-09 17:10:23 +00:00
iptables.h Split src/util/network.{c,h} into 5 pieces 2011-11-15 10:27:54 +00:00
json.c
json.h
keymaps.csv
logging.c Fix off-by-one printing month in logging code 2011-11-02 14:55:35 +00:00
logging.h logging: Do not log timestamp through syslog 2011-09-29 13:42:34 +02:00
memory.c
memory.h
netlink.c
netlink.h
pci.c qemu: Restore the original states of PCI device when restarting daemon 2011-10-30 13:00:06 +08:00
pci.h qemu: Restore the original states of PCI device when restarting daemon 2011-10-30 13:00:06 +08:00
processinfo.c
processinfo.h
qparams.c
qparams.h
sexpr.c Don't copy sexpr node value that is an empty string 2011-11-18 16:00:31 -07:00
sexpr.h
stats_linux.c build: rename files.h to virfile.h 2011-07-21 10:34:51 -06:00
stats_linux.h
storage_file.c build: silence coverity false positives 2011-08-02 16:39:01 -06:00
storage_file.h
sysinfo.c snapshot: simplify indentation of sysinfo 2011-10-20 16:02:16 -06:00
sysinfo.h snapshot: simplify indentation of sysinfo 2011-10-20 16:02:16 -06:00
threadpool.c Threadpool: Initialize new dynamic workers 2011-09-07 14:23:26 +02:00
threadpool.h daemon: Create priority workers pool 2011-09-05 18:14:08 +02:00
threads-pthread.c build: silence compiler warning on BSD 2011-11-04 16:43:37 -06:00
threads-pthread.h
threads-win32.c
threads-win32.h
threads.c
threads.h
util.c Export KVM Host Power Management capabilities 2011-11-22 11:31:22 +08:00
util.h Export KVM Host Power Management capabilities 2011-11-22 11:31:22 +08:00
uuid.c util: Fix virUUIDGeneratePseudoRandomBytes 2011-10-28 08:54:34 -06:00
uuid.h build: add compiler attributes to virUUIDParse 2011-10-13 12:23:37 -06:00
viraudit.c build: rename files.h to virfile.h 2011-07-21 10:34:51 -06:00
viraudit.h
virfile.c Introduce virFileRewrite for safe file rewrite 2011-10-27 20:11:24 +02:00
virfile.h Introduce virFileRewrite for safe file rewrite 2011-10-27 20:11:24 +02:00
virkeycode-mapgen.py Fix keymap used to talk with QEMU 2011-08-26 14:18:57 +01:00
virkeycode.c Fix keymap used to talk with QEMU 2011-08-26 14:18:57 +01:00
virkeycode.h
virnetdev.c Move functions for dealing with physical/virtual devices 2011-11-18 16:10:02 +00:00
virnetdev.h Move functions for dealing with physical/virtual devices 2011-11-18 16:10:02 +00:00
virnetdevbandwidth.c Split src/util/network.{c,h} into 5 pieces 2011-11-15 10:27:54 +00:00
virnetdevbandwidth.h Split src/util/network.{c,h} into 5 pieces 2011-11-15 10:27:54 +00:00
virnetdevbridge.c Split bridge.h into three separate files 2011-11-09 16:34:25 +00:00
virnetdevbridge.h Split bridge.h into three separate files 2011-11-09 16:34:25 +00:00
virnetdevmacvlan.c build: fix compile error with no macvtap 2011-11-18 14:58:11 -07:00
virnetdevmacvlan.h Allow creation of plain macvlan devices 2011-11-18 16:10:37 +00:00
virnetdevtap.c Split src/util/network.{c,h} into 5 pieces 2011-11-15 10:27:54 +00:00
virnetdevtap.h Split bridge.h into three separate files 2011-11-09 16:34:25 +00:00
virnetdevveth.c Move LXC veth.c code into shared utility APIs 2011-11-15 10:28:02 +00:00
virnetdevveth.h Move LXC veth.c code into shared utility APIs 2011-11-15 10:28:02 +00:00
virnetdevvportprofile.c Move ifaceMacvtapLinkDump and ifaceGetNthParent functions 2011-11-18 16:10:02 +00:00
virnetdevvportprofile.h Rename and split the macvtap.c file 2011-11-18 16:10:01 +00:00
virpidfile.c debug: Annotate some variables as unused 2011-09-27 10:16:46 +02:00
virpidfile.h Add some APIs which use locking for crashsafe pidfile handling 2011-08-12 20:37:00 +01:00
virsocketaddr.c Split src/util/network.{c,h} into 5 pieces 2011-11-15 10:27:54 +00:00
virsocketaddr.h Split src/util/network.{c,h} into 5 pieces 2011-11-15 10:27:54 +00:00
virterror_internal.h
virterror.c Export KVM Host Power Management capabilities 2011-11-22 11:31:22 +08:00
xml.c Introduce virXMLSaveFile as a wrapper for virFileRewrite 2011-10-27 20:13:06 +02:00
xml.h Introduce virXMLSaveFile as a wrapper for virFileRewrite 2011-10-27 20:13:06 +02:00