Re: [PATCHv8 10/17] util: Add interface for setting monitor ID.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On 11/12/18 8:31 AM, Wang Huaqiang wrote:
> Add virResctrlMonitorSetID by leveraging previous refactored patch.
> 
> Signed-off-by: Wang Huaqiang <huaqiang.wang@xxxxxxxxx>
> ---
>  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 <jferlan@xxxxxxxxxx>

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
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux