[libvirt] [PATCH v4 04/11] Internal driver API

Daniel Veillard veillard at redhat.com
Fri Dec 18 14:02:58 UTC 2009


On Thu, Dec 17, 2009 at 09:21:38PM +0100, Jiri Denemark wrote:
> 
> Signed-off-by: Jiri Denemark <jdenemar at redhat.com>
> ---
>  src/driver.h                |    5 +++++
>  src/esx/esx_driver.c        |    1 +
>  src/lxc/lxc_driver.c        |    1 +
>  src/opennebula/one_driver.c |    1 +
>  src/openvz/openvz_driver.c  |    1 +
>  src/phyp/phyp_driver.c      |    1 +
>  src/qemu/qemu_driver.c      |    1 +
>  src/remote/remote_driver.c  |    1 +
>  src/test/test_driver.c      |    1 +
>  src/uml/uml_driver.c        |    1 +
>  src/vbox/vbox_tmpl.c        |    1 +
>  src/xen/xen_driver.c        |    1 +
>  12 files changed, 16 insertions(+), 0 deletions(-)
> 
> diff --git a/src/driver.h b/src/driver.h
> index 09ce8e2..c9177fa 100644
> --- a/src/driver.h
> +++ b/src/driver.h
> @@ -349,6 +349,10 @@ typedef int
>  typedef int
>      (*virDrvDomainIsPersistent)(virDomainPtr dom);
>  
> +typedef int
> +    (*virDrvCPUCompare)(virConnectPtr conn,
> +                        const char *cpu);
> +

  Unfortunately we really need to add the flags extra parameter here,
this changes the following patches a bit but I should not have problem
pushing this,

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