qemu_capabilities: Introduce QEMU_CAPS_NETDEV_USER

Since -netdev user can be disabled during QEMU compilation, we
can't blindly expect it to just be there. We need a capability
that tracks its presence.

For qemu-4.2.0 we are not able to detect the capability so do the
next best thing - assume the capability is there. This is
consistent with our current behaviour where we blindly assume the
capability, anyway.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: Peter Krempa <pkrempa@redhat.com>
This commit is contained in:
Michal Privoznik
2024-06-27 10:45:31 +02:00
parent e42f9e40b9
commit e28bc15f09
44 changed files with 50 additions and 0 deletions

View File

@@ -186,6 +186,7 @@
<flag name='virtio-gpu.blob'/>
<flag name='display-reload'/>
<flag name='usb-mtp'/>
<flag name='netdev.user'/>
<version>7000000</version>
<microcodeVersion>43100243</microcodeVersion>
<package>v7.0.0</package>