1. 06 6月, 2008 1 次提交
    • R
      virDomainBlockPeek QEMU and remote support · a73a88a1
      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.
      a73a88a1
  2. 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
  3. 03 6月, 2008 1 次提交
  4. 30 5月, 2008 6 次提交
  5. 29 5月, 2008 3 次提交
  6. 27 5月, 2008 2 次提交
  7. 23 5月, 2008 6 次提交
  8. 22 5月, 2008 7 次提交
  9. 17 5月, 2008 2 次提交
  10. 16 5月, 2008 9 次提交
    • 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
    • D
      Pass -name arg to QEMU when available · 0f1b6dd0
      Daniel P. Berrange 提交于
      0f1b6dd0
    • D
      3a7b528d
    • D
      2c37f479
  11. 15 5月, 2008 1 次提交
    • J
      avoid using STREQLEN with a literal; use STRPREFIX instead · 60495940
      Jim Meyering 提交于
      Likewise for STRNEQLEN -> !STRPREFIX.
      * src/nodeinfo.c (linuxNodeInfoCPUPopulate):
      * src/qemu_conf.c (qemudNetworkIfaceConnect):
      (qemudParseInterfaceXML):
      * src/qemu_driver.c (qemudDomainBlockStats):
      * src/remote_internal.c (call):
      * src/stats_linux.c (xenLinuxDomainDeviceID):
      * src/xend_internal.c (xend_parse_sexp_desc):
      (xend_get, sexpr_to_xend_topology):
      * src/xm_internal.c (xenXMConfigCacheRefresh)
      (xenXMDomainFormatXML):
      60495940