[libvirt] [RFC PATCH 01/12] domain_conf: allocate cpu's apic id dynamically

Peter Krempa pkrempa at redhat.com
Wed Jan 21 08:56:39 UTC 2015


On Wed, Jan 21, 2015 at 16:00:53 +0800, Zhu Guihua wrote:
> Add a bitmap apic_idmap to store status of APIC IDs. If you want to use an APIC
> ID, you can find a minimum value which has not been used in the bitmap.
> 
> Signed-off-by: Zhu Guihua <zhugh.fnst at cn.fujitsu.com>
> ---
>  src/conf/domain_conf.c   | 15 +++++++++++++++
>  src/conf/domain_conf.h   |  3 +++
>  src/libvirt_private.syms |  1 +
>  src/qemu/qemu_driver.c   |  5 ++++-
>  4 files changed, 23 insertions(+), 1 deletion(-)
> 

...

> diff --git a/src/libvirt_private.syms b/src/libvirt_private.syms
> index a2eec83..d08e400 100644
> --- a/src/libvirt_private.syms
> +++ b/src/libvirt_private.syms
> @@ -426,6 +426,7 @@ virDomainVcpuPinDefFree;
>  virDomainVcpuPinDel;
>  virDomainVcpuPinFindByVcpu;
>  virDomainVcpuPinIsDuplicate;
> +virDomainCPUGetFreeApicID;
>  virDomainVideoDefaultRAM;
>  virDomainVideoDefaultType;
>  virDomainVideoDefFree;

make syntax-check enforces that this file is ordered by file and then by
function name. Please order this hunk correctly and run make
syntax-check before the submission.

Peter
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20150121/74a2ab95/attachment-0001.sig>


More information about the libvir-list mailing list