libvirt/src/openvz
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
..
openvz_conf.c Fix default console type setting 2011-11-03 12:01:48 +00:00
openvz_conf.h openvz: Add simple test for openvzReadNetworkConf 2011-06-01 11:58:15 +02:00
openvz_driver.c Add new virDomainShutdownFlags API 2012-01-24 12:19:51 +01:00
openvz_driver.h build: consistently indent preprocessor directives 2010-03-09 19:22:28 +01:00