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); int virNetworkIsActive(virNetworkPtr net); int virNetworkIsPersistent(virNetworkPtr net); diff --git a/src/conf/domain_conf.h b/src/conf/domain_conf.h index 7d2d6f5..0fd3492 100644 --- a/src/conf/domain_conf.h +++ b/src/conf/domain_conf.h @@ -1010,6 +1010,7 @@ struct _virDomainObj { unsigned int autostart : 1; unsigned int persistent : 1; + unsigned int updated : 1; virDomainDefPtr def; /* The current definition */ virDomainDefPtr newDef; /* New definition to activate at shutdown */ diff --git a/src/libvirt_public.syms b/src/libvirt_public.syms index 4ef4c5a..96084ff 100644 --- a/src/libvirt_public.syms +++ b/src/libvirt_public.syms @@ -416,6 +416,7 @@ LIBVIRT_0.8.5 { LIBVIRT_0.8.6 { global: virDomainOpenConsole; + virDomainIsUpdated; } LIBVIRT_0.8.5; # .... define new API here using predicted next version number .... -- 1.7.3.2 -- libvir-list mailing list libvir-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvir-list