[PATCH RESEND 0/5] Introduce pstore device

Michal Privoznik posted 5 patches 3 months, 1 week ago
NEWS.rst                                      |   7 +
docs/formatdomain.rst                         |  32 ++++
src/ch/ch_domain.c                            |   1 +
src/conf/domain_conf.c                        | 153 ++++++++++++++++++
src/conf/domain_conf.h                        |  19 +++
src/conf/domain_postparse.c                   |   1 +
src/conf/domain_validate.c                    |  30 ++++
src/conf/schemas/domaincommon.rng             |  25 +++
src/conf/virconftypes.h                       |   2 +
src/hyperv/hyperv_driver.c                    |   1 +
src/libvirt_private.syms                      |   2 +
src/libxl/libxl_driver.c                      |   6 +
src/lxc/lxc_driver.c                          |   6 +
src/qemu/qemu_alias.c                         |  10 ++
src/qemu/qemu_capabilities.c                  |   2 +
src/qemu/qemu_capabilities.h                  |   1 +
src/qemu/qemu_command.c                       |  52 ++++++
src/qemu/qemu_domain.c                        |   3 +
src/qemu/qemu_domain_address.c                |  11 ++
src/qemu/qemu_driver.c                        |   3 +
src/qemu/qemu_hotplug.c                       |   5 +
src/qemu/qemu_validate.c                      |  26 +++
src/security/security_dac.c                   |  10 ++
src/security/security_selinux.c               |   9 ++
src/security/virt-aa-helper.c                 |   4 +
src/test/test_driver.c                        |   1 +
.../caps_7.0.0_aarch64+hvf.xml                |   1 +
.../caps_7.0.0_aarch64.xml                    |   1 +
.../qemucapabilitiesdata/caps_7.0.0_ppc64.xml |   1 +
.../caps_7.0.0_x86_64.xml                     |   1 +
.../qemucapabilitiesdata/caps_7.1.0_ppc64.xml |   1 +
.../caps_7.1.0_x86_64.xml                     |   1 +
tests/qemucapabilitiesdata/caps_7.2.0_ppc.xml |   1 +
.../caps_7.2.0_x86_64+hvf.xml                 |   1 +
.../caps_7.2.0_x86_64.xml                     |   1 +
.../caps_8.0.0_x86_64.xml                     |   1 +
.../caps_8.1.0_x86_64.xml                     |   1 +
.../caps_8.2.0_aarch64.xml                    |   1 +
.../caps_8.2.0_armv7l.xml                     |   1 +
.../caps_8.2.0_loongarch64.xml                |   1 +
.../caps_8.2.0_x86_64.xml                     |   1 +
.../caps_9.0.0_x86_64.xml                     |   1 +
.../caps_9.1.0_x86_64.xml                     |   1 +
.../pstore-acpi-erst.x86_64-latest.args       |  38 +++++
.../pstore-acpi-erst.x86_64-latest.xml        |   1 +
tests/qemuxmlconfdata/pstore-acpi-erst.xml    |  53 ++++++
tests/qemuxmlconftest.c                       |   1 +
47 files changed, 532 insertions(+)
create mode 100644 tests/qemuxmlconfdata/pstore-acpi-erst.x86_64-latest.args
create mode 120000 tests/qemuxmlconfdata/pstore-acpi-erst.x86_64-latest.xml
create mode 100644 tests/qemuxmlconfdata/pstore-acpi-erst.xml
[PATCH RESEND 0/5] Introduce pstore device
Posted by Michal Privoznik 3 months, 1 week ago
This is a rebased version of:

https://lists.libvirt.org/archives/list/devel@lists.libvirt.org/thread/UAUKLOCOYOYSUBF5DCCYCCDCLAZDEQHJ/

which was a rebased version of:

https://lists.libvirt.org/archives/list/devel@lists.libvirt.org/thread/VWR67LTU4Z5TQHDWVTPEVOGIS53FTJYK/

Let's hope no more resends will be needed.

