[libvirt] [PATCH 0/7] Validate spapr-vio addresses as 32-bit

Andrea Bolognani posted 7 patches 4 years, 10 months ago
Test syntax-check passed
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/libvirt tags/patchew/20190614112331.25725-1-abologna@redhat.com
docs/formatdomain.html.in                     |  6 +--
docs/schemas/domaincommon.rng                 |  2 +-
src/conf/domain_conf.c                        |  2 +-
src/qemu/qemu_command.c                       |  2 +-
src/qemu/qemu_domain.c                        | 41 ++++++++++++++++++-
tests/qemuargv2xmldata/nomachine-ppc64.xml    |  2 +-
tests/qemuargv2xmldata/pseries-disk.xml       |  2 +-
tests/qemuargv2xmldata/pseries-nvram.xml      |  2 +-
.../disk-scsi.x86_64-latest.args              |  2 +-
.../pseries-spaprvio-invalid.xml              | 17 ++++++++
.../pseries-vio-user-assigned.args            |  2 +-
tests/qemuxml2argvdata/pseries-vio.args       |  4 +-
tests/qemuxml2argvtest.c                      |  1 +
tests/qemuxml2xmloutdata/disk-scsi.xml        |  2 +-
tests/qemuxml2xmloutdata/pseries-nvram.xml    |  2 +-
15 files changed, 73 insertions(+), 16 deletions(-)
create mode 100644 tests/qemuxml2argvdata/pseries-spaprvio-invalid.xml
[libvirt] [PATCH 0/7] Validate spapr-vio addresses as 32-bit
Posted by Andrea Bolognani 4 years, 10 months ago
An alternative take on David Gibson's patch

  https://www.redhat.com/archives/libvir-list/2019-June/msg00061.html

from earlier this month.

Andrea Bolognani (7):
  docs: Fix validation of spapr-vio addresses
  qemu: Rework qemuDomainDeviceDefValidateAddress()
  qemu: Validate spapr-vio addresses
  tests: Add pseries-spaprvio-invalid
  conf: Format spapr-vio addresses as 32-bit
  qemu: Format spapr-vio addresses as 32-bit
  docs: Update documentation for spapr-vio addresses

 docs/formatdomain.html.in                     |  6 +--
 docs/schemas/domaincommon.rng                 |  2 +-
 src/conf/domain_conf.c                        |  2 +-
 src/qemu/qemu_command.c                       |  2 +-
 src/qemu/qemu_domain.c                        | 41 ++++++++++++++++++-
 tests/qemuargv2xmldata/nomachine-ppc64.xml    |  2 +-
 tests/qemuargv2xmldata/pseries-disk.xml       |  2 +-
 tests/qemuargv2xmldata/pseries-nvram.xml      |  2 +-
 .../disk-scsi.x86_64-latest.args              |  2 +-
 .../pseries-spaprvio-invalid.xml              | 17 ++++++++
 .../pseries-vio-user-assigned.args            |  2 +-
 tests/qemuxml2argvdata/pseries-vio.args       |  4 +-
 tests/qemuxml2argvtest.c                      |  1 +
 tests/qemuxml2xmloutdata/disk-scsi.xml        |  2 +-
 tests/qemuxml2xmloutdata/pseries-nvram.xml    |  2 +-
 15 files changed, 73 insertions(+), 16 deletions(-)
 create mode 100644 tests/qemuxml2argvdata/pseries-spaprvio-invalid.xml

-- 
2.21.0

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list
Re: [libvirt] [PATCH 0/7] Validate spapr-vio addresses as 32-bit
Posted by Michal Privoznik 4 years, 10 months ago
On 6/14/19 1:23 PM, Andrea Bolognani wrote:
> An alternative take on David Gibson's patch
> 
>    https://www.redhat.com/archives/libvir-list/2019-June/msg00061.html
> 
> from earlier this month.
> 
> Andrea Bolognani (7):
>    docs: Fix validation of spapr-vio addresses
>    qemu: Rework qemuDomainDeviceDefValidateAddress()
>    qemu: Validate spapr-vio addresses
>    tests: Add pseries-spaprvio-invalid
>    conf: Format spapr-vio addresses as 32-bit
>    qemu: Format spapr-vio addresses as 32-bit
>    docs: Update documentation for spapr-vio addresses
> 
>   docs/formatdomain.html.in                     |  6 +--
>   docs/schemas/domaincommon.rng                 |  2 +-
>   src/conf/domain_conf.c                        |  2 +-
>   src/qemu/qemu_command.c                       |  2 +-
>   src/qemu/qemu_domain.c                        | 41 ++++++++++++++++++-
>   tests/qemuargv2xmldata/nomachine-ppc64.xml    |  2 +-
>   tests/qemuargv2xmldata/pseries-disk.xml       |  2 +-
>   tests/qemuargv2xmldata/pseries-nvram.xml      |  2 +-
>   .../disk-scsi.x86_64-latest.args              |  2 +-
>   .../pseries-spaprvio-invalid.xml              | 17 ++++++++
>   .../pseries-vio-user-assigned.args            |  2 +-
>   tests/qemuxml2argvdata/pseries-vio.args       |  4 +-
>   tests/qemuxml2argvtest.c                      |  1 +
>   tests/qemuxml2xmloutdata/disk-scsi.xml        |  2 +-
>   tests/qemuxml2xmloutdata/pseries-nvram.xml    |  2 +-
>   15 files changed, 73 insertions(+), 16 deletions(-)
>   create mode 100644 tests/qemuxml2argvdata/pseries-spaprvio-invalid.xml
> 

Reviewed-by: Michal Privoznik <mprivozn@redhat.com>

Michal

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list