- 22 2月, 2008 1 次提交
-
-
由 Jim Meyering 提交于
Also add "make syntax-check" rules to ensure no new uses sneak in. There are many uses of write like this: if (write (fd, xml, towrite) != towrite) return -1; The problem is that the syscall can succeed, yet write less than the requested number of bytes, so the caller should retry rather than simply failing. This patch changes most of them to use util.c's safewrite wrapper, which encapsulates the process. Also, there were a few cases in which the retry loop was open-coded, and I replaced those, too. * Makefile.maint (sc_avoid_write): New rule, to avoid recurrence. * .x-sc_avoid_write: New file. Record two legitimate exemptions. * qemud/qemud.c (sig_handler, qemudClientWriteBuf): Use safewrite, not write. * src/conf.c (__virConfWriteFile): Likewise. * src/qemu_conf.c (qemudSaveConfig, qemudSaveNetworkConfig): Likewise. * src/qemu_driver.c (qemudWaitForMonitor, qemudStartVMDaemon) (qemudVMData, PROC_IP_FORWARD): Likewise. * proxy/libvirt_proxy.c: Include "util.h". (proxyWriteClientSocket): Use safewrite. * src/test.c (testDomainSave, testDomainCoreDump): Likewise. * src/proxy_internal.c (virProxyWriteClientSocket): Likewise. * src/virsh.c: Include "util-lib.h". (vshOutputLogFile): Use safewrite. * src/console.c: Include "util-lib.h". (vshRunConsole): Use safewrite.
-
- 06 2月, 2008 1 次提交
-
-
由 Jim Meyering 提交于
* Makefile.cfg (local-checks-to-skip): Remove sc_trailing_blank. * .x-sc_trailing_blank: New file, to exempt the few binary files.
-
- 30 1月, 2008 1 次提交
-
-
由 Jim Meyering 提交于
Use <config.h>, not "config.h", per autoconf documentation. * Makefile.cfg (local-checks-to-skip) [sc_require_config_h]: Enable. * .x-sc_require_config_h: New file, to list exempted files. * Makefile.am (EXTRA_DIST): Add .x-sc_require_config_h.
-
- 17 1月, 2008 1 次提交
-
-
由 Jim Meyering 提交于
* src/virsh.c: Add "%s" where needed. * src/proxy_internal.c: Likewise.
-
- 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 提交于
* qemud/event.c: Likewise. * src/buf.c: Likewise. * src/hash.c: Likewise. * src/nodeinfo.c: Likewise. * src/openvz_conf.c: Likewise. * src/proxy_internal.c: Likewise. * src/virterror.c: Likewise. * src/xmlrpc.c: Likewise. * src/xs_internal.c: Likewise. * tests/conftest.c: Likewise. * tests/xmlrpctest.c: Likewise. This fixes a mingw build failure reported by Rich Jones. Author: Jim Meyering <meyering@redhat.com>
-
由 Daniel P. Berrange 提交于
-
- 03 12月, 2007 1 次提交
-
-
由 Daniel Veillard 提交于
src/xend_internal.c src/xm_internal.c src/xs_internal.c: cleanup the xen subdriver table, remove the type entry and always return "Xen" from the unified entry point. Daniel
-
- 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.
-
- 31 10月, 2007 1 次提交
-
-
由 Daniel Veillard 提交于
src/xen_unified.[ch] src/xend_internal.[ch] src/xml.[ch]: last patch for the library NUMA support, allow to serialize CPU pinning to domain configs (but won't work though proxy access), includes many patches from Saori Fukuta. Daniel
-
- 14 8月, 2007 1 次提交
-
-
由 Daniel Veillard 提交于
actually sending the UUID string in the request! Daniel
-
- 06 7月, 2007 2 次提交
-
-
由 Richard W.M. Jones 提交于
* src/proxy_internal.c, src/proxy_internal.h, src.xen_internal.c, src/xen_internal.h, src/xen_unified.c, src/xen_unified.h, src/xend_internal.c, src/xend_internal.h, src/xm_internal.c, src/xm_internal.h, src/xs_internal.c, src/xs_internal.h: The interface between xen_unified.c and its underlying driver now uses a custom structure (struct xenUnifiedDriver) instead of reusing virDriver. * src/xen_unified.c: virDomainLookup* functions in Xen now throw VIR_ERR_NO_DOMAIN if the domain does not exist. * src/xs_internal.c: Fix indentation.
-
由 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.
-
- 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.
-
- 15 6月, 2007 1 次提交
-
-
由 Richard W.M. Jones 提交于
* configure.in: Solaris header file fixes (Mark Johnson).
-
- 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 2 次提交
-
-
由 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.
-
由 Richard W.M. Jones 提交于
* src/proxy_internal.c (xenProxyGetCapabilities): Add support for virConnectGetCapabilities across Xen proxy.
-
- 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 1 次提交
-
-
由 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
-
- 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
-
- 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 3 次提交
-
-
由 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
-
由 Mark McLoughlin 提交于
* src/internal.h: virDomain.handle refers to the "id" in the API, so re-name to virDomain.id to avoid confusion. * src/hash.c, src/libvirt.c, src/proxy_internal.c, src/test.c, src/xen_internal.c, src/xend_internal.c, src/xm_internal.c, src/xml.c, src/xs_internal.c: update for rename.
-
由 Mark McLoughlin 提交于
* src/driver.h: remove Free(), GetName(), GetID() and GetUUID() driver methods. * src/proxy_internal.c, src/test.c, src/xen_internal.c, src/xend_internal.c, src/xm_internal.c, src/xs_internal.c: Update driver vtables.
-
- 23 11月, 2006 1 次提交
-
-
由 Daniel Veillard 提交于
* include/libvirt/libvirt.h include/libvirt/libvirt.h.in src/driver.h src/libvirt.c src/proxy_internal.c src/test.c src/virsh.c src/xen_internal.c src/xend_internal.c src/xm_internal.c src/xs_internal.c: added support for dumping core of domains assuming a xend with the latest patch to do so. Daniel
-
- 17 11月, 2006 1 次提交
-
-
由 Daniel Veillard 提交于
src/driver.h src/libvirt.c src/libvirt_sym.version src/proxy_internal.c src/test.c src/xen_internal.c src/xend_internal.c src/xml.c src/xml.h src/xs_internal.c: intagrated patch from Michel Ponceau to add hot-plug devices support to the API, integrated in driver API and fixed a few small things. Still a TODO in src/xml.c about moving xenstore direct accesses to a new routine. Daniel
-
- 16 11月, 2006 1 次提交
-
-
由 Daniel P. Berrange 提交于
-
- 08 11月, 2006 2 次提交
-
-
由 Daniel Veillard 提交于
patch for rhbz#214264 in the case of Domain 0 on Xen and push the defaulting to "linux" down to the xen specific parts. Daniel
-
由 Daniel Veillard 提交于
* proxy/libvirt_proxy.c src/libvirt.c src/proxy_internal.[ch] src/xs_internal.[ch]: the virtGetOsType entry point was calling the xenstore directly instead of going though driver, refactored and implemented a specific new RPC with the proxy when this is called as non-root fixes rhbz#214264 . Daniel
-
- 21 9月, 2006 1 次提交
-
-
由 Daniel P. Berrange 提交于
-
- 30 8月, 2006 1 次提交
-
-
由 Daniel P. Berrange 提交于
Added driver backends for ListDefinedDomains, NumOfDefinedDomains, DomainStart, DomainDefineXML, DomainUndefine & hooked up all related infrastructure
-
- 17 8月, 2006 1 次提交
-
-
由 Daniel Veillard 提交于
include/libvirt/libvirt.h.in: preparing release of 0.1.4, regenerated docs, fixed a few things * src/proxy_internal.c src/test.c src/xend_internal.c: a few trivial fixes Daniel
-
- 09 8月, 2006 2 次提交
-
-
由 Daniel P. Berrange 提交于
Hook up virDomainGetXMLDesc to driver backends. Added implementation of virDomainGetXMLDesc driver for the setuid proxy
-
由 Daniel Veillard 提交于
src/xen_internal.c src/xend_internal.c src/xend_internal.h src/xml.c src/xs_internal.c: cleanups, force the new vCPU and affinity entry point to go though the driver framework, and fix a few warning showing up in my pedantic environment. Daniel
-
- 03 7月, 2006 2 次提交
-
-
由 Daniel Veillard 提交于
preparing release of 0.1.2 * src/proxy_internal.c: don't warn on open if using http and not the proxy. Daniel
-
由 Daniel Veillard 提交于
src/xen_internal.c: fixing the proxy installation, integrate in the spec file and fix a few bugs in the proxy, seems to behave correctly now. * docs/apibuild.py docs/*: fixing the doc and API generator Daniel
-