On 9/3/23 17:49, K Shiva Kiran wrote: > Signed-off-by: K Shiva Kiran <shiva_kr@xxxxxxxxxx> > --- > include/libvirt/virterror.h | 1 + > src/util/virerror.c | 3 +++ > 2 files changed, 4 insertions(+) > > diff --git a/include/libvirt/virterror.h b/include/libvirt/virterror.h > index 224eddc9e4..ffb47a3242 100644 > --- a/include/libvirt/virterror.h > +++ b/include/libvirt/virterror.h > @@ -349,6 +349,7 @@ typedef enum { > VIR_ERR_CHECKPOINT_INCONSISTENT = 109, /* checkpoint can't be used (Since: 6.10.0) */ > VIR_ERR_MULTIPLE_DOMAINS = 110, /* more than one matching domain found (Since: 7.1.0) */ > VIR_ERR_NO_NETWORK_METADATA = 111, /* Network metadata is not present (Since: 9.7.0) */ > + VIR_ERR_NO_NWFILTER_METADATA = 112, /* NWFilter metadata is not present (Since: 9.8.0) */ > > # ifdef VIR_ENUM_SENTINELS > VIR_ERR_NUMBER_LAST /* (Since: 5.0.0) */ > diff --git a/src/util/virerror.c b/src/util/virerror.c > index 227a182417..a1d0d73e5d 100644 > --- a/src/util/virerror.c > +++ b/src/util/virerror.c > @@ -1290,6 +1290,9 @@ static const virErrorMsgTuple virErrorMsgStrings[] = { > [VIR_ERR_NO_NETWORK_METADATA] = { > N_("metadata not found"), > N_("metadata not found: %1$s") }, > + [VIR_ERR_NO_NWFILTER_METADATA] = { > + N_("metadata not found"), > + N_("metadata not found: %1$s") }, > }; > > G_STATIC_ASSERT(G_N_ELEMENTS(virErrorMsgStrings) == VIR_ERR_NUMBER_LAST); Again, this patch alone makes no sense. Merge it into 05/16. Michal