[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: [Libvir] [PATCH] Fix virDomainGetVcpus in the remote case
- From: Daniel Veillard <veillard redhat com>
- To: "Richard W.M. Jones" <rjones redhat com>
- Cc: libvir-list redhat com
- Subject: Re: [Libvir] [PATCH] Fix virDomainGetVcpus in the remote case
- Date: Mon, 25 Jun 2007 04:01:02 -0400
On Fri, Jun 22, 2007 at 04:25:25PM +0100, Richard W.M. Jones wrote:
> I wasn't copying enough data in the cpumaps parameter. This fixes that
> bug ...
Looks fine, but maybe the error message need to be updated:
- if (maplen > REMOTE_CPUMAPS_MAX) {
+ if (maxinfo * maplen > REMOTE_CPUMAPS_MAX) {
error (domain->conn, VIR_ERR_RPC, "maplen > REMOTE_CPUMAPS_MAX");
Daniel
--
Red Hat Virtualization group http://redhat.com/virtualization/
Daniel Veillard | virtualization library http://libvirt.org/
veillard redhat com | libxml GNOME XML XSLT toolkit http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]