libvirt/src/remote
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
..
qemu_protocol.x daemon: Create priority workers pool 2011-09-05 18:14:08 +02:00
remote_driver.c Add new virDomainShutdownFlags API 2012-01-24 12:19:51 +01:00
remote_driver.h maint: use gnulib configmake rather than open-coding things 2010-11-17 08:58:58 -07:00
remote_protocol.x Add new virDomainShutdownFlags API 2012-01-24 12:19:51 +01:00