[PATCH 0/2] qemu: Reject unsupported chardev '<protocol' settings

Peter Krempa posted 2 patches 2 weeks, 3 days ago
src/conf/domain_conf.c                        | 11 +++------
src/conf/domain_conf.h                        |  2 +-
src/qemu/qemu_validate.c                      | 19 +++++++++++++++
src/vmx/vmx.c                                 |  7 +++---
...rial-tcp-chardev-telnets.x86_64-latest.err |  1 +
.../serial-tcp-chardev-telnets.xml            | 23 +++++++++++++++++++
tests/qemuxmlconftest.c                       |  1 +
7 files changed, 51 insertions(+), 13 deletions(-)
create mode 100644 tests/qemuxmlconfdata/serial-tcp-chardev-telnets.x86_64-latest.err
create mode 100644 tests/qemuxmlconfdata/serial-tcp-chardev-telnets.xml
[PATCH 0/2] qemu: Reject unsupported chardev '<protocol' settings
Posted by Peter Krempa 2 weeks, 3 days ago
See 2/2

Peter Krempa (2):
  conf: Convert 'protocol' field of TCP char device backend to proper
    type
  qemu: Reject unsupported chardev backend protocols

 src/conf/domain_conf.c                        | 11 +++------
 src/conf/domain_conf.h                        |  2 +-
 src/qemu/qemu_validate.c                      | 19 +++++++++++++++
 src/vmx/vmx.c                                 |  7 +++---
 ...rial-tcp-chardev-telnets.x86_64-latest.err |  1 +
 .../serial-tcp-chardev-telnets.xml            | 23 +++++++++++++++++++
 tests/qemuxmlconftest.c                       |  1 +
 7 files changed, 51 insertions(+), 13 deletions(-)
 create mode 100644 tests/qemuxmlconfdata/serial-tcp-chardev-telnets.x86_64-latest.err
 create mode 100644 tests/qemuxmlconfdata/serial-tcp-chardev-telnets.xml

-- 
2.46.0
Re: [PATCH 0/2] qemu: Reject unsupported chardev '<protocol' settings
Posted by Ján Tomko 2 weeks, 3 days ago
On a Wednesday in 2024, Peter Krempa wrote:
>See 2/2
>
>Peter Krempa (2):
>  conf: Convert 'protocol' field of TCP char device backend to proper
>    type
>  qemu: Reject unsupported chardev backend protocols
>
> src/conf/domain_conf.c                        | 11 +++------
> src/conf/domain_conf.h                        |  2 +-
> src/qemu/qemu_validate.c                      | 19 +++++++++++++++
> src/vmx/vmx.c                                 |  7 +++---
> ...rial-tcp-chardev-telnets.x86_64-latest.err |  1 +
> .../serial-tcp-chardev-telnets.xml            | 23 +++++++++++++++++++
> tests/qemuxmlconftest.c                       |  1 +
> 7 files changed, 51 insertions(+), 13 deletions(-)
> create mode 100644 tests/qemuxmlconfdata/serial-tcp-chardev-telnets.x86_64-latest.err
> create mode 100644 tests/qemuxmlconfdata/serial-tcp-chardev-telnets.xml
>

Reviewed-by: Ján Tomko <jtomko@redhat.com>

Jano