Skip to content
Snippets Groups Projects
  1. Apr 20, 2022
  2. Apr 06, 2022
  3. Mar 16, 2022
  4. Mar 06, 2022
  5. Feb 08, 2022
    • Peter Maydell's avatar
      cpu.c: Make start-powered-off settable after realize · 0c3c25fc
      Peter Maydell authored
      
      The CPU object's start-powered-off property is currently only
      settable before the CPU object is realized.  For arm machines this is
      awkward, because we would like to decide whether the CPU should be
      powered-off based on how we are booting the guest code, which is
      something done in the machine model code and in common code called by
      the machine model, which runs much later and in completely different
      parts of the codebase from the SoC object code that is responsible
      for creating and realizing the CPU objects.
      
      Allow start-powered-off to be set after realize.  Since this isn't
      something that's supported by the DEFINE_PROP_* macros, we have to
      switch the property definition to use the
      object_class_property_add_bool() function.
      
      Note that it doesn't conceptually make sense to change the setting of
      the property after the machine has been completely initialized,
      beacuse this would mean that the behaviour of the machine when first
      started would differ from its behaviour when the system is
      subsequently reset.  (It would also require the underlying state to
      be migrated, which we don't do.)
      
      Signed-off-by: default avatarPeter Maydell <peter.maydell@linaro.org>
      Reviewed-by: default avatarRichard Henderson <richard.henderson@linaro.org>
      Tested-by: default avatarEdgar E. Iglesias <edgar.iglesias@xilinx.com>
      Tested-by: default avatarCédric Le Goater <clg@kaod.org>
      Message-id: 20220127154639.2090164-3-peter.maydell@linaro.org
      0c3c25fc
  6. Jan 06, 2022
  7. Dec 18, 2021
  8. Oct 15, 2021
  9. Jul 21, 2021
  10. Jul 10, 2021
  11. May 26, 2021
  12. May 10, 2021
  13. Feb 05, 2021
  14. Jan 02, 2021
  15. Dec 15, 2020
  16. Oct 12, 2020
    • Paolo Bonzini's avatar
      exec: split out non-softmmu-specific parts · d9f24bf5
      Paolo Bonzini authored
      
      Over the years, most parts of exec.c that were not specific to softmmu
      have been moved to accel/tcg; what's left is mostly the low-level part
      of the memory API, which includes RAMBlock and AddressSpaceDispatch.
      However exec.c also hosts 4-500 lines of code for the target specific
      parts of the CPU QOM object, plus a few functions for user-mode
      emulation that do not have a better place (they are not TCG-specific so
      accel/tcg/user-exec.c is not a good place either).
      
      Move these parts to a new file, so that exec.c can be moved to
      softmmu/physmem.c.
      
      Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
      d9f24bf5
Loading