- 12 12月, 2007 1 次提交
-
-
由 Jim Meyering 提交于
Given code like: T *var = calloc (n, sizeof (T)); Convert to this: T *var = calloc (n, sizeof (*var)); This first-cut change adjusts all malloc, calloc, and realloc statements. The only binary differences are in remote_internal.c (due to the bug fix) and in xmlrpc.c (due to factorization). * python/libvir.c: As above. * qemud/event.c: Likewise. * qemud/mdns.c: Likewise. * qemud/qemud.c: Likewise. * qemud/remote.c: Likewise. * src/bridge.c: Likewise. * src/buf.c: Likewise. * src/conf.c: Likewise. * src/hash.c: Likewise. * src/iptables.c: Likewise. * src/openvz_conf.c: Likewise. * src/qemu_conf.c: Likewise. * src/qemu_driver.c: Likewise. * src/test.c: Likewise. * src/xen_internal.c: Likewise. * src/xen_unified.c: Likewise. * src/xm_internal.c: Likewise. * src/xml.c: Likewise. * tests/qemuxml2argvtest.c: Likewise. * src/xmlrpc.c (xmlRpcValuePtr): Likewise, and minor factorization. * src/remote_internal.c (remoteAuthMakeCredentials): Use the right type when allocating space for an array of cred _pointers_.
-
- 07 12月, 2007 1 次提交
-
-
由 Richard W.M. Jones 提交于
* src/.cvsignore: Ignore *.loT files (generated under Windows). * proxy/libvirt_proxy.c: Bail out earlier --without-xen. * src/proxy_internal.c: Don't build proxy client side if configured --without-xen. * src/iptables.c, src/iptables.h: Disable this code if configured --without-qemu. * src/nodeinfo.c: If no 'uname' function, set model name to empty string (for Windows). * src/xen_unified.h, src/util.c, src/test.c: Include <winsock2.h> on Windows. * src/util.c: Disable virExec* and virFileLinkPointsTo on MinGW.
-
- 06 12月, 2007 2 次提交
-
-
由 Jim Meyering 提交于
New files go into these directories: gnulib/lib gnulib/m4 gnulib/tests * bootstrap: A wrapper around gnulib-tool. * configure.in: Invoke gl_EARLY and gl_INIT, being careful to put gl_EARLY before any macro that uses AC_COMPILE_IFELSE. (AC_OUTPUT): Add lib/Makefile and gl-tests/Makefile. Remove m4/Makefile. * Makefile.am (SUBDIRS): Add gnulib/lib and remove m4. Add gnulib/tests early enough that those tests run before any libvirt unit tests. * m4/Makefile.am: Remove file. Not needed. * src/Makefile.am (INCLUDES): Add -I$(top_srcdir)/gnulib/lib -I../gnulib/lib. (LDADDS, libvirt_la_LIBADD): Add ../gnulib/lib/libgnu.la. * src/nodeinfo.c: Include "physmem.h". * qemud/qemud.c, src/remote_internal.c: Include "getaddrinfo.h". (MEMINFO_PATH, linuxNodeInfoMemPopulate): Remove definitions. (virNodeInfoPopulate): Use physmem_total, not linuxNodeInfoMemPopulate. * tests/Makefile.am (INCLUDES): Add -I$(top_srcdir)/gnulib/lib -I../gnulib/lib. (LDADDS): Add ../gnulib/lib/libgnu.la. * qemud/Makefile.am (libvirtd_LDADD): Add ../gnulib/lib/libgnu.la. * tests/nodeinfotest.c (linuxTestCompareFiles): No longer read total memory from a file. Update expected output not to include "Memory: NNNN" * tests/nodeinfodata/linux-nodeinfo-1.txt: * tests/nodeinfodata/linux-nodeinfo-2.txt: * tests/nodeinfodata/linux-nodeinfo-3.txt: * tests/nodeinfodata/linux-nodeinfo-4.txt: * tests/nodeinfodata/linux-nodeinfo-5.txt: * tests/nodeinfodata/linux-nodeinfo-6.txt: * src/test.c [WITH_TEST]: Remove definition of _GNU_SOURCE that would conflict with the one now in "config.h". * autogen.sh: Add -I gnulib/m4. * src/conf.c, src/sexpr.c: Don't define _GNU_SOURCE. Instead, include "config.h". * qemud/qemud.c: Remove definition of _GNU_SOURCE. * src/openvz_driver.c: Likewise. * src/qemu_driver.c: Likewise. * src/remote_internal.c: Likewise. * configure.in: Use AC_CONFIG_AUX_DIR(build-aux), so that a bunch of gettextize-generated files go into build-aux/, rather than in the top-level directory. * .cvsignore: Adjust. * build-aux/.cvsignore: New file. Author: Jim Meyering <meyering@redhat.com>
-
由 Daniel P. Berrange 提交于
-
- 26 11月, 2007 1 次提交
-
-
由 Richard W.M. Jones 提交于
* src/bridge.c, src/bridge.h, src/qemu_conf.c, src/qemu_conf.h, src/qemu_driver.c, src/qemu_driver.h, src/test.c: Disable more of qemu if configured --without-qemu.
-
- 14 11月, 2007 1 次提交
-
-
由 Richard W.M. Jones 提交于
* src/libvirt.c and all internal driver interfaces: Parse the URI only once and pass it to virDrvOpen instead of the unparsed name string.
-
- 15 10月, 2007 1 次提交
-
-
由 Richard W.M. Jones 提交于
* src/test.c, include/libvirt/libvirt.h.in: Remove virDomainRestart from the public API (it was not used), and move it into the test driver where it is used for purely internal purposes.
-
- 30 9月, 2007 1 次提交
-
-
由 Daniel Veillard 提交于
src/driver.h src/libvirt.c src/openvz_driver.c src/qemu_driver.c src/test.c src/xen_unified.c src/xend_internal.c: add new API virNodeGetFreeMemory(), extends the driver. Lacks remote and QEmu support though. * src/libvirt.c: allows to fix virNodeGetCellsFreeMemory() adding parameter check for startCell. * proxy/libvirt_proxy.c src/xend_internal.[ch] include/libvirt/libvirt.h include/libvirt/libvirt.h.in: applied vncpasswd dump patch from Mark Johnson but with the virDomainXMLFlags extension as suggested by Daniel Berrange this changed a couple of internal APIs too * tests/sexpr2xmldata/sexpr2xml-no-source-cdrom.xml: fix one of the tests affected by bootloader dump change. Daniel
-
- 28 9月, 2007 1 次提交
-
-
由 Daniel Veillard 提交于
src/qemu_driver.c src/remote_internal.c src/test.c src/xen_internal.[ch] src/xen_unified.c src/xend_internal.[ch] src/libvirt.c src/libvirt_sym.version: adding NUMA support patches from Beth Kon adding new virNodeGetCellsFreeMemory entry point and extending the virConnectGetCapabilities one. Fix a couple of issues in the patch and add to exported symbols from shared lib. * docs/virsh.pod docs/virsh.1 src/virsh.c: added new command freecell to get the available memory on the node or in a NUMA cell. * docs/*: updated and regenerated the documentation Daniel
-
- 21 8月, 2007 3 次提交
-
-
由 Richard W.M. Jones 提交于
* src/libvirt.c (virDomainBlockStats, virDomainInterfaceStats): Added block device and network interface statistics. * src/xen_internal.c: Support for stats from Xen domains. * qemud/remote.c, qemud/remote_protocol.x, qemud/remote_internal.c: Support for fetching device and network interface stats across remote connections. * src/virsh.c: Added 'virsh domblkstat' and 'virsh domifstat' commands to display stats. * docs/libvir.html, docs/hvsupport.html: Updated hvsupport documentation.
-
由 Richard W.M. Jones 提交于
* src/libvirt.c (virDomainMigrate): Added virDomainMigrate API call. * src/xend_internal.c, src/xen_unified.c: Support for migration of Xen domains. * src/xen_internal.c: Xen capabilities indicates level of support for migration. * qemud/remote.c, qemud/remote_protocol.x, src/remote_internal.c: Support for migration between remote hypervisors. * src/virsh.c: Added 'virsh migrate' command. * docs/libvir.html, docs/hvsupport.html: Updated hvsupport documentation.
-
由 Richard W.M. Jones 提交于
* qemud/remote.c, qemud/remote_protocol.x, src/driver.h, src/internal.h, src/libvirt.c, src/libvirt_sym.version, src/qemu_driver.c, src/remote_internal.c, src/test.c: Add a private interface so that libvirt.c coordination functions can detect the availability of features in underlying drivers, using the VIR_DRV_SUPPORTS_FEATURE macro.
-
- 10 8月, 2007 1 次提交
-
-
由 Daniel P. Berrange 提交于
-
- 28 7月, 2007 1 次提交
-
-
由 Daniel P. Berrange 提交于
-
- 18 7月, 2007 1 次提交
-
-
由 Daniel Veillard 提交于
cleanup of unused virDeviceMode Daniel
-
- 06 7月, 2007 2 次提交
-
-
由 Richard W.M. Jones 提交于
* src/hash.c, src/internal.h: Remove virGetDomainByID function as it is not used or exported. * src/proxy_internal.c, src/qemu_driver.c, src/remote_internal.c, src/test.c, src/xend_internal.c, src/xs_internal.c: Fix all callers to virGetDomain and virGetNetwork functions - the callers do not need to set virterror since it is already set inside the functions.
-
由 Richard W.M. Jones 提交于
* include/libvirt/virterror.h, src/virterror.c, src/libvirt.c: Add VIR_ERR_NO_DOMAIN and VIR_ERR_NO_NETWORK errors, which indicate that there is no domain/network from vir*Lookup* functions. * src/qemu_driver.c: Use VIR_ERR_NO_DOMAIN in lookup functions. * src/test.c: Use VIR_ERR_NO_DOMAIN in lookup functions.
-
- 04 7月, 2007 1 次提交
-
-
由 Richard W.M. Jones 提交于
* src/conf.c, src/test.c, src/xen_internal.c: Readd checking of errors from virBuffer functions. * src/sexpr.c: Add comment about use of _GNU_SOURCE. * src/virsh.c: Remove use of _GNU_SOURCE / isblank. * src/xml.c, tests/Makefile.am: Minor cleanup.
-
- 27 6月, 2007 2 次提交
-
-
由 Daniel P. Berrange 提交于
-
由 Daniel P. Berrange 提交于
-
- 26 6月, 2007 1 次提交
-
-
由 Richard W.M. Jones 提交于
* include/libvirt/libvirt.h.in, src/libvirt.c: (and numerous other files) Added support for virConnectGetHostname and virConnectGetURI calls.
-
- 25 6月, 2007 1 次提交
-
-
由 Richard W.M. Jones 提交于
* include/libvirt/libvirt.h, include/libvirt/libvirt.h.in, src/test.c: Remove unused virDomainKernel structure.
-
- 21 6月, 2007 1 次提交
-
-
由 Richard W.M. Jones 提交于
* src/libvirt.c, src/qemu_internal.c, src/test.c, src/xen_unified.c, src/xend_internal.c, src/libvirt.c, include/libvirt/virterror.h: VIR_ERR_NO_SUPPORT means the function is not supported by the hypervisor. VIR_ERR_NO_CONNECT means the connection failed. VIR_ERR_CALL_FAILED is deprecated. Drivers which decline a URI now no longer produce an error. Make xen_unified.c ignore naked URI strings like "foo".
-
- 20 6月, 2007 1 次提交
-
-
由 Richard W.M. Jones 提交于
* src/libvirt.c src/test.c src/xen_unified.c: Fix URI processing so that local file URIs work again. Move remote driver to last in the list, and fix all drivers so they decline remote URIs (Daniel Berrange).
-
- 15 6月, 2007 1 次提交
-
-
由 Richard W.M. Jones 提交于
* src/test.c, src/virsh.c, src/xend_internal.c, src/xm_internal.c: Replace calls to deprecated {,r}index with str{,r}chr.
-
- 05 6月, 2007 1 次提交
-
-
由 Daniel Veillard 提交于
src/driver.h src/libvirt.c src/libvirt_sym.version src/proxy_internal.c src/qemu_internal.c src/test.c src/virsh.c src/xen_internal.c src/xen_internal.h src/xen_unified.c src/xend_internal.c src/xm_internal.c src/xs_internal.c: Applied patches from Atsushi SAKAI to add the scheduler API, with patch from Rich Jones for error handing, and a number of cleanups and more error checking from me Daniel
-
- 03 5月, 2007 1 次提交
-
-
由 Richard W.M. Jones 提交于
* src/proxy_internal.c, src/qemu_internal.c, src/test.c, src/xen_unified.c, src/xend_internal.c, src/xs_internal.c: During virConnectOpen, be careful to call __virRaiseError with conn = NULL so that the error message is not discarded.
-
- 01 5月, 2007 1 次提交
-
-
由 Richard W.M. Jones 提交于
* src/libvirt.c, src/driver.h, src/proxy_internal.c, src/qemu_internal.c, src/test.c, src/xen_internal.c, src/xend_internal.c, src/xs_internal.c, proxy/libvirt_proxy.c: Remove VIR_DRV_OPEN_QUIET.
-
- 18 4月, 2007 1 次提交
-
-
由 Richard W.M. Jones 提交于
* src/test.c, src/libvirt.c, src/virterror.c, include/libvirt/virterror.h: Add a VIR_FROM_TEST error class and ensure that test driver errors are from this class. Tidy up the error messages generated by the test driver when user doesn't add a path to the URL and avoid open ("/").
-
- 06 4月, 2007 1 次提交
-
-
由 Daniel Veillard 提交于
* src/xml.c: fixed a return comment Daniel
-
- 04 4月, 2007 1 次提交
-
-
由 Richard W.M. Jones 提交于
* src/xen_unified.c et al: Unified Xen driver. Architecture described here: https://www.redhat.com/archives/libvir-list/2007-March/msg00396.html
-
- 16 3月, 2007 2 次提交
-
-
由 Daniel Veillard 提交于
src/sexpr.h src/test.c src/xm_internal.c src/xml.c src/xml.h: applied patch from Richard Jones adding check to printf-like functions and fixing the problems raised Daniel
-
由 Daniel Veillard 提交于
proxy/libvirt_proxy.c qemud/Makefile.am qemud/conf.c qemud/conf.h qemud/dispatch.c qemud/internal.h qemud/protocol.h src/driver.h src/internal.h src/libvirt.c src/libvirt_sym.version src/proxy_internal.c src/proxy_internal.h src/qemu_internal.c src/test.c src/virsh.c src/virterror.c src/xen_internal.c src/xen_internal.h src/xend_internal.c src/xm_internal.c src/xml.h src/xs_internal.c: applied patch from Richard Jones adding virConnectGetCapabilities(), plus various small little fixes * docs/*: fixed the api extractor script and regenerated Daniel
-
- 15 3月, 2007 1 次提交
-
-
由 Daniel Veillard 提交于
src/Makefile.am src/libvirt.c src/qemu_internal.c src/test.c src/xen_internal.c src/xen_internal.h src/xend_internal.c src/xm_internal.c src/xml.c src/xs_internal.c tests/Makefile.am tests/sexpr2xmltest.c tests/xmconfigtest.c: allow selective compilation of Xen,QEmu/KVM and test support in or out at configure time. Also allows to compile on a system without Xen development installed. All drivers are selected by default. Daniel
-
- 08 3月, 2007 1 次提交
-
-
由 Daniel Veillard 提交于
src/driver.h src/libvirt.c src/libvirt_sym.version src/proxy_internal.c src/qemu_internal.c src/test.c src/virsh.c src/xen_internal.c src/xen_internal.h src/xend_internal.c src/xm_internal.c src/xs_internal.c: applied patch from Masayuki Sunou to add and entry point to check the maximum number of virtual CPU supported by a virtualization mechanism * doc/*.html doc/libvirt-*.xml: regenerated the interfaces descriptions and associated docs. Daniel
-
- 07 3月, 2007 1 次提交
-
-
由 Daniel P. Berrange 提交于
-
- 23 2月, 2007 1 次提交
-
-
由 Mark McLoughlin 提交于
* include/libvirt/libvirt.h.in, src/libvirt.c add virDomainGetAutostart(), virDomainSetAutostart(), virNetworkGetAutostart() and virNetworkSetAutostart(). * src/libvirt_sym.version: export the API * src/driver.h: add methods to the driver vtables. * src/proxy_internal.c, src/qemu_internal.c, src/test.c, src/xen_internal.c, src/xend_internal.c, src/xm_internal.c, src/xs_internal.c: set those methods to NULL
-
- 17 2月, 2007 1 次提交
-
-
由 Daniel P. Berrange 提交于
-
- 14 2月, 2007 1 次提交
-
-
由 Mark McLoughlin 提交于
Note: potential ABI break here, but people should only really be using virError structs returned from libvirt itself. * include/libvirt/virterror.h: add virNetwork to virError * src/internal.h, src/virterror.c: add network param to __virRaiseError() * src/conf.c, src/hash.c, src/libvirt.c, src/proxy_internal.c, src/qemu_internal.c, src/sexpr.c, src/test.c, src/xen_internal.c, src/xend_internal.c, src/xm_internal.c, src/xml.c, src/xmlrpc.c, src/xs_internal.c: update.
-
- 23 1月, 2007 1 次提交
-
-
由 Mark McLoughlin 提交于
* include/libvirt/libvirt.h.in: add VIR_UUID_BUFLEN and VIR_UUID_STRING_BUFLEN * libvirt/proxy/libvirt_proxy.c, libvirt/src/hash.c, libvirt/src/internal.h, libvirt/src/libvirt.c, libvirt/src/proxy_internal.c, libvirt/src/test.c, libvirt/src/virsh.c, libvirt/src/xend_internal.c, libvirt/src/xm_internal.c, libvirt/src/xml.c, libvirt/python/libvir.c: use them
-