Richard W.M. Jones wrote:
diff -u -p -r1.14 xen_unified.c --- src/xen_unified.c 26 Jun 2007 11:42:46 -0000 1.14 +++ src/xen_unified.c 3 Jul 2007 15:01:39 -0000 @@ -276,17 +269,17 @@ xenUnifiedGetURI (virConnectPtr conn) static int xenUnifiedGetMaxVcpus (virConnectPtr conn, const char *type) { - GET_PRIVATE(conn);
Not quite sure what happened there, but obviously the above call to GET_PRIVATE needs to stay because the priv pointer is used in the subsequent code ...
+ if (priv->opened[XEN_UNIFIED_HYPERVISOR_OFFSET]) + return xenHypervisorGetMaxVcpus (conn, type); + else { + xenUnifiedError (conn, VIR_ERR_NO_SUPPORT, __FUNCTION__); + return -1; + }
Rich. -- Emerging Technologies, Red Hat - http://et.redhat.com/~rjones/ Registered Address: Red Hat UK Ltd, Amberley Place, 107-111 Peascod Street, Windsor, Berkshire, SL4 1TE, United Kingdom. Registered in England and Wales under Company Registration No. 03798903
Attachment:
smime.p7s
Description: S/MIME Cryptographic Signature
-- Libvir-list mailing list Libvir-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvir-list