于 2010年11月18日 17:47, Daniel P. Berrange 写道:
On Mon, Nov 15, 2010 at 11:23:32AM +0800, Osier Yang wrote:
> introduce new public API "virDomainIsUpdated"
>
> * src/conf/domain_conf.h (new member "updated" for
"virDomainObj")
> * src/libvirt_public.syms
> * include/libvirt/libvirt.h.in
> ---
> include/libvirt/libvirt.h.in | 1 +
> src/conf/domain_conf.h | 1 +
> src/libvirt_public.syms | 1 +
> 3 files changed, 3 insertions(+), 0 deletions(-)
>
> diff --git a/include/libvirt/libvirt.h.in b/include/libvirt/libvirt.h.in
> index 98c5281..716f7af 100644
> --- a/include/libvirt/libvirt.h.in
> +++ b/include/libvirt/libvirt.h.in
> @@ -1931,6 +1931,7 @@ int virStreamFree(virStreamPtr st);
>
> int virDomainIsActive(virDomainPtr dom);
> int virDomainIsPersistent(virDomainPtr dom);
> +int virDomainIsUpdated(virDomainPtr dom);
Oh, you seem to be missing the actualy impl of virDoaminIsUpdated
from src/libvirt.c
urgh, really, will come following this mail thread, thanks.
- Osier
Daniel