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

Zhu Guihua zhugh.fnst at cn.fujitsu.com
Thu Jan 22 08:44:30 UTC 2015


On Wed, 2015-01-21 at 09:56 +0100, Peter Krempa wrote:
> 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.
> 

Got it, thanks.

Regards,
Zhu

> Peter





More information about the libvir-list mailing list