[libvirt] [PATCH v3 04/13] Internal driver API
Daniel Veillard
veillard at redhat.com
Wed Dec 16 15:23:15 UTC 2009
On Wed, Dec 16, 2009 at 12:04:01AM +0100, Jiri Denemark wrote:
>
> Signed-off-by: Jiri Denemark <jdenemar at redhat.com>
> ---
> src/driver.h | 5 +++++
> 1 files changed, 5 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);
> +
> /**
> * _virDriver:
> *
> @@ -435,6 +439,7 @@ struct _virDriver {
> virDrvConnectIsSecure isSecure;
> virDrvDomainIsActive domainIsActive;
> virDrvDomainIsPersistent domainIsPersistent;
> + virDrvCPUCompare cpuCompare;
> };
>
> typedef int
ACK, unless we push the flags there too at this point,
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