[libvirt] [PATCH 1/2] Update structure & XML definitions to support <hostdev caps=net>.

Daniel P. Berrange berrange at redhat.com
Fri Apr 5 11:22:07 UTC 2013


On Fri, Apr 05, 2013 at 03:28:07AM -0400, Bogdan Purcareata wrote:
> This updates the definitions and supporting structures in the XML 
> schema and domain configuration files.
> 
> Signed-off-by: Bogdan Purcareata <bogdan.purcareata at freescale.com>
> ---
>  docs/formatdomain.html.in     | 15 +++++++++++++--
>  docs/schemas/domaincommon.rng | 14 ++++++++++++++
>  src/conf/domain_conf.c        | 28 +++++++++++++++++++++++++++-
>  src/conf/domain_conf.h        |  4 ++++
>  4 files changed, 58 insertions(+), 3 deletions(-)

> @@ -422,6 +423,9 @@ struct _virDomainHostdevCaps {
>          struct {
>              char *chardev;
>          } misc;
> +        struct {
> +            char *interface;
> +        } net;

You'll need to  s/interface/iface/ since 'interface' clashes with
a symbol in the public header files on Win32 platforms :-(

Looks good apart from that.

Daniel
-- 
|: http://berrange.com      -o-    http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org              -o-             http://virt-manager.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org       -o-       http://live.gnome.org/gtk-vnc :|




More information about the libvir-list mailing list