Re: [PATCH libvirt-glib] Add flags for controling how domains are started

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



ACK

On Tue, Dec 06, 2011 at 11:43:00AM +0000, Daniel P. Berrange wrote:
> From: "Daniel P. Berrange" <berrange@xxxxxxxxxx>
> 
> ---
>  libvirt-gobject/libvirt-gobject-domain.h |    8 ++++++++
>  libvirt-gobject/libvirt-gobject.sym      |    1 +
>  2 files changed, 9 insertions(+), 0 deletions(-)
> 
> diff --git a/libvirt-gobject/libvirt-gobject-domain.h b/libvirt-gobject/libvirt-gobject-domain.h
> index 5525d9c..b9e39dd 100644
> --- a/libvirt-gobject/libvirt-gobject-domain.h
> +++ b/libvirt-gobject/libvirt-gobject-domain.h
> @@ -80,6 +80,14 @@ typedef enum {
>  } GVirDomainState;
>  
>  
> +typedef enum {
> +    GVIR_DOMAIN_START_NONE         = 0,
> +    GVIR_DOMAIN_START_PAUSED       = (1 << 0),
> +    GVIR_DOMAIN_START_AUTODESTROY  = (1 << 1),
> +    GVIR_DOMAIN_START_BYPASS_CACHE = (1 << 2),
> +    GVIR_DOMAIN_START_FORCE_BOOT   = (1 << 3),
> +} GVirDomainStartFlags;
> +
>  typedef struct _GVirDomainInfo GVirDomainInfo;
>  struct _GVirDomainInfo
>  {
> diff --git a/libvirt-gobject/libvirt-gobject.sym b/libvirt-gobject/libvirt-gobject.sym
> index 3727fb7..d0444bd 100644
> --- a/libvirt-gobject/libvirt-gobject.sym
> +++ b/libvirt-gobject/libvirt-gobject.sym
> @@ -44,6 +44,7 @@ LIBVIRT_GOBJECT_0.0.1 {
>  	gvir_domain_handle_get_type;
>  	gvir_domain_info_get_type;
>  	gvir_domain_state_get_type;
> +	gvir_domain_start_flags_get_type;
>  	gvir_domain_get_name;
>  	gvir_domain_get_uuid;
>  	gvir_domain_get_id;
> -- 
> 1.7.7.3
> 
> --
> libvir-list mailing list
> libvir-list@xxxxxxxxxx
> https://www.redhat.com/mailman/listinfo/libvir-list

Attachment: pgpPT3DMoUaj6.pgp
Description: PGP signature

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]