[libvirt] [PATCH v4 02/11] XML parsing/formating code for CPU flags

Daniel Veillard veillard at redhat.com
Fri Dec 18 14:04:27 UTC 2009


On Thu, Dec 17, 2009 at 09:21:36PM +0100, Jiri Denemark wrote:
> 
> Signed-off-by: Jiri Denemark <jdenemar at redhat.com>
> ---
>  include/libvirt/virterror.h |    1 +
>  proxy/Makefile.am           |    1 +
>  src/Makefile.am             |    9 +-
>  src/conf/capabilities.c     |   31 ++++-
>  src/conf/capabilities.h     |    6 +
>  src/conf/cpu_conf.c         |  368 +++++++++++++++++++++++++++++++++++++++++++
>  src/conf/cpu_conf.h         |  119 ++++++++++++++
>  src/conf/domain_conf.c      |   15 ++
>  src/conf/domain_conf.h      |    2 +
>  src/libvirt_private.syms    |    9 +
>  src/util/virterror.c        |    3 +
>  11 files changed, 561 insertions(+), 3 deletions(-)
>  create mode 100644 src/conf/cpu_conf.c
>  create mode 100644 src/conf/cpu_conf.h
> 

> --- /dev/null
> +++ b/src/conf/cpu_conf.c
> @@ -0,0 +1,368 @@
> +/*
> + * cpu_conf.h: CPU XML handling
> + *
> + * Copyright (C) 2009 Red Hat, Inc.
> + *
> + * This library is free software; you can redistribute it and/or
> + * modify it under the terms of the GNU Lesser General Public
> + * License as published by the Free Software Foundation; either
> + * version 2.1 of the License, or (at your option) any later version.
> + *
> + * This library is distributed in the hope that it will be useful,
> + * but WITHOUT ANY WARRANTY; without even the implied warranty of
> + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
> + * Lesser General Public License for more details.
> + *
> + * You should have received a copy of the GNU Lesser General Public
> + * License along with this library; if not, write to the Free Software
> + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307  USA
> + *
> + * Authors:
> + *      Jiri Denemark <jdenemar at redhat.com>
> + */
> +
> +#include <config.h>
> +
> +#include "c-ctype.h"

  I just add to remove that superfluous include and add
  src/conf/cpu_conf.c to the po/POTFILES.in since this includes
  translations, I commited this locally as an extra patch

Daniel

-- 
Daniel Veillard      | libxml Gnome XML XSLT toolkit  http://xmlsoft.org/
daniel at veillard.com  | Rpmfind RPM search engine http://rpmfind.net/
http://veillard.com/ | virtualization library  http://libvirt.org/




More information about the libvir-list mailing list