- 07 11月, 2009 7 次提交
-
-
由 Matthias Bolte 提交于
-
由 Matthias Bolte 提交于
- Make reading ID from file working for IDs > 127 - Fix inverse error check for writing ID to file - Use feof() to distinguish EOF from real error of fread() - Don't interpret libssh2 error codes as number of bytes
-
由 Matthias Bolte 提交于
-
由 Matthias Bolte 提交于
Also reset UUID to all 0 instead of all 48 (== '0') in phypUUIDTable_RemLpar()
-
由 Matthias Bolte 提交于
phypNumDomainsGeneric() and phypListDomainsGeneric() return 0 in case of an error. This makes it impossible to distinguish between an actual error and no domains being defined on the hypervisor. It also turn the no domains situation into an error. Return -1 in case of an error to fix this problem.
-
由 Matthias Bolte 提交于
-
由 Matthias Bolte 提交于
-
- 06 11月, 2009 1 次提交
-
-
由 Eduardo Otubo 提交于
* src/phyp/phyp_driver.[ch]: add new entry points and a number of cleanups
-
- 02 10月, 2009 1 次提交
-
-
由 Chris Lalancette 提交于
Implementation of tunnelled migration, using a Unix Domain Socket on the qemu backend. Note that this requires very new versions of qemu (0.10.7 at least) in order to get the appropriate bugfixes. Signed-off-by: NChris Lalancette <clalance@redhat.com>
-
- 23 9月, 2009 1 次提交
-
-
由 Chris Lalancette 提交于
Add the virStrncpy function, which takes a dst string, source string, the number of bytes to copy and the number of bytes available in the dest string. If the source string is too large to fit into the destination string, including the \0 byte, then no data is copied and the function returns NULL. Otherwise, this function copies n bytes from source into dst, including the \0, and returns a pointer to the dst string. This function is intended to replace all unsafe uses of strncpy in the code base, since strncpy does *not* guarantee that the buffer terminates with a \0. Signed-off-by: NChris Lalancette <clalance@redhat.com>
-
- 22 9月, 2009 1 次提交
-
-
由 Chris Lalancette 提交于
Signed-off-by: NChris Lalancette <clalance@redhat.com>
-
- 04 9月, 2009 2 次提交
-
-
由 Daniel Veillard 提交于
* libvirt.spec.in: activate phyp and fix the BuildDep to libssh2-devel * src/phyp/phyp_driver.c: fix a debug macro to use the normal logging API
-
由 Eduardo Otubo 提交于
* configure.in src/Makefile.am: change detection and flags * src/phyp/phyp_driver.c src/phyp/phyp_driver.h: connection now need to be done as part of the driver code, cleaned up by DV
-
- 20 8月, 2009 2 次提交
-
-
由 Mattias Bolte 提交于
Matthias correctly points out that escape_specialcharaters() takes a length, and since we are now malloc()'ing string in phypOpen instead of making it a static array, we can't use sizeof(string) anymore. Calculate the proper strlen and then use that both to allocate the string and also pass it to escape_specialcharacters(). Signed-off-by: NChris Lalancette <clalance@redhat.com>
-
由 Mattias Bolte 提交于
I came across this line in the phypOpen function: char string[strlen(conn->uri->path)]; Here the path part of the given URI is used without checking it for NULL, this can cause a segfault as strlen expects a string != NULL. Beside that uuid_db and connection_data leak in case of an error. In this line conn->uri->path = string; the original path of the URI leaks. The patch adds a VIR_FREE call before setting the new path. The attached patch is compile-tested but I don't have a Power Hypervisor installation at hand to test it for real. Matthias Signed-off-by: NChris Lalancette <clalance@redhat.com>
-
- 11 8月, 2009 1 次提交
-
-
由 Chris Lalancette 提交于
A couple of minor fixes to phyp escape_specialcharacters. Make it a static function (since it's only used in phyp/phyp_driver.c), and make it take a dstlen parameter. This paves the way for removing strncpy in the future. Signed-off-by: NChris Lalancette <clalance@redhat.com>
-
- 25 7月, 2009 1 次提交
-
-
由 Daniel P. Berrange 提交于
* autobuild.sh: Disable esx/phyp build on mingw32 * configure.in: Fix handling of --without-phyp so it actually works * libvirt.spec.in: Add missing interface.rng * mingw32-libvirt.spec.in: Disable phyp/esx drivers * src/phyp/phyp_driver.c: Fix missing i18n of error messages
-
- 24 7月, 2009 1 次提交
-
-
由 Eduardo Otubo 提交于
Features supported: - Connects to HMC/VIOS or IVM systems. - Life cycle commands (resume and shutdown). - dumpxml - 'list' and 'list --all' What is being implemented: - better and centralized control for UUID - definexml - CPU management commands * src/domain_conf.c src/domain_conf.h: first version of the driver * configure.in src/Makefile.am include/libvirt/virterror.h src/domain_conf.[ch] src/libvirt.c src/virterror.c: glue the driver in the general framework
-