Skip to content
Snippets Groups Projects
  1. Jan 08, 2022
  2. Jan 05, 2022
  3. Dec 31, 2021
  4. Dec 30, 2021
  5. Nov 29, 2021
  6. Nov 22, 2021
  7. Nov 16, 2021
  8. Nov 15, 2021
  9. Nov 11, 2021
  10. Nov 10, 2021
  11. Nov 02, 2021
    • Daniel P. Berrangé's avatar
      qapi: introduce x-query-ramblock QMP command · ca411b7c
      Daniel P. Berrangé authored
      
      This is a counterpart to the HMP "info ramblock" command. It is being
      added with an "x-" prefix because this QMP command is intended as an
      adhoc debugging tool and will thus not be modelled in QAPI as fully
      structured data, nor will it have long term guaranteed stability.
      The existing HMP command is rewritten to call the QMP command.
      
      Reviewed-by: default avatarPhilippe Mathieu-Daudé <philmd@redhat.com>
      Signed-off-by: default avatarDaniel P. Berrangé <berrange@redhat.com>
      ca411b7c
    • Paolo Bonzini's avatar
      watchdog: remove select_watchdog_action · 22afb46e
      Paolo Bonzini authored
      
      Instead of invoking select_watchdog_action from both HMP and command line,
      go directly from HMP to QMP and use QemuOpts as the intermediary for the
      command line.
      
      This makes -watchdog-action explicitly a shortcut for "-action watchdog",
      so that "-watchdog-action" and "-action watchdog" override each other
      based on the position on the command line; previously, "-action watchdog"
      always won.
      
      Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
      22afb46e
    • Paolo Bonzini's avatar
      vl: deprecate -watchdog · d12b64ea
      Paolo Bonzini authored
      
      -watchdog is the same as -device except that it is case insensitive (and it
      allows only watchdog devices of course).  Now that "-device help" can list
      as such the available watchdog devices, we can deprecate it.
      
      Note that even though -watchdog tries to be case insensitive, it fails
      at that: "-watchdog i6300xyz" fails with "Unknown -watchdog device",
      but "-watchdog i6300ESB" also fails (when the generated -device option
      is processed) with an error "'i6300ESB' is not a valid device model name".
      For this reason, the documentation update does not mention the case
      insensitivity of -watchdog.
      
      Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
      d12b64ea
    • Paolo Bonzini's avatar
      watchdog: add information from -watchdog help to -device help · b10cb627
      Paolo Bonzini authored
      
      List all watchdog devices in a separate category, and populate
      their descriptions.
      
      Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
      b10cb627
  12. Nov 01, 2021
  13. Oct 29, 2021
  14. Oct 23, 2021
  15. Oct 21, 2021
  16. Oct 20, 2021
  17. Oct 15, 2021
  18. Oct 13, 2021
  19. Oct 02, 2021
    • David Hildenbrand's avatar
      softmmu/memory_mapping: optimize for RamDiscardManager sections · cb83ba8c
      David Hildenbrand authored
      
      virtio-mem logically plugs/unplugs memory within a sparse memory region
      and notifies via the RamDiscardManager interface when parts become
      plugged (populated) or unplugged (discarded).
      
      Currently, we end up (via the two users)
      1) zeroing all logically unplugged/discarded memory during TPM resets.
      2) reading all logically unplugged/discarded memory when dumping, to
         figure out the content is zero.
      
      1) is always bad, because we assume unplugged memory stays discarded
         (and is already implicitly zero).
      2) isn't that bad with anonymous memory, we end up reading the zero
         page (slow and unnecessary, though). However, once we use some
         file-backed memory (future use case), even reading will populate memory.
      
      Let's cut out all parts marked as not-populated (discarded) via the
      RamDiscardManager. As virtio-mem is the single user, this now means that
      logically unplugged memory ranges will no longer be included in the
      dump, which results in smaller dump files and faster dumping.
      
      virtio-mem has a minimum granularity of 1 MiB (and the default is usually
      2 MiB). Theoretically, we can see quite some fragmentation, in practice
      we won't have it completely fragmented in 1 MiB pieces. Still, we might
      end up with many physical ranges.
      
      Both, the ELF format and kdump seem to be ready to support many
      individual ranges (e.g., for ELF it seems to be UINT32_MAX, kdump has a
      linear bitmap).
      
      Reviewed-by: default avatarPeter Xu <peterx@redhat.com>
      Cc: Marc-André Lureau <marcandre.lureau@redhat.com>
      Cc: Paolo Bonzini <pbonzini@redhat.com>
      Cc: "Michael S. Tsirkin" <mst@redhat.com>
      Cc: Eduardo Habkost <ehabkost@redhat.com>
      Cc: Alex Williamson <alex.williamson@redhat.com>
      Cc: Dr. David Alan Gilbert <dgilbert@redhat.com>
      Cc: Igor Mammedov <imammedo@redhat.com>
      Cc: Claudio Fontana <cfontana@suse.de>
      Cc: Thomas Huth <thuth@redhat.com>
      Cc: "Alex Bennée" <alex.bennee@linaro.org>
      Cc: Peter Xu <peterx@redhat.com>
      Cc: Laurent Vivier <lvivier@redhat.com>
      Cc: Stefan Berger <stefanb@linux.ibm.com>
      Signed-off-by: default avatarDavid Hildenbrand <david@redhat.com>
      Message-Id: <20210727082545.17934-5-david@redhat.com>
      Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
      cb83ba8c
Loading