[PATCH v2 00/11] dump: Add arch section and s390x PV dump

Janosch Frank posted 11 patches 3 years, 7 months ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20220713130322.25517-1-frankja@linux.ibm.com
Maintainers: "Marc-André Lureau" <marcandre.lureau@redhat.com>, Halil Pasic <pasic@linux.ibm.com>, Christian Borntraeger <borntraeger@linux.ibm.com>, Eric Farman <farman@linux.ibm.com>, Cornelia Huck <cohuck@redhat.com>, Thomas Huth <thuth@redhat.com>, Richard Henderson <richard.henderson@linaro.org>, David Hildenbrand <david@redhat.com>, "Michael S. Tsirkin" <mst@redhat.com>, Paolo Bonzini <pbonzini@redhat.com>
There is a newer version of this series
dump/dump.c                  | 443 ++++++++++++++++++++++-------------
hw/s390x/pv.c                | 112 +++++++++
hw/s390x/s390-virtio-ccw.c   |   5 +
include/elf.h                |   1 +
include/hw/s390x/pv.h        |  18 ++
include/sysemu/dump-arch.h   |  27 +++
include/sysemu/dump.h        |  70 +++++-
linux-headers/linux/kvm.h    |  55 +++++
target/s390x/arch_dump.c     | 248 +++++++++++++++++---
target/s390x/kvm/kvm.c       |   7 +
target/s390x/kvm/kvm_s390x.h |   1 +
11 files changed, 780 insertions(+), 207 deletions(-)
[PATCH v2 00/11] dump: Add arch section and s390x PV dump
Posted by Janosch Frank 3 years, 7 months ago
Previously this series was two separate series:
 * Arch section support
   Adds the possibility for arch code to add custom section data.

 * s390 PV dump support
   Adds PV dump data to the custom arch sections.

I've chosen to merge them so it's easier to understand why the arch
section support has been implement the way it is.

Additionally I've added a cleanup patch beforehand which cleans up the
GuestPhysBlock usage.

v2:
	* Added "dump: Cleanup memblock usage"
	* Fixed whitespace problems and review comments
	* Added missing *errp check in dump_end


Janosch Frank (11):
  dump: Cleanup memblock usage
  dump: Allocate header
  dump: Split write of section headers and data and add a prepare step
  dump: Reorder struct DumpState
  dump/dump: Add section string table support
  dump/dump: Add arch section support
  linux header sync
  s390x: Add protected dump cap
  s390x: Introduce PV query interface
  s390x: Add KVM PV dump interface
  s390x: pv: Add dump support

 dump/dump.c                  | 443 ++++++++++++++++++++++-------------
 hw/s390x/pv.c                | 112 +++++++++
 hw/s390x/s390-virtio-ccw.c   |   5 +
 include/elf.h                |   1 +
 include/hw/s390x/pv.h        |  18 ++
 include/sysemu/dump-arch.h   |  27 +++
 include/sysemu/dump.h        |  70 +++++-
 linux-headers/linux/kvm.h    |  55 +++++
 target/s390x/arch_dump.c     | 248 +++++++++++++++++---
 target/s390x/kvm/kvm.c       |   7 +
 target/s390x/kvm/kvm_s390x.h |   1 +
 11 files changed, 780 insertions(+), 207 deletions(-)

-- 
2.34.1