Re: [libvirt] [PATCH 5/9] Wire protocol format

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

 



On Thu, Jan 14, 2010 at 10:42:42AM -0700, Jim Fehlig wrote:
> Definition of wire protocol format for
> virDomain{Attach,Detach}DeviceFlags.
> ---
>  src/remote/remote_protocol.x |   17 ++++++++++++++++-
>  1 files changed, 16 insertions(+), 1 deletions(-)
> 
> diff --git a/src/remote/remote_protocol.x b/src/remote/remote_protocol.x
> index bed3940..98953a9 100644
> --- a/src/remote/remote_protocol.x
> +++ b/src/remote/remote_protocol.x
> @@ -708,11 +708,23 @@ struct remote_domain_attach_device_args {
>      remote_nonnull_string xml;
>  };
>  
> +struct remote_domain_attach_device_flags_args {
> +    remote_nonnull_domain dom;
> +    remote_nonnull_string xml;
> +    unsigned int flags;
> +};
> +
>  struct remote_domain_detach_device_args {
>      remote_nonnull_domain dom;
>      remote_nonnull_string xml;
>  };
>  
> +struct remote_domain_detach_device_flags_args {
> +    remote_nonnull_domain dom;
> +    remote_nonnull_string xml;
> +    unsigned int flags;
> +};
> +
>  struct remote_domain_get_autostart_args {
>      remote_nonnull_domain dom;
>  };
> @@ -1641,7 +1653,10 @@ enum remote_procedure {
>      REMOTE_PROC_INTERFACE_IS_ACTIVE = 156,
>      REMOTE_PROC_GET_LIB_VERSION = 157,
>      REMOTE_PROC_CPU_COMPARE = 158,
> -    REMOTE_PROC_DOMAIN_MEMORY_STATS = 159
> +    REMOTE_PROC_DOMAIN_MEMORY_STATS = 159,
> +    REMOTE_PROC_DOMAIN_ATTACH_DEVICE_FLAGS = 160,
> +
> +    REMOTE_PROC_DOMAIN_DETACH_DEVICE_FLAGS = 161
>  
>      /*
>       * Notice how the entries are grouped in sets of 10 ?
> -- 

ACK


Daniel
-- 
|: Red Hat, Engineering, London   -o-   http://people.redhat.com/berrange/ :|
|: http://libvirt.org  -o-  http://virt-manager.org  -o-  http://ovirt.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: GnuPG: 7D3B9505  -o-  F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 :|

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