1. 29 1月, 2010 2 次提交
  2. 27 1月, 2010 2 次提交
  3. 24 1月, 2010 1 次提交
  4. 14 1月, 2010 4 次提交
  5. 13 1月, 2010 2 次提交
  6. 09 1月, 2010 1 次提交
  7. 08 1月, 2010 1 次提交
    • A
      Drop --whole-archive and static libraries · 0e8c9214
      Andreas Färber 提交于
      Juan has contributed a cool Makefile infrastructure that enables us to drop
      static libraries completely:
      
      Move shared obj-y definitions to Makefile.objs, prefixed {common-,hw-,user-},
      and link those object files directly into the executables.
      
      Replace HWLIB by HWDIR, specifying only the directory.
      
      Drop --whole-archive and ARLIBS in Makefiles and configure.
      
      Drop GENERATED_HEADERS dependency in rules.mak, since this rebuilds all
      common objects after generating a target-specific header; add dependency
      rules to Makefile and Makefile.target instead.
      
      v2:
      - Don't try to include /config.mak for user emulators
      - Changes to user object paths ("Quickfix for libuser.a drop") were obsoleted
        by "user_only: compile everything with -fpie" (Kirill A. Shutemov)
      
      v3:
      - Fix dependency modelling for tools
      - Remove comment on GENERATED_HEADERS obsoleted by this patch
      Signed-off-by: NAndreas Färber <afaerber@opensolaris.org>
      Cc: Blue Swirl <blauwirbel@gmail.com>
      Cc: Palle Lyckegaard <palle@lyckegaard.dk>
      Cc: Ben Taylor <bentaylor.solx86@gmail.com>
      Cc: Juan Quintela <quintela@trasno.org>
      Cc: Kirill A. Shutemov <kirill@shutemov.name>
      Cc: Paolo Bonzini <pbonzini@redhat.com>
      Signed-off-by: NBlue Swirl <blauwirbel@gmail.com>
      0e8c9214
  8. 23 12月, 2009 1 次提交
  9. 19 12月, 2009 1 次提交
  10. 14 12月, 2009 1 次提交
  11. 12 12月, 2009 1 次提交
    • A
      Do not abort on qemu_malloc(0) in production builds · 20ff6c80
      Anthony Liguori 提交于
      qemu_malloc() does not allow size=0 to be passed in and aborts on this behavior.
      
      Unfortunately, there is good reason to believe that within qemu, there are a
      number of, so far, undetected places that assume size=0 can be safely passed.
      Since we do not want to abort unnecessarily in production builds, return
      qemu_malloc(1) whenever the version file indicates that this is a production
      build.
      Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
      20ff6c80
  12. 06 12月, 2009 2 次提交
  13. 04 12月, 2009 2 次提交
  14. 02 12月, 2009 1 次提交
    • M
      configure: use correct cflags in compiler checks · be17dc90
      Michael S. Tsirkin 提交于
      linux-user build on fedora 11 breaks because fallocate
      is broken on that system if -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64
      are specified, which is what QEMU uses.
      
      We do have a configure check to catch this and disable fallocate,
      however, it turns out that default QEMU_CFLAGS/LDFLAGS were assigned in
      script *after* all compiler checks: so during checks we were not running
      compiler with same flags that we used for build later.
      
      Fix this by moving QEMU_CFLAGS to before compiler checks, and using
      comple_prog when checking for fallocate.  This also fixes the fact that
      we do some compiler checks while assigning the flags, right below a
      comment that says "no cc tests beyond this point".
      Signed-off-by: NMichael S. Tsirkin <mst@redhat.com>
      Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
      be17dc90
  15. 01 12月, 2009 1 次提交
    • A
      tcg: initial mips support · afa05235
      Aurelien Jarno 提交于
      Based on a patch from Arnaud Patard (Rtp) <arnaud.patard@rtp-net.org>
      
      A few words about design choices:
      * Two registers, at and t0, are reserved for TCG internal use. They are
        useful for bswap and 64-bit ops.
      * Most ops supports a constant argument with value 0, which is actually
        mapped to the zero register.
      * While the at register is available for constant loading, ops only
        support a limited range of constants. TCG does a better job doing the
        register allocation and constant loading by itself. There are plenty of
        registers available anyway.
      Signed-off-by: NAurelien Jarno <aurelien@aurel32.net>
      afa05235
  16. 30 11月, 2009 1 次提交
  17. 23 11月, 2009 1 次提交
    • P
      Makefile dependencies for device configs · a992fe3d
      Paul Brook 提交于
      Add makefile dependencies for target specific device configs.
      These will copy the default config if none exists, obsoleting the old
      configure time code.  If a config already exists but is older than the
      default then print a warning.
      
      Also remove config-devices.h.  Code does not and should not care which
      devices are being built.
      Signed-off-by: NPaul Brook <paul@codesourcery.com>
      a992fe3d
  18. 21 11月, 2009 2 次提交
  19. 18 11月, 2009 3 次提交
  20. 17 11月, 2009 3 次提交
  21. 09 11月, 2009 1 次提交
    • M
      Configurable block format whitelist · eb852011
      Markus Armbruster 提交于
      We have code for a quite a few block formats.  While I trust that all
      of these formats are useful at least for some people in some
      circumstances, some of them are of a kind that friends don't let
      friends use in production.
      
      This patch provides an optional block format whitelist, default off.
      If a whitelist is configured with --block-drv-whitelist, QEMU proper
      can use only whitelisted formats.  Other programs, like qemu-img, are
      not affected.
      
      Drivers for formats off the whitelist still participate in format
      probing, to ensure all programs probe exactly the same.  Without that,
      QEMU proper would be prone to treat images with a format off the
      whitelist as raw when the image's format is probed.
      Signed-off-by: NMarkus Armbruster <armbru@redhat.com>
      Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
      eb852011
  22. 03 11月, 2009 1 次提交
    • A
      Fix the build when srcdir == objdir · 2d9f27d2
      Anthony Liguori 提交于
      You would only see this error on a fresh clone when srcdir == objdir.  configure
      will fail because roms/pcbios doesn't exist.
      
      git submodule integration doesn't cleanup very well when switching between
      branches so you'll get an roms/pcbios directory from normal operations if you
      switch between old branches.
      
      Thanks to a mistake in configure, if you build outside of srcdir, you'll also
      get a valid roms/pcbios.
      Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
      2d9f27d2
  23. 30 10月, 2009 2 次提交
  24. 19 10月, 2009 1 次提交
  25. 16 10月, 2009 1 次提交
  26. 15 10月, 2009 1 次提交