1. 08 2月, 2018 2 次提交
  2. 23 11月, 2017 1 次提交
  3. 17 10月, 2017 1 次提交
  4. 19 9月, 2017 2 次提交
  5. 17 9月, 2017 2 次提交
  6. 01 8月, 2017 1 次提交
  7. 05 7月, 2017 1 次提交
  8. 04 7月, 2017 1 次提交
  9. 21 6月, 2017 1 次提交
  10. 15 6月, 2017 4 次提交
  11. 19 5月, 2017 1 次提交
  12. 26 4月, 2017 3 次提交
  13. 21 4月, 2017 1 次提交
    • X
      trace: Put all trace.o into libqemuutil.a · 3d1baccb
      Xu, Anthony 提交于
      Currently all trace.o are linked into qemu-system, qemu-img,
      qemu-nbd, qemu-io etc., even the corresponding components
      are not included.
      Put all trace.o into libqemuutil.a that the linker would only pull in .o
      files containing symbols that are actually referenced by the
      program.
      
      Signed-off -by: Anthony Xu <anthony.xu@intel.com>
      Signed-off-by: NStefan Hajnoczi <stefanha@redhat.com>
      3d1baccb
  14. 16 3月, 2017 1 次提交
  15. 01 2月, 2017 3 次提交
  16. 20 1月, 2017 1 次提交
  17. 17 1月, 2017 1 次提交
  18. 22 12月, 2016 1 次提交
    • P
      rules.mak: add more rules to avoid chaining · a273f4ce
      Paolo Bonzini 提交于
      Really rule chaining is not a particularly expensive task, since
      GNU Make caches the directory listing.  However it is easy to
      avoid it for most files and for phony targets (one was missing).
      
      After this patch, only "Makefile", "scripts/hxtool" and
      "scripts/create_config" attempt to use chained rules.
      Signed-off-by: NPaolo Bonzini <pbonzini@redhat.com>
      a273f4ce
  19. 21 12月, 2016 1 次提交
    • T
      Move target-* CPU file into a target/ folder · fcf5ef2a
      Thomas Huth 提交于
      We've currently got 18 architectures in QEMU, and thus 18 target-xxx
      folders in the root folder of the QEMU source tree. More architectures
      (e.g. RISC-V, AVR) are likely to be included soon, too, so the main
      folder of the QEMU sources slowly gets quite overcrowded with the
      target-xxx folders.
      To disburden the main folder a little bit, let's move the target-xxx
      folders into a dedicated target/ folder, so that target-xxx/ simply
      becomes target/xxx/ instead.
      
      Acked-by: Laurent Vivier <laurent@vivier.eu> [m68k part]
      Acked-by: Bastian Koppelmann <kbastian@mail.uni-paderborn.de> [tricore part]
      Acked-by: Michael Walle <michael@walle.cc> [lm32 part]
      Acked-by: Cornelia Huck <cornelia.huck@de.ibm.com> [s390x part]
      Reviewed-by: Christian Borntraeger <borntraeger@de.ibm.com> [s390x part]
      Acked-by: Eduardo Habkost <ehabkost@redhat.com> [i386 part]
      Acked-by: Artyom Tarasenko <atar4qemu@gmail.com> [sparc part]
      Acked-by: Richard Henderson <rth@twiddle.net> [alpha part]
      Acked-by: Max Filippov <jcmvbkbc@gmail.com> [xtensa part]
      Reviewed-by: David Gibson <david@gibson.dropbear.id.au> [ppc part]
      Acked-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com> [cris&microblaze part]
      Acked-by: Guan Xuetao <gxt@mprc.pku.edu.cn> [unicore32 part]
      Signed-off-by: NThomas Huth <thuth@redhat.com>
      fcf5ef2a
  20. 26 10月, 2016 1 次提交
  21. 12 10月, 2016 1 次提交
  22. 06 10月, 2016 1 次提交
    • P
      rules.mak: quiet-command: Split command name and args to print · 0bdb12c7
      Peter Maydell 提交于
      The quiet-command make rule currently takes two arguments:
      the command and arguments to run, and a string to print if
      the V flag is not set (ie we are not being verbose).
      By convention, the string printed is of the form
      "  NAME   some args". Unfortunately to get nicely lined up
      output all the strings have to agree about what column the
      arguments should start in, which means that if we add a
      new quiet-command usage which wants a slightly longer CMD
      name then we either put up with misalignment or change
      every quiet-command string.
      
      Split the quiet-mode string into two, the "NAME" and
      the "same args" part, and use printf(1) to format the
      string automatically. This means we only need to change
      one place if we want to support a longer maximum name.
      
      In particular, we can now print 7-character names lined
      up properly (they are needed for the OSX "SETTOOL" invocation).
      
      Change all the uses of quiet-command to the new syntax.
      (Any which are missed or inadvertently reintroduced
      via later merges will result in slightly misformatted
      quiet output rather than disaster.)
      
      A few places in the pc-bios/ makefiles are updated to use
      "BUILD", "SIGN" and "STRIP" rather than "Building",
      "Signing" and "Stripping" for consistency and to keep them
      below 7 characters. Module .mo links now print "LD" rather
      than the nonstandard "LD -r".
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      Reviewed-by: NEric Blake <eblake@redhat.com>
      Message-id: 1475598441-27908-1-git-send-email-peter.maydell@linaro.org
      0bdb12c7
  23. 19 9月, 2016 1 次提交
  24. 06 9月, 2016 1 次提交
    • M
      s390x/cpumodel: generate CPU feature lists for CPU models · dced7eec
      Michael Mueller 提交于
      This patch introduces the helper "gen-features" which allows to generate
      feature list definitions at compile time. Its flexibility is better and the
      error-proneness is lower when compared to static programming time added
      statements.
      
      The helper includes "target-s390x/cpu_features.h" to be able to use named
      facility bits instead of numbers. The generated defines will be used for
      the definition of CPU models.
      
      We generate feature lists for each HW generation and GA for EC models. BC
      models are always based on a EC version and have no separate definitions.
      
      Base features: Features we expect to be always available in sane setups.
      Migration safe - will never change. Can be seen as "minimum features
      required for a CPU model".
      
      Default features: Features we expect to be stable and around in latest
      setups (e.g. having KVM support) - not migration safe.
      
      Max features: All supported features that are theoretically allowed for a
      CPU model. Exceeding these features could otherwise produce problems with
      IBC (instruction blocking controls) in KVM.
      Acked-by: NCornelia Huck <cornelia.huck@de.ibm.com>
      Signed-off-by: NMichael Mueller <mimu@linux.vnet.ibm.com>
      Signed-off-by: NDavid Hildenbrand <dahi@linux.vnet.ibm.com>
      [generate base, default and models. renaming and cleanup]
      Message-Id: <20160905085244.99980-6-dahi@linux.vnet.ibm.com>
      Signed-off-by: NCornelia Huck <cornelia.huck@de.ibm.com>
      dced7eec
  25. 26 6月, 2016 1 次提交
    • P
      linux-user: Create a hostdep.h for each host architecture · ba453780
      Peter Maydell 提交于
      In commit 4d330cee a new hostdep.h file was added, with the intent
      that host architectures which needed one could provide it, and the
      build system would automatically fall back to a generic version if
      there was no version for the host architecture. Although this works,
      it has a flaw: if a subsequent commit switches an architecture from
      "uses generic/hostdep.h" to "uses its own hostdep.h" nothing in the
      makefile dependencies notices this and so doing a rebuild without
      a manual 'make clean' will fail.
      
      So we drop the idea of having a 'generic' version in favour of
      every architecture we support having its own hostdep.h, even if
      it doesn't have anything in it. (There are only thirteen of these.)
      
      If the dependency files claim that an object file depends on a
      nonexistent file, our dependency system means that make will
      rebuild the object file, and regenerate the dependencies in
      the process. So moving between trees prior to this commit and
      trees after this commit works without requiring a 'make clean'.
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      Reviewed-by: NLaurent Vivier <laurent@vivier.eu>
      Reviewed-by: NRichard Henderson <rth@twiddle.net>
      Signed-off-by: NRiku Voipio <riku.voipio@linaro.org>
      ba453780
  26. 21 6月, 2016 1 次提交
  27. 07 6月, 2016 1 次提交
  28. 27 5月, 2016 1 次提交
    • T
      linux-user: Provide safe_syscall for fixing races between signals and syscalls · 4d330cee
      Timothy E Baldwin 提交于
      If a signal is delivered immediately before a blocking system call the
      handler will only be called after the system call returns, which may be a
      long time later or never.
      
      This is fixed by using a function (safe_syscall) that checks if a guest
      signal is pending prior to making a system call, and if so does not call the
      system call and returns -TARGET_ERESTARTSYS. If a signal is received between
      the check and the system call host_signal_handler() rewinds execution to
      before the check. This rewinding has the effect of closing the race window
      so that safe_syscall will reliably either (a) go into the host syscall
      with no unprocessed guest signals pending or or (b) return
      -TARGET_ERESTARTSYS so that the caller can deal with the signals.
      Implementing this requires a per-host-architecture assembly language
      fragment.
      
      This will also resolve the mishandling of the SA_RESTART flag where
      we would restart a host system call and not call the guest signal handler
      until the syscall finally completed -- syscall restarting now always
      happens at the guest syscall level so the guest signal handler will run.
      (The host syscall will never be restarted because if the host kernel
      rewinds the PC to point at the syscall insn for a restart then our
      host_signal_handler() will see this and arrange the guest PC rewind.)
      
      This commit contains the infrastructure for implementing safe_syscall
      and the assembly language fragment for x86-64, but does not change any
      syscalls to use it.
      Signed-off-by: NTimothy Edward Baldwin <T.E.Baldwin99@members.leeds.ac.uk>
      Message-id: 1441497448-32489-14-git-send-email-T.E.Baldwin99@members.leeds.ac.uk
      [PMM:
       * Avoid having an architecture if-ladder in configure by putting
         linux-user/host/$(ARCH) on the include path and including
         safe-syscall.inc.S from it
       * Avoid ifdef ladder in signal.c by creating new hostdep.h to hold
         host-architecture-specific things
       * Added copyright/license header to safe-syscall.inc.S
       * Rewrote commit message
       * Added comments to safe-syscall.inc.S
       * Changed calling convention of safe_syscall() to match syscall()
         (returns -1 and host error in errno on failure)
       * Added a long comment in qemu.h about how to use safe_syscall()
         to implement guest syscalls.
      ]
      RV: squashed Peters "fixup! linux-user: compile on non-x86-64 hosts"
      patch
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      4d330cee
  29. 18 12月, 2015 1 次提交
    • D
      io: add abstract QIOChannel classes · 666a3af9
      Daniel P. Berrange 提交于
      Start the new generic I/O channel framework by defining a
      QIOChannel abstract base class. This is designed to feel
      similar to GLib's GIOChannel, but with the addition of
      support for using iovecs, qemu error reporting, file
      descriptor passing, coroutine integration and use of
      the QOM framework for easier sub-classing.
      
      The intention is that anywhere in QEMU that almost
      anywhere that deals with sockets will use this new I/O
      infrastructure, so that it becomes trivial to then layer
      in support for TLS encryption. This will at least include
      the VNC server, char device backend and migration code.
      Signed-off-by: NDaniel P. Berrange <berrange@redhat.com>
      666a3af9
  30. 16 9月, 2015 1 次提交
    • P
      tcg: split tcg_op_defs to -common · 7d8f787d
      Peter Crosthwaite 提交于
      tcg_op_defs (and the _max) are both needed by the TCI disassembler. For
      multi-arch, tcg.c will be multiple-compiled (arch-obj) with its symbols
      hidden from common code. So split the definition off to new file,
      tcg-common.c which will remain a regular obj-y for use by both the TCI
      disas as well as the multiple tcg.c's.
      
      Cc: Stefan Weil <sw@weilnetz.de>
      Signed-off-by: NPeter Crosthwaite <crosthwaite.peter@gmail.com>
      Message-Id: <4b607425886d85aee65878e4935dfad46b3e6085.1441614289.git.crosthwaite.peter@gmail.com>
      Signed-off-by: NPaolo Bonzini <pbonzini@redhat.com>
      7d8f787d