libvirt/src/libxl
Daniel P. Berrange 0b7ddf9e77 Add new virDomainShutdownFlags API
Add a new API virDomainShutdownFlags and define:

    VIR_DOMAIN_SHUTDOWN_DEFAULT        = 0,
    VIR_DOMAIN_SHUTDOWN_ACPI_POWER_BTN = (1 << 0),
    VIR_DOMAIN_SHUTDOWN_GUEST_AGENT    = (1 << 1),

Also define some flags for the reboot API

    VIR_DOMAIN_REBOOT_DEFAULT        = 0,
    VIR_DOMAIN_REBOOT_ACPI_POWER_BTN = (1 << 0),
    VIR_DOMAIN_REBOOT_GUEST_AGENT    = (1 << 1),

Although these two APIs currently have the same flags, using
separate enums allows them to expand separately in the future.

Add stub impls of the new API for all existing drivers
2012-01-24 12:19:51 +01:00
..
libxl_conf.c config: report error when script given for inappropriate interface type 2012-01-08 10:52:24 -05:00
libxl_conf.h Add domainSave/Restore to libxl driver 2011-05-30 23:29:05 -06:00
libxl_driver.c Add new virDomainShutdownFlags API 2012-01-24 12:19:51 +01:00
libxl_driver.h List authors in copyright headers 2011-03-29 20:57:02 +08:00