- 12 5月, 2011 2 次提交
-
-
由 Eric Blake 提交于
If we plow on after udev_device_get_syspath fails, we will hit a NULL dereference. Clang found one due to strdup later in udevSetParent, but in fact we hit a NULL dereference sooner because of the use of STREQ within virNodeDeviceFindBySysfsPath. * src/conf/node_device_conf.h (virNodeDeviceFindBySysfsPath): Mark path argument non-null. * src/node_device/node_device_udev.c (udevSetParent): Avoid null dereference.
-
由 Eric Blake 提交于
No syntactic effect; this merely silences some clang warnings. * src/libxl/libxl_driver.c (libxlDomainSetVcpusFlags): Drop redundant ret=0 statement. * src/qemu/qemu_monitor_text.c (qemuMonitorTextDriveDel): Likewise.
-
- 11 5月, 2011 27 次提交
-
-
由 Eric Blake 提交于
Running ./autobuild.sh failed when gcov is installed, because commandtest ended up crashing during gcov's getenv() call after exit() had already started. I traced this nasty bug back to a scoping issue present since the test introduction. * tests/commandtest.c (mymain): Move newenv... (newenv): ...to a scope that is still useful during exit().
-
由 Eric Blake 提交于
* daemon/Makefile.am (DAEMON_GENERATED, remote_dispatch_*.h) (qemu_dispatch_*.h): Update to live in srcdir, since they are distributed. Detected by Daniel P. Berrange's autobuilder.
-
由 Eric Blake 提交于
* docs/testsuites.html.in: Keep 'make syntax-check' happy.
-
由 Daniel Veillard 提交于
Create a new top level entry, add a new page listing the 3 test suites, and then one page for the TCK and one page for libvirt-test-API
-
由 Daniel P. Berrange 提交于
Introduce a virProcessKill function that can be safely called even when the job mutex is held. This allows virDomainDestroy to kill any VM even if it is asleep in a monitor job. The PID will die and the thread asleep on the monitor will then wake up releasing the job mutex. * src/qemu/qemu_driver.c: Kill process before using qemuProcessStop to ensure job is released * src/qemu/qemu_process.c: Add virProcessKill for killing off QEMU processes
-
由 Daniel P. Berrange 提交于
Version 2.0.0 or yajl changed API. It is fairly trivial for us to cope with both APIs in libvirt, so adapt. * configure.ac: Probe for yajl2 API * src/util/json.c: Conditional support for yajl2 API
-
由 Paolo Bonzini 提交于
libxl accepts hpet configuration in its domain info struct. Parse the domain definition's <clock> element in order to set the value. Signed-off-by: NPaolo Bonzini <pbonzini@redhat.com> Apologies from Eric Blake, for mistakenly committing the broken intermediate version.
-
由 Paolo Bonzini 提交于
libxl accepts hpet configuration in its domain info struct. Parse the domain definition's <clock> element in order to set the value. Signed-off-by: NPaolo Bonzini <pbonzini@redhat.com>
-
由 Paolo Bonzini 提交于
Recent versions of Xen disable the virtual HPET by default. This is usually more precise because tick policies are not implemented for the HPET in Xen. However, there may be several reasons to control the HPET manually: 1) to test the emulation; 2) because distros may provide the knob while leaving the default to "enabled" for compatibility reasons. This patch provides support for the hpet item in both sexpr and xm formats, and translates it to a <timer> element. Signed-off-by: NPaolo Bonzini <pbonzini@redhat.com>
-
由 Doug Goldstein 提交于
Update the documentation to mention that the CA certificate and the client cert/key pair can come from the user's location or the global location independent of each other. Signed-off-by: NDoug Goldstein <cardoe@gentoo.org>
-
由 Doug Goldstein 提交于
Allow the CA certificate to come from the user's home directory or from the global location independently of the client certificate/key pair. Mostly for the case when each user on a system has their own cert/key pair but the system as a whole shares the same CA. Signed-off-by: NDoug Goldstein <cardoe@gentoo.org>
-
由 Matthias Bolte 提交于
Anchor matches at the beginning of a line. Specialize some general matches. Add some comments to special cases.
-
由 Matthias Bolte 提交于
Rename u_int and unsigned to unsigned int. This gets rid of some special case code in the generator.
-
由 Matthias Bolte 提交于
-
由 Matthias Bolte 提交于
This matches the public API and helps to get rid of some special case code in the remote generator. Rename driver API functions and XDR protocol structs. No functional change included outside of the remote generator.
-
由 Lai Jiangshan 提交于
-
由 Lai Jiangshan 提交于
-
由 Lai Jiangshan 提交于
-
由 Lai Jiangshan 提交于
-
由 Lai Jiangshan 提交于
-
由 Lai Jiangshan 提交于
-
由 Cole Robinson 提交于
That way we can log the 'init' argv for debugging.
-
由 Cole Robinson 提交于
-
由 Cole Robinson 提交于
Actually execs the argv/env we've generated, replacing the current process. Kind of has a limited usage, but allows us to use virCommand in LXC driver to launch the 'init' process
-
由 Cole Robinson 提交于
Log the full command line and a timestamp like we do for QEMU
-
由 Cole Robinson 提交于
v2: Shorten a few virCommand calls s/remain/retain/
-
由 Cole Robinson 提交于
Similar to virCommandArgAddFormat. We will use this shortly. v2: Convert virCommandEnvAddPair to use the new function
-
- 10 5月, 2011 4 次提交
-
-
由 Matthias Bolte 提交于
gcc only reports them when compiling with -O3.
-
由 Matthias Bolte 提交于
-
由 Eric Blake 提交于
Make sure that xgettext scans generated files for translatable strings, rather than just files stored in libvirt.git. * .gnulib: Update, for bootstrap and syntax-check fixes. * bootstrap: Resynchronize with gnulib. * cfg.mk (generated_files): Define. * po/POTFILES.in: Add more files with _().
-
由 Daniel P. Berrange 提交于
assert() is forbidden in libvirt code, and these two cases would in fact never execute due to earlier error checks. * src/libvirt.c: Remove assert() usage
-
- 09 5月, 2011 5 次提交
-
-
由 Daniel P. Berrange 提交于
The libvirtd daemon uses fnmatch. Although we don't yet build it on Win32, we should use gnulib's fnmatch module to ensure portability to all platforms. * bootstrap.conf: Add fnmatch
-
由 Jiri Denemark 提交于
They were not used anywhere so far so nobody noticed they are broken.
-
由 Eric Blake 提交于
Noticed this while trying to run rpcgen on cygwin. * src/Makefile.am ($(srcdir)/remote/%_protocol.h) ($(srcdir)/remote/%_protocol.c): Add a dependency.
-
由 Eric Blake 提交于
* src/Makefile.am (REMOTE_DRIVER_GENERATED): Generated files should live in $(srcdir). Update rules to reflect this.
-
由 Daniel Veillard 提交于
Commit e6972165 broke "make rpm" and rpmbuild -ta tarball
-
- 07 5月, 2011 2 次提交
-
-
由 Daniel P. Berrange 提交于
Stop storing the generated files for the remote protocol client and server in source control. The generated files will still be included in the result of 'make dist' to avoid end-users needing to generate the files Signed-off-by: NEric Blake <eblake@redhat.com> Unfortunately, this means that the strings marked for translation in generated files are not picked up by gnulib's syntax-check, I'm working on fixing that in gnulib. * .gitignore, cfg.mk, po/POTFILES.in: Reflect deletion.
-
由 Daniel P. Berrange 提交于
Always generate the rpc files, and require rpcgen during bootstrap. * daemon/Makefile.am: Removed generated files with maintainer-clean target * src/Makefile.am: Removed generated files with maintainer-clean target. Always run 'rpcgen' if generated files are missing
-