Re: [PATCH 08/12] Convert virDomainVcpuPinFindByVcpu into virDomainPinFindByVcpu

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

 



On Fri, Mar 13, 2015 at 11:11:52PM -0400, John Ferlan wrote:
> Make common between Vcpu and IOThreads

I feel like this sentence is missing something.

> 
> Signed-off-by: John Ferlan <jferlan@xxxxxxxxxx>
> ---
>  src/conf/domain_conf.c   | 24 ++++++++++++------------
>  src/conf/domain_conf.h   |  6 +++---
>  src/libvirt_private.syms |  2 +-
>  src/qemu/qemu_driver.c   | 12 ++++++------
>  src/qemu/qemu_process.c  | 12 ++++++------
>  5 files changed, 28 insertions(+), 28 deletions(-)
> 
> diff --git a/src/conf/domain_conf.c b/src/conf/domain_conf.c
> index efc01bd..75d75bc 100644
> --- a/src/conf/domain_conf.c
> +++ b/src/conf/domain_conf.c
> @@ -16693,17 +16693,17 @@ virDomainPinIsDuplicate(virDomainPinDefPtr *def,
>  }
>  
>  virDomainPinDefPtr
> -virDomainVcpuPinFindByVcpu(virDomainPinDefPtr *def,
> -                           int nvcpupin,
> -                           int vcpu)
> +virDomainPinFindByVcpu(virDomainPinDefPtr *def,
> +                       int npin,
> +                       int id)

The second reference to Vcpu should be removed as well:
virDomainPinFindById
or even simpler:
virDomainPinFind
since I can't imagine doing a find according to any other attribute.

Jan

Attachment: signature.asc
Description: Digital signature

--
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]