[PATCH RFC 0/5] qemu: Adjust to deprecation of -netdev tap properties 'fd' and 'vhostfd' - Variant A

Peter Krempa via Devel posted 5 patches 14 hours ago
Only 2 patches received!
src/qemu/qemu_command.c                       |   24 +-
.../caps_11.0.0_x86_64.replies                | 3571 ++++++++---------
.../caps_11.0.0_x86_64.xml                    |   10 +-
.../downscript.x86_64-latest.args             |    2 +-
.../graphics-spice-timeout.x86_64-latest.args |    2 +-
.../net-bandwidth.x86_64-latest.args          |    2 +-
.../net-bandwidth2.x86_64-latest.args         |    2 +-
.../net-coalesce.x86_64-latest.args           |    6 +-
.../net-eth-hostip.x86_64-latest.args         |    2 +-
.../net-eth-ifname.x86_64-latest.args         |    2 +-
.../net-eth-names.x86_64-latest.args          |    4 +-
.../net-eth-unmanaged-tap.x86_64-latest.args  |    2 +-
.../net-eth.x86_64-latest.args                |    2 +-
.../net-isolated-port.x86_64-latest.args      |    2 +-
.../net-midonet.x86_64-latest.args            |    2 +-
.../net-mtu.x86_64-latest.args                |    4 +-
.../net-openvswitch.x86_64-latest.args        |    2 +-
...irtio-network-portgroup.x86_64-latest.args |    6 +-
...-virtio-teaming-network.x86_64-latest.args |    2 +-
.../net-virtio-vhost.x86_64-latest.args       |    2 +-
.../tap-vhost-incorrect.x86_64-latest.args    |    4 +-
.../user-aliases.x86_64-latest.args           |    2 +-
22 files changed, 1815 insertions(+), 1842 deletions(-)
[PATCH RFC 0/5] qemu: Adjust to deprecation of -netdev tap properties 'fd' and 'vhostfd' - Variant A
Posted by Peter Krempa via Devel 14 hours ago
This patchset adapts libvirt to the proposed deprecation of
'fd'/'vhostfd' fields in favor of the plural spellings even for 1 fd.

Based on the discussion [1] it seems that it should be possible to
replace it unconditionally but I'm not certain about this and also it's
outside my usual area of expertise.

This is the optimistic approach should it be possible for us to
unconditionally use the plural variands.

Reordering the patches shows that the proposal causes test suite
failures in our code.

[1] https://lists.libvirt.org/archives/list/devel@lists.libvirt.org/message/SM4RY7TBZV42EJUU4CW7EPU56WTPWJFC/

Peter Krempa (2):
  qemuBuildHostNetProps: Use only plural form of 'fds' and 'vhostfds'
    properties
  [DO_NOT_PUSH] qemucapabilitiesdata: Update with patches removing 'fd'
    and 'vhostfd'

 src/qemu/qemu_command.c                       |   24 +-
 .../caps_11.0.0_x86_64.replies                | 3571 ++++++++---------
 .../caps_11.0.0_x86_64.xml                    |   10 +-
 .../downscript.x86_64-latest.args             |    2 +-
 .../graphics-spice-timeout.x86_64-latest.args |    2 +-
 .../net-bandwidth.x86_64-latest.args          |    2 +-
 .../net-bandwidth2.x86_64-latest.args         |    2 +-
 .../net-coalesce.x86_64-latest.args           |    6 +-
 .../net-eth-hostip.x86_64-latest.args         |    2 +-
 .../net-eth-ifname.x86_64-latest.args         |    2 +-
 .../net-eth-names.x86_64-latest.args          |    4 +-
 .../net-eth-unmanaged-tap.x86_64-latest.args  |    2 +-
 .../net-eth.x86_64-latest.args                |    2 +-
 .../net-isolated-port.x86_64-latest.args      |    2 +-
 .../net-midonet.x86_64-latest.args            |    2 +-
 .../net-mtu.x86_64-latest.args                |    4 +-
 .../net-openvswitch.x86_64-latest.args        |    2 +-
 ...irtio-network-portgroup.x86_64-latest.args |    6 +-
 ...-virtio-teaming-network.x86_64-latest.args |    2 +-
 .../net-virtio-vhost.x86_64-latest.args       |    2 +-
 .../tap-vhost-incorrect.x86_64-latest.args    |    4 +-
 .../user-aliases.x86_64-latest.args           |    2 +-
 22 files changed, 1815 insertions(+), 1842 deletions(-)

-- 
2.53.0