Re: [libvirt-glib 2/6] gconfig: Add GVirConfigDomainDiskFormat enum

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

 



On 04.06.2013 18:50, Christophe Fergeau wrote:
> ---
>  libvirt-gconfig/libvirt-gconfig-domain-disk.h | 20 ++++++++++++++++++++
>  libvirt-gconfig/libvirt-gconfig.sym           |  2 ++
>  2 files changed, 22 insertions(+)
> 
> diff --git a/libvirt-gconfig/libvirt-gconfig-domain-disk.h b/libvirt-gconfig/libvirt-gconfig-domain-disk.h
> index 7363d31..e80a2fc 100644
> --- a/libvirt-gconfig/libvirt-gconfig-domain-disk.h
> +++ b/libvirt-gconfig/libvirt-gconfig-domain-disk.h
> @@ -101,6 +101,26 @@ typedef enum {
>      GVIR_CONFIG_DOMAIN_DISK_STARTUP_POLICY_OPTIONAL
>  } GVirConfigDomainDiskStartupPolicy;
>  
> +typedef enum {
> +      GVIR_CONFIG_DOMAIN_DISK_FORMAT_RAW,
> +      GVIR_CONFIG_DOMAIN_DISK_FORMAT_DIR,
> +      GVIR_CONFIG_DOMAIN_DISK_FORMAT_BOCHS,
> +      GVIR_CONFIG_DOMAIN_DISK_FORMAT_CLOOP,
> +      GVIR_CONFIG_DOMAIN_DISK_FORMAT_COW,
> +      GVIR_CONFIG_DOMAIN_DISK_FORMAT_DMG,
> +      GVIR_CONFIG_DOMAIN_DISK_FORMAT_ISO,
> +      GVIR_CONFIG_DOMAIN_DISK_FORMAT_QCOW,
> +      GVIR_CONFIG_DOMAIN_DISK_FORMAT_QCOW2,
> +      GVIR_CONFIG_DOMAIN_DISK_FORMAT_QED,
> +      GVIR_CONFIG_DOMAIN_DISK_FORMAT_VMDK,
> +      GVIR_CONFIG_DOMAIN_DISK_FORMAT_VPC,
> +      GVIR_CONFIG_DOMAIN_DISK_FORMAT_FAT,
> +      GVIR_CONFIG_DOMAIN_DISK_FORMAT_VHD,
> +} GVirConfigDomainDiskFormat;
> +
> +/* backward compatibility */
> +#define GVIR_CONFIG_DOMAIN_DISK_FORMAT_AIO GVIR_CONFIG_DOMAIN_DISK_FORMAT_RAW;

Backward compatibility?

> +
>  GType gvir_config_domain_disk_get_type(void);
>  
>  GVirConfigDomainDisk *gvir_config_domain_disk_new(void);
> diff --git a/libvirt-gconfig/libvirt-gconfig.sym b/libvirt-gconfig/libvirt-gconfig.sym
> index ccddd88..ccca05f 100644
> --- a/libvirt-gconfig/libvirt-gconfig.sym
> +++ b/libvirt-gconfig/libvirt-gconfig.sym
> @@ -517,6 +517,8 @@ LIBVIRT_GCONFIG_0.1.7 {
>  	gvir_config_domain_channel_get_target_name;
>  	gvir_config_domain_channel_get_target_type;
>  
> +	gvir_config_domain_disk_format_get_type;
> +
>  	gvir_config_domain_graphics_desktop_get_type;
>  	gvir_config_domain_graphics_desktop_new;
>  	gvir_config_domain_graphics_desktop_new_from_xml;
> 

--
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]