1. 10 8月, 2012 1 次提交
    • E
      build: fix PROBE() usage of intptr_t · 51ee43aa
      Eric Blake 提交于
      Otherwise, in locations like virobject.c where PROBE is used,
      for certain configure options, the compiler warns:
      
      util/virobject.c:110:1: error: 'intptr_t' undeclared (first use in this function)
      
      As long as we are making this header always available, we can
      clean up several other files.
      
      * src/internal.h (includes): Pull in <stdint.h>.
      * src/conf/nwfilter_conf.h: Rely on internal.h.
      * src/storage/storage_backend.c: Likewise.
      * src/storage/storage_backend.h: Likewise.
      * src/util/cgroup.c: Likewise.
      * src/util/sexpr.h: Likewise.
      * src/util/virhashcode.h: Likewise.
      * src/util/virnetdevvportprofile.h: Likewise.
      * src/util/virnetlink.h: Likewise.
      * src/util/virrandom.h: Likewise.
      * src/vbox/vbox_driver.c: Likewise.
      * src/xenapi/xenapi_driver.c: Likewise.
      * src/xenapi/xenapi_utils.c: Likewise.
      * src/xenapi/xenapi_utils.h: Likewise.
      * src/xenxs/xenxs_private.h: Likewise.
      * tests/storagebackendsheepdogtest.c: Likewise.
      51ee43aa
  2. 23 7月, 2012 1 次提交
    • O
      Desert the FSF address in copyright · f9ce7dad
      Osier Yang 提交于
      Per the FSF address could be changed from time to time, and GNU
      recommends the following now: (http://www.gnu.org/licenses/gpl-howto.html)
      
        You should have received a copy of the GNU General Public License
        along with Foobar.  If not, see <http://www.gnu.org/licenses/>.
      
      This patch removes the explicit FSF address, and uses above instead
      (of course, with inserting 'Lesser' before 'General').
      
      Except a bunch of files for security driver, all others are changed
      automatically, the copyright for securify files are not complete,
      that's why to do it manually:
      
        src/security/security_selinux.h
        src/security/security_driver.h
        src/security/security_selinux.c
        src/security/security_apparmor.h
        src/security/security_apparmor.c
        src/security/security_driver.c
      f9ce7dad
  3. 20 7月, 2012 1 次提交
  4. 02 2月, 2012 1 次提交
  5. 17 4月, 2011 1 次提交
  6. 22 2月, 2011 4 次提交
  7. 12 11月, 2010 1 次提交
    • D
      Re-write virsh console to use streams · dad4b5d4
      Daniel P. Berrange 提交于
      This re-writes the 'virsh console' command so that it uses
      the new streams API. This lets it run remotely and/or as a
      non-root user. This requires that virsh be linked against
      the simple event loop from libvirtd in daemon/event.c
      As an added bonus, it can now connect to any console device,
      not just the first one.
      
      * tools/Makefile.am: Link to event.c
      * tools/console.c, tools/console.h: Rewrite to use the
        virDomainOpenConsole() APIs with streams
      * tools/virsh.c: Support choosing the console name
        via --devname $NAME
      dad4b5d4
  8. 04 5月, 2010 1 次提交
    • E
      build: prefer WIN32 over __MINGW32__ checks · 9f87b631
      Eric Blake 提交于
      WIN32 is always defined when __MINGW32__ is defined, but the
      converse is not true.  WIN32 is more generic, if someone were
      to ever attempt porting to a microsoft compiler.  This does
      not affect Cygwin, which intentionally does not define WIN32.
      
      * src/qemu/qemu_driver.c (qemuDomainGetBlockInfo): Use more
      generic flag macro.
      * src/storage/storage_backend.c
      (virStorageBackendUpdateVolTargetInfoFD)
      (virStorageBackendRunProgRegex): Likewise.
      * tools/console.h (vshRunConsole): Likewise.
      9f87b631
  9. 10 3月, 2010 1 次提交
  10. 21 9月, 2009 1 次提交
    • D
      Move virsh into tools/ directory · 7ff256ec
      Daniel P. Berrange 提交于
      Move the virsh tool and its man page into the tools directory
      
      * Makefile.am: Remove rules for virsh.1 man page
      * virsh.1: Remove auto-generated file
      * docs/Makefile.am: Remove rules for virsh.pod man page
      * docs/virsh.pod: Move to tools/ directory
      * src/Makefile.am, src/.gitignore: Remove rules for virsh
      * src/console.c, src/console.h, src/*.ico, src/virsh_win_icon.rc,
        src/virsh.c: Move into tools/ directory
      * tools/Makefile.am: Add rules for building virsh
      * tools/.gitignore: Ignore virsh built files
      * tests/virshtest.c, tests/int-overflow: Update for new
        virsh location
      7ff256ec
  11. 21 8月, 2008 1 次提交
  12. 11 4月, 2008 1 次提交
  13. 07 12月, 2007 1 次提交
    • R
      Fri Dec 7 14:49:00 UTC 2007 Richard W.M. Jones <rjones@redhat.com> · 0d14fc0c
      Richard W.M. Jones 提交于
      	* src/console.c, src/console.h, src/virsh.c: Disable
      	  text console on Windows.
      	* src/libvirt.c: Use replacement getpass from Gnulib.
      	* src/libvirt.c: Initialize Winsock before use.
      	* src/remote_internal.c: Header file fixes for Windows.
      	  Don't fail if AI_ADDRCONFIG isn't defined.  Disable
      	  unsupported stuff under Windows.
      	* src/uuid.c: ENODATA unavailable on Windows, use EIO instead.
      	* src/virsh.c: No uid_t / getuid on Windows.
      	* src/virsh.c: No O_SYNC on Windows.
      0d14fc0c
  14. 29 1月, 2007 1 次提交
  15. 26 1月, 2007 1 次提交
  16. 19 1月, 2007 1 次提交
  17. 09 11月, 2006 1 次提交
  18. 17 8月, 2006 1 次提交
  19. 26 6月, 2006 1 次提交
    • D
      * configure.in libvirt.spec.in docs/examples/* include/Makefile.am · b62cdc14
      Daniel Veillard 提交于
        include/libvirt/virterror.h python/generator.py python/libvir.c
        python/libvirt_wrap.h src/driver.h src/internal.h src/test.h
        src/virsh.c src/virterror.c src/xend_internal.c src/xend_internal.h
        src/xml.c src/xml.h: moved the includes from include/ to
        include/libvirt to reflect the installed include tree. This
        avoid using "" in the includes themselves.
      Daniel
      b62cdc14
  20. 15 6月, 2006 1 次提交
  21. 06 6月, 2006 1 次提交