- 07 8月, 2008 2 次提交
-
-
由 Jim Meyering 提交于
* build-aux/mktempd (rand_bytes, mktempd): * build-aux/useless-if-before-free (FILE): * build-aux/vc-list-files: * gnulib/lib/.cvsignore: * gnulib/lib/Makefile.am: * gnulib/lib/poll.c (poll): * gnulib/lib/stdbool.in.h (_GL_STDBOOL_H, true): * gnulib/lib/stdio-impl.h (fp_, fp_ub): * gnulib/lib/stdio.in.h (vasprintf, obstack_printf) (obstack_vprintf): * gnulib/lib/vasnprintf.c (_GNU_SOURCE, sprintf, IF_LINT, exp) (remainder, scale10_round_decimal_long_double) (scale10_round_decimal_double, pad_ourselves): * gnulib/m4/gnulib-cache.m4: * gnulib/m4/gnulib-common.m4 (gl_MODULE_INDICATOR): * gnulib/m4/gnulib-tool.m4 (gl_LOCAL_DIR, gl_M4_BASE, gl_PO_BASE) (gl_DOC_BASE, gl_TESTS_BASE, gl_WITH_TESTS, gl_LIB, gl_LGPL) (gl_MAKEFILE_NAME, gl_MACRO_PREFIX, gl_PO_DOMAIN, gl_VC_FILES): * gnulib/m4/lock.m4 (gl_LOCK_EARLY_BODY, gl_PREREQ_LOCK) (gl_DISABLE_THREADS): * gnulib/m4/onceonly.m4: * gnulib/m4/posix-shell.m4 (gl_POSIX_SHELL): * gnulib/m4/stdio_h.m4 (gl_STDIO_H_DEFAULTS): * gnulib/tests/test-getaddrinfo.c (ENABLE_DEBUGGING, dbgprintf) (simple): * gnulib/tests/test-stdint.c (UINTMAX_MAX, or): * gnulib/tests/test-vc-list-files-cvs.sh (compare): * gnulib/tests/test-vc-list-files-git.sh (compare):
-
由 Jim Meyering 提交于
* gnulib/m4/inet_pton.m4: New file. Required for MinGW. * gnulib/m4/gnulib-comp.m4: Regenerate via gnulib-tool.
-
- 06 8月, 2008 6 次提交
-
-
由 Jim Meyering 提交于
* src/stats_linux.c: Don't include <c-ctype.h> no longer used.
-
由 Jim Meyering 提交于
Use inet_pton instead; pull in gnulib's module by the same name. * src/network_conf.c (virNetworkDefParseXML): Use inet_pton, rather than inet_aton. * bootstrap (modules): Add inet_pton. * gnulib/lib/inet_pton.c: New file, from gnulib.
-
由 Daniel Veillard 提交于
as pointed out by matthew chan it's kilobytes Daniel
-
由 Chris Lalancette 提交于
the regression tests. The problem is that the xenDaemonFormatSxpr{Disk,Net} functions are shared between domain creation time and attaching disk time. Unfortunately, though, Xend expects something different during these two times. During domain creation time, it wants the "(device" in front of the sexpr, while during attach time it does not. To remedy this situation, I added a flag to these two functions to differentiate between these two modes. With this patch in place, all of the regression tests pass. Signed-off-by: NChris Lalancette <clalance@redhat.com>
-
由 Chris Lalancette 提交于
code, a couple of bugs were introduced into the attach-disk and attach-interface functionality. This patch fixes 3 bugs: 1) In xenDaemonAttachDevice(), there is a switch statement to determine which of the xenDaemonFormatSxpr{Disk,Net} functions to call. Unfortunately, the case statements are all missing the corresponding "break", so we always fall-through to the default error case. This patch just adds the appropriate break statements. 2) (minor) In xenDaemonDomainDefineXML (that's a mouthful!), there is a stray "fprintf". This is now converted to a proper virXendError(). 3) xenDaemonFormatSxpr{Disk,Net} were adding an extra (device to the front of the sexpr expressions that xend did not expect (this is Xend on RHEL 5.2). Because of this, the attaches would fail. The patch fixes this by removing the (device from the front, which makes attach-disk and attach-interface work again. Signed-off-by: NChris Lalancette <clalance@redhat.com>
-
由 Chris Lalancette 提交于
part, this doesn't really concern libvirt, since for things like attach and detach we just pass it through and let xend worry about whether it is supported or not. The one place this breaks down is in the stats collecting code, where we need to figure out the device number so we can go digging in /sys for the statistics. To remedy this, I've re-written xenLinuxDomainDeviceID() to use regular expressions to figure out the device number from the name. The major advantage is that now xenLinuxDomainDeviceID() looks fairly identical to tools/python/xen/util/blkif.py (in the Xen sources), so that adding additional devices in the future should be much easier. It also reduces the size of the code, and, in my opinion, the code complexity. With this patch in place, I was able to get block statistics both on older style devices (/dev/xvda) and on the new, expanded devices (/dev/xvdaa). Signed-off-by: NChris Lalancette <clalance@redhat.com>
-
- 05 8月, 2008 2 次提交
-
-
由 Daniel Veillard 提交于
* src/openvz_conf.c src/openvz_conf.h src/openvz_driver.c: patch from Evgeniy Sokolov saving the UUID when creating or defining a domain. Daniel
-
由 Jim Meyering 提交于
* src/Makefile.am (DISTCLEANFILES): Define to $(BUILT_SOURCES) so "make distcheck" passes.
-
- 04 8月, 2008 1 次提交
-
-
由 Atsushi SAKAI 提交于
-
- 01 8月, 2008 16 次提交
-
-
由 Jim Meyering 提交于
This piece was mistakenly omitted from the previous patch.
-
由 Jim Meyering 提交于
-
由 Richard W.M. Jones 提交于
-
由 Richard W.M. Jones 提交于
* src/virsh.c: Implement 'virsh edit', 'virsh net-edit' and 'virsh pool-edit' commands. These edit the XML for domains, networks and storage pools respectively, and are the equivalent of doing 'virsh dumpxml; vi foo.xml; virsh define' * src/Makefile.am, src/.cvsignore: Auto-generate the net-edit and pool-edit commands. * docs/virsh.pod: Updated the documentation.
-
由 Daniel P. Berrange 提交于
-
由 Jim Meyering 提交于
-
由 Daniel P. Berrange 提交于
-
由 Daniel P. Berrange 提交于
-
由 Richard W.M. Jones 提交于
* src/virsh.c: Const-correctness.
-
由 Richard W.M. Jones 提交于
* HACKING: Link to external document which describes how to contribute to open source projects.
-
由 Daniel Veillard 提交于
carriage returns to logs Daniel
-
由 Daniel P. Berrange 提交于
-
由 Richard W.M. Jones 提交于
* src/domain_conf.c, src/network_conf.c, src/storage_conf.c: Improve error messages from commands such as 'virsh define' when the XML is not well-formed by passing libxml2 errors back out through virterror.
-
由 Daniel Veillard 提交于
docs/libvirt-refs.xml docs/html/libvirt-libvirt.html src/libvirt.c: fixed somedocs and API entry point descriptions as suggested by Charles Duffy and regenerated the API descriptions. Daniel
-
由 Daniel Veillard 提交于
-
由 Daniel Veillard 提交于
messages when trying to crate a domain already defined. Daniel
-
- 31 7月, 2008 2 次提交
-
-
由 Daniel P. Berrange 提交于
-
由 Chris Lalancette 提交于
Per subject; if autoport is in use for a host, the current virDomainGraphicsDefFormat code always emits "port=-1", even if a port is assigned to the host; this leaves no way for a client to find the VNC port assigned to the host in question. This patches fixes it by putting the vncport in place if there is one, and only putting "-1" if we fail that test.
-
- 30 7月, 2008 3 次提交
-
-
由 Daniel Veillard 提交于
not crash on interfaces without an ifname. Daniel
-
由 Daniel Veillard 提交于
small differences of behaviour for 'lvs' and 'vgs' on SLES Daniel
-
由 Daniel Veillard 提交于
config file check is done. Daniel
-
- 29 7月, 2008 2 次提交
-
-
由 Chris Lalancette 提交于
handling code. In particular, if you had a section of XML like: <disk type='file' device='cdrom'> <target dev='hdc' bus='ide'/> <readonly/> </disk> This used to work with older libvirt, but now fails. This is because we are actually passing the literal string (null) to the qemu command-line, which qemu barfs on. This patch fixes it up by making it blank, which allows qemu to continue on it's merry way. Signed-off-by: NChris Lalancette <clalance@redhat.com>
-
由 Daniel Veillard 提交于
* src/openvz_conf.c: fix compilation with new XPath interface signatures * configure.in: build OpenVZ and LXC support by default Daniel
-
- 28 7月, 2008 2 次提交
-
-
由 Daniel Veillard 提交于
* src/domain_conf.[ch] src/openvz_conf.[ch] src/openvz_driver.c: patch from Evgeniy Sokolov doing the OpenVZ xml refactoring, still needs to be ported to the new XML parsing code but implements the new format. Daniel
-
由 Daniel Veillard 提交于
doesn't override an existing domain definition or UUID Daniel
-
- 26 7月, 2008 2 次提交
-
-
由 Daniel P. Berrange 提交于
-
由 Daniel P. Berrange 提交于
-
- 25 7月, 2008 2 次提交
-
-
由 Daniel P. Berrange 提交于
-
由 Daniel P. Berrange 提交于
-