- 13 2月, 2009 1 次提交
-
-
由 Guido Günther 提交于
-
- 12 2月, 2009 1 次提交
-
-
由 Guido Günther 提交于
-
- 10 2月, 2009 1 次提交
-
-
由 Jim Meyering 提交于
Before this change, the unix socket directory was hard-coded to be e.g., /var/run/libvirt for euid==0 and ~/.libvirt otherwise. With this change, you may now specify that directory in libvirtd's config file via a line like this: unix_sock_dir = "/var/run/libvirt". This is essential for running tests that do not impinge on any existing libvirtd process, and in running tests in parallel. * qemud/libvirtd.conf (unix_sock_dir): Add comment and example. * qemud/qemud.h (struct qemud_server) [logDir]: Change type from char[PATH_MAX] to char*. * qemud/qemud.c (unix_sock_dir): New global (remoteReadConfigFile): Set the global. (qemudInitPaths): Use the global, unix_sock_dir, if non-NULL. One minor improvement: unlink both sockets or none, never just one of them. (qemudCleanup): Free logDir. (main): Use the new global rather than hard-coding "/run/libvirt". * qemud/libvirtd.aug (sock_acl_entry): Add "unix_sock_dir".
-
- 09 2月, 2009 5 次提交
-
-
由 Jim Meyering 提交于
* qemud/mdns.c (libvirtd_mdns_timeout_new): Don't use local, t, uninitialized.
-
由 Jim Meyering 提交于
* tests/cpuset: Adjust expected diagnostic to match new behavior. * tests/undefine: Likewise.
-
由 John Levon 提交于
-
由 John Levon 提交于
-
由 Daniel P. Berrange 提交于
-
- 08 2月, 2009 1 次提交
-
-
由 Guido Günther 提交于
-
- 06 2月, 2009 17 次提交
-
-
由 Daniel P. Berrange 提交于
-
由 John Levon 提交于
connection error, which may not have been set.
-
由 John Levon 提交于
-
由 John Levon 提交于
-
由 John Levon 提交于
-
由 Jim Meyering 提交于
* .x-sc_prohibit_nonreentrant: Add src/console.c and virterror.c. * Makefile.cfg (local-checks-to-skip): Don't exempt sc_prohibit_nonreentrant. * Makefile.nonreentrant: Don't exempt strerror.
-
由 Jim Meyering 提交于
* qemud/qemud.c (GET_CONF_STR): Use virStrerror, not strerror. * qemud/remote.c (remoteDispatchDomainBlockPeek): Likewise. (remoteDispatchDomainMemoryPeek, remoteDispatchAuthSaslInit): Likewise. (remoteDispatchAuthPolkit): Likewise. * src/lxc_container.c (lxcContainerAvailable): Likewise. * src/network_driver.c (networkStartNetworkDaemon): Likewise. (networkShutdownNetworkDaemon): Likewise. * src/qemu_conf.c (qemudExtractVersion, qemudNetworkIfaceConnect): * src/storage_conf.c (virStoragePoolLoadAllConfigs): Likewise. * src/storage_driver.c (storagePoolUndefine): Likewise. * src/uml_driver.c (umlStartup, umlStartVMDaemon): Likewise. * src/util.c (virFileReadAll): Likewise. * src/uuid.c (virUUIDGenerate): Likewise. * src/xen_internal.c (get_cpu_flags): Likewise.
-
由 Jim Meyering 提交于
* src/uml_driver.c (umlStartVMDaemon): Don't print raw errno value. * qemud/remote.c (remoteDispatchAuthSaslInit): Likewise.
-
由 Jim Meyering 提交于
-
由 Jim Meyering 提交于
* src/iptables.c: Include "virterror_internal.h". Use virStrerror, not strerror. * src/iptables.c (notifyRulesUpdated): Use %s rather than string-concatenation that made sc_unmarked_diagnostics report a false-positive.
-
由 Jim Meyering 提交于
* src/qemu_driver.c (qemudDomainSave, qemudDomainRestore) (qemudDomainAttachPciDiskDevice) (qemudDomainAttachUsbMassstorageDevice):
-
由 Jim Meyering 提交于
Perform most changs automatically, with this: perl -pi -e 's/\bstrerror *\((.+?)\)/virStrerror($1, ebuf, sizeof ebuf)/' Then, declare ebuf, as needed
-
由 Jim Meyering 提交于
* src/qemu_driver.c: Use virSetCloseExec and virSetNonBlock, rather than qemuSet* functions. Suggested by Daniel P. Berrange. * src/util.c (virSetCloseExec): Publicize. * src/util.h (virSetCloseExec): Declare * src/libvirt_private.syms: Add virSetCloseExec.
-
由 Jim Meyering 提交于
-
由 Jim Meyering 提交于
...thus eliminating many uses of strerror. (kvmGetMaxVCPUs): Rather than merely warning, diagnose an error and return -1 upon failure to open KVM_DEVICE. Suggested by Daniel P. Berrange.
-
由 Jim Meyering 提交于
* src/virterror.c (virStrerror): Remove "static". * src/virterror_internal.h (virStrerror): Declare it. * src/libvirt_private.syms: Add virStrerror;
-
由 Jim Meyering 提交于
* src/bridge.c (brAddTap): Remove redundant errno=ENOMEM assignment after failed strdup. * src/cgroup.c (virCgroupFree): Remove redundant *group=NULL assignment after VIR_FREE(*group). * src/lxc_driver.c (lxcShutdown): Likewise. * src/xen_unified.c (xenUnifiedClose): Likewise. * src/xm_internal.c (xenXMDomainConfigFormat): Rewrite disk- and net-config-setting code to be clearer.
-
- 05 2月, 2009 1 次提交
-
-
由 Jim Meyering 提交于
* src/lxc_container.c (lxcContainerPivotRoot): Free and zero oldroot *after* printing the diagnostic, both for virFileMakePath and pivot_root failure.
-
- 04 2月, 2009 1 次提交
-
-
由 Jim Meyering 提交于
-
- 03 2月, 2009 6 次提交
-
-
由 Jim Meyering 提交于
* src/qemu_driver.c (qemudStartVMDaemon): Use "%s".
-
由 Jim Meyering 提交于
* Makefile.cfg (local-checks-to-skip): Remove sc_redundant_const. * src/lxc_controller.c: Remove redundant "const"(s). * src/storage_backend_fs.c: Likewise. * src/util.h: Likewise. * src/xen_internal.c: Likewise. * tests/qparamtest.c: Likewise.
-
由 Jim Meyering 提交于
* Makefile.cfg (local-checks-to-skip): Don't skip sc_m4_quote_check. Don't skip sc_prohibit_nonreentrant. * Makefile.nonreentrant (NON_REENTRANT): Comment out until we've remove all remaining uses of strerror.
-
由 Jim Meyering 提交于
* Makefile.cfg (useless_free_options): Also check for VIR_FREE. * src/iptables.c (iptRulesFree): Remove useless if-before-VIR_FREE. * src/remote_internal.c (remoteAuthSASL): Likewise. * src/test.c (testOpenFromFile): Likewise.
-
由 Jim Meyering 提交于
* tests/qemuxml2argvtest.c: Revert the change, "tests: diagnose open failure" of 2009-01-30. * tests/testutils.c (virtTestLoadFile): Diagnose failure here.
-
由 John Levon 提交于
-
- 31 1月, 2009 6 次提交
-
-
由 Guido Günther 提交于
-
由 Daniel Veillard 提交于
* configure.in docs/* NEWS: release of 0.6.0 * po/*: regenerated and updated brazilian and polish localizations daniel
-
由 Daniel Veillard 提交于
* docs/*: regenerated some data too daniel
-
由 Jim Meyering 提交于
* tests/qemuxml2argvtest.c (testCompareXMLToArgvFiles): Diagnose failure to open an input file.
-
由 Daniel P. Berrange 提交于
-
由 Daniel P. Berrange 提交于
-