- 10 2月, 2010 3 次提交
-
-
由 Jim Meyering 提交于
* src/util/util.h (virAsprintf): Remove ATTRIBUTE_RETURN_CHECK, since it is perfectly fine to ignore the return value, now that the pointer is guaranteed to be set to NULL upon failure. * src/util/storage_file.c (absolutePathFromBaseFile): Remove now- unnecessary use of ignore_value.
-
由 Jim Meyering 提交于
* src/util/storage_file.c (absolutePathFromBaseFile): While this use of virAsprintf is slightly cleaner than using stpncpy(stpcpy(..., it does impose an artificial limitation on the length of the base_file name. Rather than asserting that it does not exceed INT_MAX, return NULL when it does.
-
由 Daniel Veillard 提交于
* src/conf/node_device_conf.c: string saved into XML should be escaped with the use of virBufferEscapeString()
-
- 09 2月, 2010 20 次提交
-
-
由 Jiri Denemark 提交于
When creating preallocated large raw files opening them with O_DSYNC prevents long delays in reading because cache pages can be immediately reused without writing them on a disk first.
-
由 Daniel P. Berrange 提交于
Re-generate remote protocol files for changes in commit daeb6f6b * daemon/remote_dispatch_args.h, daemon/remote_dispatch_prototypes.h, daemon/remote_dispatch_table.h, src/remote/remote_protocol.c, src/remote/remote_protocol.h: Re-generate files
-
由 Matthias Bolte 提交于
It was used for error reporting only.
-
由 Matthias Bolte 提交于
-
由 Matthias Bolte 提交于
It was used for error reporting only.
-
由 Matthias Bolte 提交于
It was used for error reporting only.
-
由 Matthias Bolte 提交于
It was used for error reporting only.
-
由 Matthias Bolte 提交于
It was used for error reporting only.
-
由 Matthias Bolte 提交于
It was used for error reporting only.
-
由 Matthias Bolte 提交于
-
由 Matthias Bolte 提交于
-
由 Jim Fehlig 提交于
Change all virsh commands that invoke virDomain{Attach,Detach}Device() to use virDomain{Attach,Detach}DeviceFlags() instead. Add a "--persistent" flag to these virsh commands, allowing user to specify that the domain persisted config be modified as well. V2: Only invoke virDomain{Attach,Detach}DeviceFlags() if "--persistent" flag is specified. Otherwise invoke virDomain{Attach,Detach}Device() to retain current behavior.
-
由 Jim Fehlig 提交于
Implementation of domain{Attach,Detach}DeviceFlags handlers in the drivers.
-
由 Jim Fehlig 提交于
Server side dispatcher for Domain{Attach,Detach}DeviceFlags.
-
由 Jim Fehlig 提交于
Implementation of Domain{Attach,Detach}DeviceFlags in remote driver.
-
由 Jim Fehlig 提交于
Definition of wire protocol format for virDomain{Attach,Detach}DeviceFlags.
-
由 Jim Fehlig 提交于
Implementation of public API for virDomain{Attach,Detach}DeviceFlags. V2: Don't break remote compatibility with older libvirtd
-
由 Jim Fehlig 提交于
Definition of internal API for virDomain{Attach,Detach}DeviceFlags.
-
由 Jim Fehlig 提交于
Definition of public API for virDomain{Attach,Detach}DeviceFlags. V2: Adjust libvrt_public.syms to anticipated 0.7.7 release.
-
由 Jim Fehlig 提交于
virDomain{Attach,Detach}Device is now only permitted on active domains. Explicitly state this restriction in the API documentation. V2: Only change doc, dropping the hunk that forced the restriction in libvirt frontend.
-
- 06 2月, 2010 1 次提交
-
-
由 Jim Meyering 提交于
* .gnulib: This fixes a warning in test-gettimeofday.c, seen via "make check". Reported by Daniel Veillard.
-
- 05 2月, 2010 15 次提交
-
-
由 Jim Meyering 提交于
When configured with --enable-gcc-warnings, it didn't even compile. * src/util/storage_file.c: Include <assert.h>. (absolutePathFromBaseFile): Assert that converting size_t to int is valid. Reverse length/string args to match "%.*s". Explicitly ignore the return value of virAsprintf.
-
由 Jim Meyering 提交于
* src/util/storage_file.c: Include "dirname.h". (absolutePathFromBaseFile): Rewrite not to leak, and to require fewer allocations. * bootstrap (modules): Add dirname-lgpl. * .gnulib: Update submodule to the latest.
-
由 Jim Meyering 提交于
* src/xen/sexpr.c (sexpr_string): Free sexpr buffer upon allocation failure.
-
由 Jim Meyering 提交于
* src/conf/domain_conf.c (virDomainChrDefParseXML): Don't leak a virDomainChrDef buffer upon "unknown target type for char device" error.
-
由 Jim Meyering 提交于
* src/util/util.c (virExecWithHook): Free argv_str string before returning upon failure to allocate space for environment.
-
由 Jim Meyering 提交于
* src/util/cgroup.c (virCgroupDetectPlacement): Close the mapping FILE* also upon error.
-
由 Jim Meyering 提交于
* src/util/cgroup.c (virCgroupCpuSetInherit) [HAVE_MNTENT_H]: Don't leak CPU-set inheritance value strings.
-
由 Matthias Bolte 提交于
This stops the text and pre-boxes from touching the right border.
-
由 Matthias Bolte 提交于
-
由 Matthias Bolte 提交于
-
由 Matthias Bolte 提交于
-
由 Matthias Bolte 提交于
-
由 Matthias Bolte 提交于
Instead of refering to __virRaiseError(VIR_ERROR_NO_MEMORY).
-
由 Matthias Bolte 提交于
-
由 Matthias Bolte 提交于
Also cleanup indentation of domain XML examples.
-
- 04 2月, 2010 1 次提交
-
-
由 Doug Goldstein 提交于
* tools/virt-pki-validate.in: use an automake variable instead of a shell variable so the resulting shell actually work
-