Re: [PATCH v2 1/5] Parallels: add virNodeGetCPUMap().

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

 



On 08/22/2014 01:04 PM, Alexander Burluka wrote:
> That function caused errors in libvirtd logs when OpenStack Nova
> starts VM instance.
> ---
>  src/parallels/parallels_driver.c | 11 +++++++++++
>  1 file changed, 11 insertions(+)
> 
> diff --git a/src/parallels/parallels_driver.c b/src/parallels/parallels_driver.c
> index bb9538f..6534fdb 100644
> --- a/src/parallels/parallels_driver.c
> +++ b/src/parallels/parallels_driver.c
> @@ -2417,6 +2417,16 @@ parallelsDomainGetVcpus(virDomainPtr domain,
>  }
>  
>  
> +static int
> +parallelsNodeGetCPUMap(virConnectPtr conn ATTRIBUTE_UNUSED,
> +                       unsigned char **cpumap,
> +                       unsigned int *online,
> +                       unsigned int flags)
> +{
> +    return nodeGetCPUMap(cpumap, online, flags);
> +}
> +
> +
>  static virDriver parallelsDriver = {
>      .no = VIR_DRV_PARALLELS,
>      .name = "Parallels",
> @@ -2448,6 +2458,7 @@ static virDriver parallelsDriver = {
>      .domainShutdown = parallelsDomainShutdown, /* 0.10.0 */
>      .domainCreate = parallelsDomainCreate,    /* 0.10.0 */
>      .domainDefineXML = parallelsDomainDefineXML,      /* 0.10.0 */
> +    .nodeGetCPUMap = parallelsNodeGetCPUMap, /* 1.2.6 */

s/1.2.6/1.2.8/

ACK and pushed.

Jan

Attachment: signature.asc
Description: OpenPGP 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]