1. 16 4月, 2010 2 次提交
    • D
      Fix QEMU memory stats JSON mode · 4f81919a
      Daniel P. Berrange 提交于
      The QEMU driver is mistakenly calling directly into the text
      mode monitor for the domain memory stats query.
      
      * src/qemu/qemu_driver.c: Replace qemuMonitorTextGetMemoryStats with
        qemuMonitorGetMemoryStats
      * src/qemu/qemu_monitor.c, src/qemu/qemu_monitor.h: Add the new
        wrapper for qemuMonitorGetMemoryStats
      * src/qemu/qemu_monitor_json.c, src/qemu/qemu_monitor_json.h: Add
        qemuMonitorJSONGetMemoryStats implementation
      4f81919a
    • D
      Fix QEMU command building errors to reflect unsupported configuration · 3fb992c6
      Daniel P. Berrange 提交于
      Instead of reporting VIR_ERR_INTERNAL_ERROR use the more specific
      VIR_ERR_CONFIG_UNSUPPORTED
      
      * src/qemu/qemu_conf.c: Report VIR_ERR_CONFIG_UNSUPPORTED for
        unsupported video adapters
      3fb992c6
  2. 15 4月, 2010 4 次提交
  3. 14 4月, 2010 1 次提交
    • D
      Implement variable length structure allocator · 62170b99
      David Allan 提交于
      * This patch implements a memory allocator to obtain memory for
        structures whose last member is a variable length array.  C99 refers
        to these variable length objects as structs containing flexible
        array members.
      * Fixed macro parentheses per Eric Blake
      62170b99
  4. 15 4月, 2010 9 次提交
  5. 14 4月, 2010 14 次提交
  6. 13 4月, 2010 8 次提交
    • S
      Consolidate interface related functions in interface.c · 5174b02f
      Stefan Berger 提交于
      Changes from v1 to v2:
      - changed function name prefixes to 'iface' from previous 'Iface'
      
      - Further to make make syntax-check pass:
       - indentation fix in interface.h
       - added entry to POTFILES.in
      
      I am consolidating network interface related functions used in nwfilter
      and macvtap code in utils/interface.c. All function names are prefixed
      with 'Iface'. The following functions are now available through
      interface.h:
      
      int ifaceCtrl(const char *name, bool up);
      int ifaceUp(const char *name);
      int ifaceDown(const char *name);
      
      int ifaceCheck(bool reportError, const char *ifname,
                     const unsigned char *macaddr, int ifindex);
      
      int ifaceGetIndex(bool reportError, const char *ifname, int *ifindex);
      
      I added 'int ifindex' as parameter to ifaceCheck to the original
      function and modified the code accordingly.
      5174b02f
    • D
      Fix nodeinfotest on NUMA machines · e7ebe9f3
      Daniel P. Berrange 提交于
      The nodeinfotest was reliant on the host NUMA topology, but all
      the test data files assumed 1 single NUMA node. This test thus
      failed on any NUMA machine with > 1 node
      
      * tests/nodeinfotest.c: Hardcode 1 single numa node
      e7ebe9f3
    • E
      build: include usleep gnulib module · 9819b41a
      Eric Blake 提交于
      Without this module, attempts to sleep for 1 or more seconds
      on mingw instead become a no-delay no-op.
      
      * bootstrap.conf (gnulib_modules): Add usleep.
      9819b41a
    • D
      Fix spec file for builds without lxc · 505242f8
      Daniel Berteaud 提交于
      * libvirt.spec.in: fix a cut and paste error
      505242f8
    • E
      build: fix syntax-check problems · babaae92
      Eric Blake 提交于
      * .x-sc_prohibit_gettext_noop: Add new exemption.
      * .x-sc_prohibit_test_minus_ao: Likewise.
      * Makefile.am (EXTRA_DIST): Distribute new files.
      * .gitignore: Ignore built file.
      babaae92
    • S
      add nwfilter functions to virsh man page · 281c3c64
      Stefan Berger 提交于
      With Eric Blake's spelling corrections applied.
      
      Unfortunately after the 0.8.0 release, but here's a beginning of the
      documentation of the nwfilter functionality.
      281c3c64
    • D
      Release of libvirt-0.8.0 · bfcca587
      Daniel Veillard 提交于
      * configure.ac docs/news.html.in libvirt.spec.in src/libvirt_public.syms:
        updates for release of 0.8.0
      * po/*.po po/libvirt.pot: updated a lar set of localizations, and merge
        the messages
      bfcca587
    • D
      Add documentation for synchronous hooks · 22de841a
      Daniel Veillard 提交于
      * docs/sitemap.html.in: add in navigation under
        Documentation/Deployment/Hooks
      * docs/hooks.html.in: new doc describing current support for 0.8.0
      22de841a
  7. 12 4月, 2010 2 次提交