Michal Prívozník (5):
  qemu_capabilities: Introduce QEMU_CAPS_DEVICE_ACPI_ERST
  conf: Introduce pstore device
  qemu: Build cmd line for pstore device
  security: Set seclabels for pstore device
  NEWS: Document pstore device addition

 NEWS.rst                                      |   7 +
 docs/formatdomain.rst                         |  32 ++++
 src/ch/ch_domain.c                            |   1 +
 src/conf/domain_conf.c                        | 153 ++++++++++++++++++
 src/conf/domain_conf.h                        |  19 +++
 src/conf/domain_postparse.c                   |   1 +
 src/conf/domain_validate.c                    |  30 ++++
 src/conf/schemas/domaincommon.rng             |  25 +++
 src/conf/virconftypes.h                       |   2 +
 src/hyperv/hyperv_driver.c                    |   1 +
 src/libvirt_private.syms                      |   2 +
 src/libxl/libxl_driver.c                      |   6 +
 src/lxc/lxc_driver.c                          |   6 +
 src/qemu/qemu_alias.c                         |  10 ++
 src/qemu/qemu_capabilities.c                  |   2 +
 src/qemu/qemu_capabilities.h                  |   1 +
 src/qemu/qemu_command.c                       |  52 ++++++
 src/qemu/qemu_domain.c                        |   3 +
 src/qemu/qemu_domain_address.c                |  11 ++
 src/qemu/qemu_driver.c                        |   3 +
 src/qemu/qemu_hotplug.c                       |   5 +
 src/qemu/qemu_validate.c                      |  26 +++
 src/security/security_dac.c                   |  10 ++
 src/security/security_selinux.c               |   9 ++
 src/security/virt-aa-helper.c                 |   4 +
 src/test/test_driver.c                        |   1 +
 .../caps_7.0.0_aarch64+hvf.xml                |   1 +
 .../caps_7.0.0_aarch64.xml                    |   1 +
 .../qemucapabilitiesdata/caps_7.0.0_ppc64.xml |   1 +
 .../caps_7.0.0_x86_64.xml                     |   1 +
 .../qemucapabilitiesdata/caps_7.1.0_ppc64.xml |   1 +
 .../caps_7.1.0_x86_64.xml                     |   1 +
 tests/qemucapabilitiesdata/caps_7.2.0_ppc.xml |   1 +
 .../caps_7.2.0_x86_64+hvf.xml                 |   1 +
 .../caps_7.2.0_x86_64.xml                     |   1 +
 .../caps_8.0.0_x86_64.xml                     |   1 +
 .../caps_8.1.0_x86_64.xml                     |   1 +
 .../caps_8.2.0_aarch64.xml                    |   1 +
 .../caps_8.2.0_armv7l.xml                     |   1 +
 .../caps_8.2.0_loongarch64.xml                |   1 +
 .../caps_8.2.0_x86_64.xml                     |   1 +
 .../caps_9.0.0_x86_64.xml                     |   1 +
 .../caps_9.1.0_x86_64.xml                     |   1 +
 .../pstore-acpi-erst.x86_64-latest.args       |  38 +++++
 .../pstore-acpi-erst.x86_64-latest.xml        |   1 +
 tests/qemuxmlconfdata/pstore-acpi-erst.xml    |  53 ++++++
 tests/qemuxmlconftest.c                       |   1 +
 47 files changed, 532 insertions(+)
 create mode 100644 tests/qemuxmlconfdata/pstore-acpi-erst.x86_64-latest.args
 create mode 120000 tests/qemuxmlconfdata/pstore-acpi-erst.x86_64-latest.xml
 create mode 100644 tests/qemuxmlconfdata/pstore-acpi-erst.xml

-- 
2.44.2
Re: [PATCH RESEND 0/5] Introduce pstore device
Posted by Kristina Hanicova 3 months, 1 week ago
On Mon, Jul 22, 2024 at 2:24 PM Michal Privoznik <mprivozn@redhat.com>
wrote:

