diff --git a/include/libvirt/libvirt.h.in b/include/libvirt/libvirt.h.in index 98c5281d6f28e227b71d536a83fc1081ba398334..716f7af99b0586b69e0e59ed5bb45069a6d5db36 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 10cbded60e90d4ccc16dab5b1ca265d997ca1a71..899b19f3951abd1c09051a6069a58ed3e5700288 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 4ef4c5a2c6bee280a5851e88a822c797913379f7..96084ff95b52fdf149a59ef8335c868d80f81739 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 ....