On 11/12/18 8:31 AM, Wang Huaqiang wrote: > Add virResctrlMonitorSetID by leveraging previous refactored patch. > > Signed-off-by: Wang Huaqiang <[email protected]> > --- > src/util/virresctrl.c | 9 +++++++++ > 1 file changed, 9 insertions(+) > This one won't compile alone - it's missing the virresctrl.h and the libvirt_private.syms change. To make life easier - I'm going to merge it with the next patch. Reviewed-by: John Ferlan <[email protected]> John > diff --git a/src/util/virresctrl.c b/src/util/virresctrl.c > index 4e4831c..ed682c9 100644 > --- a/src/util/virresctrl.c > +++ b/src/util/virresctrl.c > @@ -2581,3 +2581,12 @@ virResctrlMonitorCreate(virResctrlMonitorPtr monitor, > virResctrlUnlock(lockfd); > return ret; > } > + > + > +int > +virResctrlMonitorSetID(virResctrlMonitorPtr monitor, > + const char *id) > + > +{ > + return virResctrlSetID(&monitor->id, id); > +} > -- libvir-list mailing list [email protected] https://www.redhat.com/mailman/listinfo/libvir-list
- [libvirt] [PATCHv8 11/17] util: Add more interfaces for resc... Wang Huaqiang
- [libvirt] [PATCHv8 06/17] util: Add interface for adding PID... Wang Huaqiang
- [libvirt] [PATCHv8 17/17] docs: Updated news.xml about the C... Wang Huaqiang
- [libvirt] [PATCHv8 03/17] util: Refactor code for determinin... Wang Huaqiang
- [libvirt] [PATCHv8 08/17] util: Add interface for creating m... Wang Huaqiang
- [libvirt] [PATCHv8 13/17] conf: Introduce cache monitor elem... Wang Huaqiang
- [libvirt] [PATCHv8 10/17] util: Add interface for setting mo... Wang Huaqiang
- Re: [libvirt] [PATCHv8 10/17] util: Add interface for s... John Ferlan
- [libvirt] [PATCHv8 05/17] util: Refactor code for adding PID... Wang Huaqiang
- [libvirt] [PATCHv8 04/17] util: Add interface to determine m... Wang Huaqiang
- [libvirt] [PATCHv8 07/17] util: Refactor code for creating r... Wang Huaqiang
- [libvirt] [PATCHv8 01/17] docs, util: Refactor schemas and v... Wang Huaqiang
- [libvirt] [PATCHv8 14/17] qemu: enable resctrl monitor in qe... Wang Huaqiang
- [libvirt] [PATCHv8 12/17] conf: Remove virDomainResctrlAppen... Wang Huaqiang
