- 17 2月, 2009 11 次提交
-
-
由 Jim Meyering 提交于
The 'asprintf' -> 'virAsprintf' transition made in [043d702f] "use virAsprintf instead of asprintf" introducted a build error for 'driver.c' as 'util.h' has to be included. Signed-off-by: NMaximilian Wilhelm <max@rfc2324.org>
-
由 Jim Meyering 提交于
* qemud/Makefile.am (WITH_DRIVER_MODULES): Link with libvirt_driver.la and libvirt_util.la. Indent for readability.
-
由 Jim Meyering 提交于
The 'getVer' fix introducted in d88d459d [Allow remote://hostname/ style URIs for automatic driver probe...] breaks compiling libvirt with loadable module support. Work around this to get it building again. Signed-off-by: NMaximilian Wilhelm <max@rfc2324.org>
-
由 Jim Meyering 提交于
* src/bridge.c (brProbeVnetHdr) [IFF_VNET_HDR && TUNGETFEATURES && TUNGETIFF]: Use a "(void)" case to mark the parameter as unused. Reported by Maximilian Wilhelm in http://thread.gmane.org/gmane.comp.emulators.libvirt/11918/focus=11917
-
由 Jim Meyering 提交于
* tests/Makefile.am (TESTS_ENVIRONMENT): Define CONFIG_HEADER. * tests/daemon-conf: Use test-lib.sh. Skip this test when configured --without-qemu.
-
由 Jim Meyering 提交于
* configure.in: Enable internal WITH_BRIDGE support not just for LXC or QEMU, but also for --with-network. Russell Haering reported that compilation failed when configured with --without-lxc --without-qemu. Details: http://thread.gmane.org/gmane.comp.emulators.libvirt/11928 * src/bridge.h: Use #if WITH_BRIDGE, rather than currently-equivalent "#if defined(WITH_QEMU) || defined(WITH_LXC)"
-
由 Jim Meyering 提交于
* docs/formatdomain.html.in: s/clock sync/clock offset/ Patch by Jesse Lauren Farinacci <jieryn@gmail.com>.
-
由 Daniel P. Berrange 提交于
-
由 Cole Robinson 提交于
-
由 Cole Robinson 提交于
-
由 Cole Robinson 提交于
virFreeError
-
- 14 2月, 2009 8 次提交
-
-
由 Mark McLoughlin 提交于
Re-factor the code from networkEnableIpForwarding() into a utility function in preparation for code which writes to sysfs files.
-
由 Mark McLoughlin 提交于
Just some copy-and-paste mixups.
-
由 Mark McLoughlin 提交于
It looks like these functions have never existed.
-
由 Mark McLoughlin 提交于
Note, I haven't generated a new virsh.1 because Pod::Man 2.16 gives a bunch of warnings even with the existing version.
-
由 Mark McLoughlin 提交于
libvirt_proxy.c: In function 'proxyReadClientSocket': libvirt_proxy.c:659: error: dereferencing pointer 'req' does break strict-aliasing rules libvirt_proxy.c:657: error: dereferencing pointer 'req' does break strict-aliasing rules libvirt_proxy.c:655: error: dereferencing pointer 'req' does break strict-aliasing rules ...
-
由 Mark McLoughlin 提交于
bridge.c: In function 'brSetInetAddr': bridge.c:665: error: dereferencing pointer '({anonymous})' does break strict-aliasing rules bridge.c:665: note: initialized from here bridge.c:666: error: dereferencing pointer '({anonymous})' does break strict-aliasing rules bridge.c:666: note: initialized from here Fix qemud.c warnings with gcc-4.4 qemud.c: In function ‘remoteListenTCP’: qemud.c:675: error: dereferencing pointer ‘sa.72’ does break strict-aliasing rules qemud.c:675: note: initialized from here qemud.c:678: error: dereferencing pointer ‘sa.73’ does break strict-aliasing rules qemud.c:678: note: initialized from here
-
由 John Levon 提交于
-
test:///default由 Jim Meyering 提交于
* src/test.c (testNetworkCreate, testNetworkDefine): Since "def" is set to NULL immediately after any vir*AssignDef call (to indicate we no longer own it and to ensure no clean-up path mistakenly frees it), dereference via net->def->, not def->.
-
- 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 12 次提交
-
-
由 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
-