[PATCH 0/3] qemu: fix shared memory validation for vhost-user interfaces

Peter Krempa posted 3 patches 23 hours ago
src/qemu/qemu_process.c                       | 54 -------------------
src/qemu/qemu_validate.c                      |  9 ++--
.../net-vhostuser-fail.x86_64-latest.xml      |  3 ++
tests/qemuxmlconfdata/net-vhostuser-fail.xml  |  3 ++
.../net-vhostuser-multiq.x86_64-latest.args   |  2 +-
.../net-vhostuser-multiq.x86_64-latest.xml    |  3 ++
.../qemuxmlconfdata/net-vhostuser-multiq.xml  |  3 ++
...vhostuser-passt-no-shmem.x86_64-latest.err |  2 +-
.../net-vhostuser.x86_64-latest.args          |  2 +-
.../net-vhostuser.x86_64-latest.xml           |  3 ++
tests/qemuxmlconfdata/net-vhostuser.xml       |  3 ++
11 files changed, 24 insertions(+), 63 deletions(-)
[PATCH 0/3] qemu: fix shared memory validation for vhost-user interfaces
Posted by Peter Krempa 23 hours ago
Use the common check which produces hard errors instead of the
post-start check adding a warning which wasn't updated with the new
logic.

Peter Krempa (3):
  qemuxmlconftest: Include shared memory 'net-vhostuser' test cases
  qemuValidateDomainDeviceDefNetwork: Require shared memory for all
    vhost-user interfaces
  qemu: process: Remove un-updated 'qemuProcessStartWarnShmem'

 src/qemu/qemu_process.c                       | 54 -------------------
 src/qemu/qemu_validate.c                      |  9 ++--
 .../net-vhostuser-fail.x86_64-latest.xml      |  3 ++
 tests/qemuxmlconfdata/net-vhostuser-fail.xml  |  3 ++
 .../net-vhostuser-multiq.x86_64-latest.args   |  2 +-
 .../net-vhostuser-multiq.x86_64-latest.xml    |  3 ++
 .../qemuxmlconfdata/net-vhostuser-multiq.xml  |  3 ++
 ...vhostuser-passt-no-shmem.x86_64-latest.err |  2 +-
 .../net-vhostuser.x86_64-latest.args          |  2 +-
 .../net-vhostuser.x86_64-latest.xml           |  3 ++
 tests/qemuxmlconfdata/net-vhostuser.xml       |  3 ++
 11 files changed, 24 insertions(+), 63 deletions(-)

-- 
2.48.1
Re: [PATCH 0/3] qemu: fix shared memory validation for vhost-user interfaces
Posted by Michal Prívozník 20 hours ago
On 3/11/25 09:12, Peter Krempa wrote:
> Use the common check which produces hard errors instead of the
> post-start check adding a warning which wasn't updated with the new
> logic.
> 
> Peter Krempa (3):
>   qemuxmlconftest: Include shared memory 'net-vhostuser' test cases
>   qemuValidateDomainDeviceDefNetwork: Require shared memory for all
>     vhost-user interfaces
>   qemu: process: Remove un-updated 'qemuProcessStartWarnShmem'
> 
>  src/qemu/qemu_process.c                       | 54 -------------------
>  src/qemu/qemu_validate.c                      |  9 ++--
>  .../net-vhostuser-fail.x86_64-latest.xml      |  3 ++
>  tests/qemuxmlconfdata/net-vhostuser-fail.xml  |  3 ++
>  .../net-vhostuser-multiq.x86_64-latest.args   |  2 +-
>  .../net-vhostuser-multiq.x86_64-latest.xml    |  3 ++
>  .../qemuxmlconfdata/net-vhostuser-multiq.xml  |  3 ++
>  ...vhostuser-passt-no-shmem.x86_64-latest.err |  2 +-
>  .../net-vhostuser.x86_64-latest.args          |  2 +-
>  .../net-vhostuser.x86_64-latest.xml           |  3 ++
>  tests/qemuxmlconfdata/net-vhostuser.xml       |  3 ++
>  11 files changed, 24 insertions(+), 63 deletions(-)
> 

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

Michal