[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: [Libvir] Here the patch for virtual CPU functions.
- From: "Daniel P. Berrange" <berrange redhat com>
- To: Daniel Veillard <veillard redhat com>
- Cc: LibVir <libvir-list redhat com>, Philippe Berthault <Philippe Berthault Bull net>
- Subject: Re: [Libvir] Here the patch for virtual CPU functions.
- Date: Mon, 7 Aug 2006 14:41:51 +0100
On Mon, Aug 07, 2006 at 01:46:19PM +0100, Daniel P. Berrange wrote:
> I've found the problem - in the last parameter to virDomainGetVcpuInfo
> I thought the cpumaplen parameter was spposed to be the size of the
> entire cpumap, when it is only supposed to be the size of one dimension
> of it. So, inside virDomainGetVcpuInfo it then did a memset on the cpumap
> using cpumaplen * nrVirtCpu, which obviously overflowed if nrVirtCpu was
> greater than one. I'll fix this before committing.
The patch is now committed.
Dan.
--
|=- Red Hat, Engineering, Emerging Technologies, Boston. +1 978 392 2496 -=|
|=- Perl modules: http://search.cpan.org/~danberr/ -=|
|=- Projects: http://freshmeat.net/~danielpb/ -=|
|=- GnuPG: 7D3B9505 F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 -=|
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]