- 25 6月, 2008 2 次提交
-
-
由 Daniel Veillard 提交于
release * src/xm_internal.c: fix xm driver serialization escapes * tests/xmconfigtest.c tests/xmconfigdata/test-escape-paths.cfg tests/xmconfigdata/test-escape-paths.xml: add test for previous problem Daniel
-
由 Daniel Veillard 提交于
files Daniel
-
- 24 6月, 2008 2 次提交
-
-
由 Daniel P. Berrange 提交于
-
由 Daniel P. Berrange 提交于
-
- 19 6月, 2008 5 次提交
-
-
由 Daniel Veillard 提交于
* src/xen_internal.c src/xend_internal.c: fix a couple of issues for List functions where max given is 0 Daniel
-
由 Jim Meyering 提交于
* src/util.c (fread_file_lim): Use VIR_REALLOC_N, not VIR_ALLOC_N. Bug introduced in 895d0fdf. * tests/Makefile.am (test_scripts): Add read-bufsiz. * tests/read-bufsiz: New test for the above.
-
由 Chris Lalancette 提交于
-
由 Chris Lalancette 提交于
fine, except that is subtly alters the semantics of malloc(), calloc(), and realloc(). In particular, if you say: foo = malloc(0); glibc will happily return a non-NULL pointer to you. However, with the new memory management stuff, if you say: foo = VIR_ALLOC(0); you will actually get a NULL pointer back. Personally, I think this is a dangerous deviation from malloc() semantics that everyone is used to, and is indeed causing problems with the remote driver. The short of it is that the remote driver allocates memory on behalf of the remote side using VIR_ALLOC_N, and this call is returning NULL so that the NULL checks elsewhere in the code fire and return failure. The attached patch fixes this situation by removing the 0 checks from the memory allocation paths, and just lets them fall through to the normal malloc(), calloc(), or realloc() routines, restoring old semantics. Signed-off-by: NChris Lalancette <clalance@redhat.com>
-
由 Chris Lalancette 提交于
introduced into the qemudNetworkIfaceConnect() function. In particular, there is a call: if (VIR_ALLOC_N(vm->tapfds, vm->ntapfds+2) < 0) goto no_memory; However, the tapfds structure is used to track *all* of the tap fds, and is called once for each network that is being attached to the domain. VIR_ALLOC_N maps to calloc(). So the first network would work just fine, but if you had more than one network, subsequent calls to this function would blow away the stored fd's that were already there and fill them all in with zeros. This causes multiple problems, from the qemu domains not starting properly to improper cleanup on shutdown. The attached patch just changes the VIR_ALLOC_N() to a VIR_REALLOC_N(), and everything is happy again. Signed-off-by: NChris Lalancette <clalance@redhat.com>
-
- 17 6月, 2008 6 次提交
-
-
由 Jim Meyering 提交于
-
由 Chris Lalancette 提交于
to only rely on sysfs for finding LUNs, given a session number. Along the way, it also fixes the bug where we wouldn't find LUNs for older kernels (with the block:sda format), and also fixes a race condition where we could try to find the LUN before udev has finished connecting it. This patch fixes a few different bugs: 1) We weren't finding LUNs on pre 2.6.24 kernels 2) libvirtd sysfs scanning was racing with udev, so we didn't always see LUNs 3) We weren't showing the 0'th LUN, although that can be a valid LUN Signed-off-by: NChris Lalancette <clalance@redhat.com>
-
由 Chris Lalancette 提交于
first logging in; we don't need to do it for logout. Move the sendtarget command into the Login() function. Signed-off-by: NChris Lalancette <clalance@redhat.com>
-
由 Chris Lalancette 提交于
--mode session" command. However, just running "iscsiadm --mode session" seems to work on all version of iscsiadm commands back to FC-6, so just use that. Signed-off-by: NChris Lalancette <clalance@redhat.com>
-
由 Chris Lalancette 提交于
put line breaks at the end of lines that use virLog() (noticed during testing). Signed-off-by: NChris Lalancette <clalance@redhat.com>
-
由 Chris Lalancette 提交于
*not* virStorageReportError() if the fork()/exec() process it spawned returned a != 0 exit code. Rather, it returns the exitcode in this case, and it is up to the higher level to determine whether this is a fatal error or not. The use case for this change is in the iSCSI stuff; older versions of iscsiadm tools would return a failure when getting the session number, despite the command succeeding. Signed-off-by: NChris Lalancette <clalance@redhat.com>
-
- 13 6月, 2008 3 次提交
-
-
由 Daniel Veillard 提交于
* Makefile.am: adding autogen.sh to EXTRA_DIST Daniel
-
由 Daniel Veillard 提交于
for network should be defined in an 'interface' node not 'net' Daniel
-
由 Daniel Veillard 提交于
release Daniel
-
- 12 6月, 2008 5 次提交
-
-
由 Daniel P. Berrange 提交于
-
由 Daniel P. Berrange 提交于
-
由 Daniel P. Berrange 提交于
-
由 Daniel Veillard 提交于
Daniel
-
由 Daniel Veillard 提交于
memory of an active domain is a NO_SUPPORT not INTERNAL_ERROR Daniel
-
- 11 6月, 2008 3 次提交
-
-
由 Daniel Veillard 提交于
* po/*: update and regenerated Daniel
-
由 Daniel P. Berrange 提交于
-
由 Daniel Veillard 提交于
cleanups by Cole Robinson Daniel
-
- 10 6月, 2008 5 次提交
-
-
由 Daniel Veillard 提交于
support Daniel
-
由 Daniel Veillard 提交于
Apply patch from Cole Robinson fixing UUIDString for python Daniel
-
由 Richard W.M. Jones 提交于
* src/xm_internal.c: Pass responsibility for checking syntax of XM block devices over the XenD (see also Xen cset 17617). (Hiroyuki Kaguchi).
-
由 Richard W.M. Jones 提交于
* include/libvirt/libvirt.h.in, src/libvirt.c, src/driver.h, src/libvirt_sym.version: New virDomainMemoryPeek API. * qemud/remote.c, qemud/remote_protocol.x, src/remote_internal.c: Support for remote. * src/qemu_driver.c: QEMU driver implementation of API. * src/test.c: Test driver (null) implementation of API. * docs/hvsupport.html.in: Document API. * libvirt.spec.in: New path /var/cache/libvirt for temporary storage of memory images. * qemud/libvirtd.init.in: Remove any old temp files in /var/cache/libvirt on restarts. * src/Makefile.am: make install creates /var/cache/libvirt. * configure.in: Detect mkdir -p.
-
由 David L. Leskovec 提交于
* src/lxc_driver.c: Make console element is output only. Always open new PTY when starting a container. Fix string overrun when storing console name in VM def struct
-
- 09 6月, 2008 1 次提交
-
-
由 Richard W.M. Jones 提交于
* src/xend_internal.c: Change virXendError function to take varargs. Better error messages throughout.
-
- 06 6月, 2008 3 次提交
-
-
由 Daniel P. Berrange 提交于
-
由 Daniel P. Berrange 提交于
-
由 Richard W.M. Jones 提交于
* qemud/remote.c, qemud/remote_protocol.x, src/remote_internal.c: Remote support. * qemud/remote_dispatch_localvars.h, qemud/remote_dispatch_proc_switch.h, qemud/remote_dispatch_prototypes.h, qemud/remote_protocol.c, qemud/remote_protocol.h: Generated files for remote support. * src/xen_unified.c, src/driver.h, src/libvirt.c: Small fix - pass flags around internally. * src/qemu_driver.c: Support for QEMU. * src/xend_internal.c: Remove redundant fstat call from Xen.
-
- 05 6月, 2008 2 次提交
-
-
由 Richard W.M. Jones 提交于
* configure.in: Document AC_SYS_LARGEFILE. * docs/hvsupport.html.in: Document HV support for virDomainBlockPeek. * include/libvirt/libvirt.h.in, src/driver.h, src/libvirt.c, src/libvirt_sym.version: Add virDomainBlockPeek infrastructure. * src/qemu_driver.c, src/test.c: Null versions of this call. * src/xen_unified.c, src/xend_internal.c, src/xend_internal.h, src/xm_internal.c, src/xm_internal.h: Xen implementation. * tests/sexpr2xmldata/sexpr2xml-curmem.xml, tests/sexpr2xmldata/sexpr2xml-no-source-cdrom.xml: XML output has been reordered slightly in the Xen driver, but should be functionally the same.
-
由 David L. Leskovec 提交于
Mon May 12 23:32:21 PST 2008 David L. Leskovec <dlesko@linux.vnet.ibm.com> * src/lxc_driver.c: Add sanity of tty pid before kill() Ignore ECHILD errors during VM cleanup Call functions to store tty pid and cleanup tty pid file * src/lxc_conf.h: Add function to verify container process exists Add facilities to manage storing the tty forward process pid * src/lxc_conf.c: Add function to verify container process exists Call function to verify container process during config load Add facilities to manage storing the tty forward process pid Call function to load tty pid during load config
-
- 03 6月, 2008 1 次提交
-
-
由 Richard W.M. Jones 提交于
then display an error instead of silently ignoring it (Hiroyuki Kaguchi).
-
- 02 6月, 2008 1 次提交
-
-
由 Richard W.M. Jones 提交于
* HACKING: Added section "general tips for contributing patches" to this file.
-
- 30 5月, 2008 1 次提交
-
-
由 Daniel P. Berrange 提交于
-