> This is a rebased version of:
>
>
> https://lists.libvirt.org/archives/list/devel@lists.libvirt.org/thread/UAUKLOCOYOYSUBF5DCCYCCDCLAZDEQHJ/
>
> which was a rebased version of:
>
>
> https://lists.libvirt.org/archives/list/devel@lists.libvirt.org/thread/VWR67LTU4Z5TQHDWVTPEVOGIS53FTJYK/
>
> Let's hope no more resends will be needed.
>
> Michal Prívozník (5):
>   qemu_capabilities: Introduce QEMU_CAPS_DEVICE_ACPI_ERST
>   conf: Introduce pstore device
>   qemu: Build cmd line for pstore device
>   security: Set seclabels for pstore device
>   NEWS: Document pstore device addition
>
>  NEWS.rst                                      |   7 +
>  docs/formatdomain.rst                         |  32 ++++
>  src/ch/ch_domain.c                            |   1 +
>  src/conf/domain_conf.c                        | 153 ++++++++++++++++++
>  src/conf/domain_conf.h                        |  19 +++
>  src/conf/domain_postparse.c                   |   1 +
>  src/conf/domain_validate.c                    |  30 ++++
>  src/conf/schemas/domaincommon.rng             |  25 +++
>  src/conf/virconftypes.h                       |   2 +
>  src/hyperv/hyperv_driver.c                    |   1 +
>  src/libvirt_private.syms                      |   2 +
>  src/libxl/libxl_driver.c                      |   6 +
>  src/lxc/lxc_driver.c                          |   6 +
>  src/qemu/qemu_alias.c                         |  10 ++
>  src/qemu/qemu_capabilities.c                  |   2 +
>  src/qemu/qemu_capabilities.h                  |   1 +
>  src/qemu/qemu_command.c                       |  52 ++++++
>  src/qemu/qemu_domain.c                        |   3 +
>  src/qemu/qemu_domain_address.c                |  11 ++
>  src/qemu/qemu_driver.c                        |   3 +
>  src/qemu/qemu_hotplug.c                       |   5 +
>  src/qemu/qemu_validate.c                      |  26 +++
>  src/security/security_dac.c                   |  10 ++
>  src/security/security_selinux.c               |   9 ++
>  src/security/virt-aa-helper.c                 |   4 +
>  src/test/test_driver.c                        |   1 +
>  .../caps_7.0.0_aarch64+hvf.xml                |   1 +
>  .../caps_7.0.0_aarch64.xml                    |   1 +
>  .../qemucapabilitiesdata/caps_7.0.0_ppc64.xml |   1 +
>  .../caps_7.0.0_x86_64.xml                     |   1 +
>  .../qemucapabilitiesdata/caps_7.1.0_ppc64.xml |   1 +
>  .../caps_7.1.0_x86_64.xml                     |   1 +
>  tests/qemucapabilitiesdata/caps_7.2.0_ppc.xml |   1 +
>  .../caps_7.2.0_x86_64+hvf.xml                 |   1 +
>  .../caps_7.2.0_x86_64.xml                     |   1 +
>  .../caps_8.0.0_x86_64.xml                     |   1 +
>  .../caps_8.1.0_x86_64.xml                     |   1 +
>  .../caps_8.2.0_aarch64.xml                    |   1 +
>  .../caps_8.2.0_armv7l.xml                     |   1 +
>  .../caps_8.2.0_loongarch64.xml                |   1 +
>  .../caps_8.2.0_x86_64.xml                     |   1 +
>  .../caps_9.0.0_x86_64.xml                     |   1 +
>  .../caps_9.1.0_x86_64.xml                     |   1 +
>  .../pstore-acpi-erst.x86_64-latest.args       |  38 +++++
>  .../pstore-acpi-erst.x86_64-latest.xml        |   1 +
>  tests/qemuxmlconfdata/pstore-acpi-erst.xml    |  53 ++++++
>  tests/qemuxmlconftest.c                       |   1 +
>  47 files changed, 532 insertions(+)
>  create mode 100644
> tests/qemuxmlconfdata/pstore-acpi-erst.x86_64-latest.args
>  create mode 120000
> tests/qemuxmlconfdata/pstore-acpi-erst.x86_64-latest.xml
>  create mode 100644 tests/qemuxmlconfdata/pstore-acpi-erst.xml
>
> --
> 2.44.2
>
>
Reviewed-by: Kristina Hanicova <khanicov@redhat.com>

Kristina