[libvirt] [PATCH libvirt-glib 04/15] Add the domain OS type for containers

Christophe Fergeau cfergeau at redhat.com
Thu Dec 1 15:27:31 UTC 2011


On Thu, Dec 01, 2011 at 02:05:32PM +0000, Daniel P. Berrange wrote:
> From: "Daniel P. Berrange" <berrange at redhat.com>
> 
> ---
>  libvirt-gconfig/libvirt-gconfig-domain-os.h |    3 ++-
>  1 files changed, 2 insertions(+), 1 deletions(-)
> 
> diff --git a/libvirt-gconfig/libvirt-gconfig-domain-os.h b/libvirt-gconfig/libvirt-gconfig-domain-os.h
> index 2b85866..1665e3d 100644
> --- a/libvirt-gconfig/libvirt-gconfig-domain-os.h
> +++ b/libvirt-gconfig/libvirt-gconfig-domain-os.h
> @@ -58,7 +58,8 @@ struct _GVirConfigDomainOsClass
>  
>  typedef enum {
>      GVIR_CONFIG_DOMAIN_OS_TYPE_HVM,
> -    GVIR_CONFIG_DOMAIN_OS_TYPE_LINUX
> +    GVIR_CONFIG_DOMAIN_OS_TYPE_LINUX,
> +    GVIR_CONFIG_DOMAIN_OS_TYPE_EXE

Ah, this is missing from http://libvirt.org/formatdomain.html#elementsOS
Looking at domain_conf.c, it seems xen "xen" and "uml" are also acceptable
values ?

ACK

>  } GVirConfigDomainOsType;
>  
>  typedef enum {
> -- 
> 1.7.6.4
> 
> --
> libvir-list mailing list
> libvir-list at redhat.com
> https://www.redhat.com/mailman/listinfo/libvir-list
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20111201/a8ad11fc/attachment-0001.sig>


More information about the libvir-list mailing list