[Libvir] [PATCH] Fix remote virConnectGetMaxVcpus

From: "Richard W.M. Jones" <rjones redhat com>

To: libvir-list redhat com

Subject: [Libvir] [PATCH] Fix remote virConnectGetMaxVcpus

Date: Thu, 21 Jun 2007 15:52:28 +0100

I've been going over the interface to libvirt, trying out every call
locally and remotely with all possible combinations of parameters that I
can think of. Not surprisingly one or two problems have cropped up. So
here's a short series of patches to fix the problems I've found.

virConnectGetMaxVcpus has a second "type" parameter. In practice this
isn't used and can be passed as NULL. However that fails in the remote
case. The fix is simple enough -- attached.