Skip to content
Snippets Groups Projects
  1. Jun 01, 2010
  2. May 22, 2010
    • Stuart Brady's avatar
      Fix tarbin Makefile rule · 4c0a6db0
      Stuart Brady authored
      
      The 'tarbin' Makefile rule doesn't include qemu-system-sparc64, but
      should do, now that sparc64-softmmu is in the default target list.
      
      The rule attempts to tar up binaries that were not built if a target
      list was passed to the configure script -- in which case, it will
      either fail, or otherwise include binaries from previous builds.
      
      Fix both problems once and for all by building a list of binaries to
      include in the tarball, using the list of targets to be built.
      
      Signed-off-by: default avatarStuart Brady <sdb@zubnet.me.uk>
      Signed-off-by: default avatarBlue Swirl <blauwirbel@gmail.com>
      4c0a6db0
  3. May 18, 2010
  4. May 03, 2010
  5. Apr 28, 2010
  6. Mar 27, 2010
  7. Mar 21, 2010
  8. Mar 13, 2010
  9. Mar 06, 2010
  10. Mar 04, 2010
  11. Feb 27, 2010
  12. Feb 22, 2010
    • john cooper's avatar
      Add cpu model configuration support.. · b5ec5ce0
      john cooper authored
      
      This is a reimplementation of prior versions which adds
      the ability to define cpu models for contemporary processors.
      The added models are likewise selected via -cpu <name>,
      and are intended to displace the existing convention
      of "-cpu qemu64" augmented with a series of feature flags.
      
      A primary motivation was determination of a least common
      denominator within a given processor class to simplify guest
      migration.  It is still possible to modify an arbitrary model
      via additional feature flags however the goal here was to
      make doing so unnecessary in typical usage.  The other
      consideration was providing models names reflective of
      current processors.  Both AMD and Intel have reviewed the
      models in terms of balancing generality of migration vs.
      excessive feature downgrade relative to released silicon.
      
      This version of the patch replaces the prior hard wired
      definitions with a configuration file approach for new
      models.  Existing models are thus far left as-is but may
      easily be transitioned to (or may be overridden by) the
      configuration file representation.
      
      Proposed new model definitions are provided here for current
      AMD and Intel processors.  Each model consists of a name
      used to select it on the command line (-cpu <name>), and a
      model_id which corresponds to a least common denominator
      commercial instance of the processor class.
      
      A table of names/model_ids may be queried via "-cpu ?model":
      
              :
          x86       Opteron_G3  AMD Opteron 23xx (Gen 3 Class Opteron)
          x86       Opteron_G2  AMD Opteron 22xx (Gen 2 Class Opteron)
          x86       Opteron_G1  AMD Opteron 240 (Gen 1 Class Opteron)
          x86          Nehalem  Intel Core i7 9xx (Nehalem Class Core i7)
          x86           Penryn  Intel Core 2 Duo P9xxx (Penryn Class Core 2)
          x86           Conroe  Intel Celeron_4x0 (Conroe/Merom Class Core 2)
              :
      
      Also added is "-cpu ?dump" which exhaustively outputs all config
      data for all defined models, and "-cpu ?cpuid" which enumerates
      all qemu recognized CPUID feature flags.
      
      The pseudo cpuid flag 'check' when added to the feature flag list
      will warn when feature flags (either implicit in a cpu model or
      explicit on the command line) would have otherwise been quietly
      unavailable to a guest:
      
          # qemu-system-x86_64 ... -cpu Nehalem,check
          warning: host cpuid 0000_0001 lacks requested flag 'sse4.2|sse4_2' [0x00100000]
          warning: host cpuid 0000_0001 lacks requested flag 'popcnt' [0x00800000]
      
      A similar 'enforce' pseudo flag exists which in addition
      to the above causes qemu to error exit if requested flags are
      unavailable.
      
      Configuration data for a cpu model resides in the target config
      file which by default will be installed as:
      
          /usr/local/etc/qemu/target-<arch>.conf
      
      The format of this file should be self explanatory given the
      definitions for the above six models and essentially mimics
      the structure of the static x86_def_t x86_defs.
      
      Encoding of cpuid flags names now allows aliases for both the
      configuration file and the command line which reconciles some
      Intel/AMD/Linux/Qemu naming differences.
      
      This patch was tested relative to qemu.git.
      
      Signed-off-by: default avatarjohn cooper <john.cooper@redhat.com>
      Signed-off-by: default avatarAnthony Liguori <aliguori@us.ibm.com>
      b5ec5ce0
  13. Feb 10, 2010
    • Stefan Weil's avatar
      Documentation: Add build support for documentation in pdf format · 20cc9997
      Stefan Weil authored
      
      Makefile already supported dvi, html and info formats,
      but pdf was missing.
      
      pdf is especially convenient for printing and for
      documentation reviews. I hope it will help to
      improve qemu's documentation.
      
      Make now supports the new target 'pdf' which will
      create qemu-doc.pdf and qemu-tech.pdf. It is also
      possible to build both files individually.
      
      texi2pdf and texi2dvi are rather noisy, so normally
      some less important warnings are suppressed.
      When make is called with V=1 (verbose mode),
      warnings are not suppressed.
      
      The patch also sorts the documentation targets
      alphabetically and wraps a line which was too long.
      
      Signed-off-by: default avatarStefan Weil <weil@mail.berlios.de>
      Signed-off-by: default avatarAnthony Liguori <aliguori@us.ibm.com>
      20cc9997
  14. Feb 03, 2010
  15. Jan 26, 2010
  16. Jan 20, 2010
  17. Jan 14, 2010
  18. Jan 08, 2010
  19. Jan 07, 2010
    • Andreas Färber's avatar
      Drop --whole-archive and static libraries · 0e8c9214
      Andreas Färber authored
      
      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: default avatarAndreas 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: default avatarBlue Swirl <blauwirbel@gmail.com>
      0e8c9214
  20. Dec 17, 2009
  21. Dec 12, 2009
  22. Dec 03, 2009
  23. Dec 02, 2009
  24. Nov 24, 2009
  25. Nov 22, 2009
Loading