1. 10 6月, 2008 1 次提交
  2. 09 6月, 2008 1 次提交
  3. 06 6月, 2008 3 次提交
  4. 05 6月, 2008 2 次提交
    • R
      virDomainBlockPeek call · 8354895e
      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.
      8354895e
    • D
      Fix a few issues related to restart of libvirtd with containers running. · 0bd57cdb
      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
      0bd57cdb
  5. 03 6月, 2008 1 次提交
  6. 30 5月, 2008 6 次提交
  7. 29 5月, 2008 3 次提交
  8. 27 5月, 2008 2 次提交
  9. 23 5月, 2008 6 次提交
  10. 22 5月, 2008 7 次提交
  11. 17 5月, 2008 2 次提交
  12. 16 5月, 2008 6 次提交
    • J
      * src/xml.c: Include "c-ctype.h". · a770c2ab
      Jim Meyering 提交于
      a770c2ab
    • J
      start using c-ctype functions · c1ee35af
      Jim Meyering 提交于
      Up to now, we've been avoiding ctype functions like isspace, isdigit,
      etc.  because they are locale-dependent.  Now that we have the c-ctype
      functions, we can start using *them*, to make the code more readable
      with changes like these:
      
      -        /* This may not work on EBCDIC. */
      -        if ((*p >= 'a' && *p <= 'z') ||
      -            (*p >= 'A' && *p <= 'Z') ||
      -            (*p >= '0' && *p <= '9'))
      +        if (c_isalnum(*p))
      
      -    while ((*cur >= '0') && (*cur <= '9')) {
      +    while (c_isdigit(*cur)) {
      
      Also, some macros in conf.c used names that conflicted with
      standard meaning of "BLANK" and "SPACE", so I've adjusted them
      to be in line with the definition of e.g., isblank.
      In addition, I've wrapped those statement macros with do {...} while (0),
      so that we can't forget the ";" after a use.  There was one like that
      already (fixed below).  The missing semicolon would mess up automatic
      indenting.
      * src/buf.c (virBufferURIEncodeString):
      * src/conf.c (IS_EOL, SKIP_BLANKS_AND_EOL, SKIP_BLANKS)
      (virConfParseLong, virConfParseValue, virConfParseName)
      (virConfParseSeparator, virConfParseStatement, IS_BLANK, IS_CHAR)
      (IS_DIGIT, IS_SPACE, SKIP_SPACES):
      * src/nodeinfo.c:
      * src/qemu_conf.c (qemudParseInterfaceXML):
      * src/qemu_driver.c (qemudDomainBlockStats):
      * src/sexpr.c:
      * src/stats_linux.c:
      * src/util.c (virParseNumber, virDiskNameToIndex):
      * src/uuid.c (hextobin, virUUIDParse):
      * src/virsh.c:
      * src/xml.c (parseCpuNumber, virParseCpuSet):
      c1ee35af
    • J
      avoid a double-free bug · 0dc23afb
      Jim Meyering 提交于
      * src/qemu_conf.c (qemudParseXML): Ensure that "obj" is either
      NULL or a valid malloc'd pointer before we might "goto error"
      where it is freed.
      0dc23afb
    • D
      Remove use of strcmp() · 65c2738e
      Daniel P. Berrange 提交于
      65c2738e
    • D
      Fixe default disk bus selection logic · 25f860dc
      Daniel P. Berrange 提交于
      25f860dc
    • D
      Support Xenner bootloader · 763a59d8
      Daniel P. Berrange 提交于
      763a59d8