qemu_capabilities: Fill supported net backend types

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:31:45 +02:00
parent 2d3a42cb7c
commit 6a0f45a9e0
86 changed files with 469 additions and 0 deletions

View File

@ -6542,6 +6542,20 @@ virQEMUCapsFillDomainLaunchSecurity(virQEMUCaps *qemuCaps,
}
void
virQEMUCapsFillDomainDeviceNetCaps(virQEMUCaps *qemuCaps,
virDomainCapsDeviceNet *net)
{
net->supported = VIR_TRISTATE_BOOL_YES;
net->backendType.report = true;
if (virQEMUCapsGet(qemuCaps, QEMU_CAPS_NETDEV_USER))
VIR_DOMAIN_CAPS_ENUM_SET(net->backendType, VIR_DOMAIN_NET_BACKEND_DEFAULT);
if (virQEMUCapsGet(qemuCaps, QEMU_CAPS_NETDEV_STREAM))
VIR_DOMAIN_CAPS_ENUM_SET(net->backendType, VIR_DOMAIN_NET_BACKEND_PASST);
}
/**
* virQEMUCapsSupportsGICVersion:
* @qemuCaps: QEMU capabilities
@ -6707,6 +6721,7 @@ virQEMUCapsFillDomainCaps(virQEMUCaps *qemuCaps,
virDomainCapsMemoryBacking *memoryBacking = &domCaps->memoryBacking;
virDomainCapsDeviceCrypto *crypto = &domCaps->crypto;
virDomainCapsLaunchSecurity *launchSecurity = &domCaps->launchSecurity;
virDomainCapsDeviceNet *net = &domCaps->net;
virQEMUCapsFillDomainFeaturesFromQEMUCaps(qemuCaps, domCaps);
@ -6747,6 +6762,7 @@ virQEMUCapsFillDomainCaps(virQEMUCaps *qemuCaps,
virQEMUCapsFillDomainFeatureHypervCaps(qemuCaps, domCaps);
virQEMUCapsFillDomainDeviceCryptoCaps(qemuCaps, crypto);
virQEMUCapsFillDomainLaunchSecurity(qemuCaps, launchSecurity);
virQEMUCapsFillDomainDeviceNetCaps(qemuCaps, net);
return 0;
}

View File

@ -871,6 +871,9 @@ void virQEMUCapsFillDomainDeviceCryptoCaps(virQEMUCaps *qemuCaps,
void virQEMUCapsFillDomainLaunchSecurity(virQEMUCaps *qemuCaps,
virDomainCapsLaunchSecurity *launchSecurity);
void virQEMUCapsFillDomainDeviceNetCaps(virQEMUCaps *qemuCaps,
virDomainCapsDeviceNet *net);
bool virQEMUCapsGuestIsNative(virArch host,
virArch guest);

View File

@ -309,6 +309,11 @@
<value>builtin</value>
</enum>
</crypto>
<interface supported='yes'>
<enum name='backendType'>
<value>default</value>
</enum>
</interface>
</devices>
<features>
<gic supported='no'/>

View File

@ -254,6 +254,11 @@
<value>builtin</value>
</enum>
</crypto>
<interface supported='yes'>
<enum name='backendType'>
<value>default</value>
</enum>
</interface>
</devices>
<features>
<gic supported='no'/>

View File

@ -182,6 +182,11 @@
<value>builtin</value>
</enum>
</crypto>
<interface supported='yes'>
<enum name='backendType'>
<value>default</value>
</enum>
</interface>
</devices>
<features>
<gic supported='yes'>

View File

@ -182,6 +182,11 @@
<value>builtin</value>
</enum>
</crypto>
<interface supported='yes'>
<enum name='backendType'>
<value>default</value>
</enum>
</interface>
</devices>
<features>
<gic supported='yes'>

View File

@ -154,6 +154,11 @@
<value>builtin</value>
</enum>
</crypto>
<interface supported='yes'>
<enum name='backendType'>
<value>default</value>
</enum>
</interface>
</devices>
<features>
<gic supported='no'/>

View File

@ -259,6 +259,11 @@
<value>builtin</value>
</enum>
</crypto>
<interface supported='yes'>
<enum name='backendType'>
<value>default</value>
</enum>
</interface>
</devices>
<features>
<gic supported='no'/>

View File

@ -309,6 +309,11 @@
<value>builtin</value>
</enum>
</crypto>
<interface supported='yes'>
<enum name='backendType'>
<value>default</value>
</enum>
</interface>
</devices>
<features>
<gic supported='no'/>

View File

@ -311,6 +311,11 @@
<value>builtin</value>
</enum>
</crypto>
<interface supported='yes'>
<enum name='backendType'>
<value>default</value>
</enum>
</interface>
</devices>
<features>
<gic supported='no'/>

View File

@ -139,6 +139,11 @@
<value>builtin</value>
</enum>
</crypto>
<interface supported='yes'>
<enum name='backendType'>
<value>default</value>
</enum>
</interface>
</devices>
<features>
<gic supported='no'/>

View File

@ -256,6 +256,11 @@
<value>builtin</value>
</enum>
</crypto>
<interface supported='yes'>
<enum name='backendType'>
<value>default</value>
</enum>
</interface>
</devices>
<features>
<gic supported='no'/>

View File

@ -195,6 +195,11 @@
<value>builtin</value>
</enum>
</crypto>
<interface supported='yes'>
<enum name='backendType'>
<value>default</value>
</enum>
</interface>
</devices>
<features>
<gic supported='yes'>

View File

@ -142,6 +142,11 @@
<value>builtin</value>
</enum>
</crypto>
<interface supported='yes'>
<enum name='backendType'>
<value>default</value>
</enum>
</interface>
</devices>
<features>
<gic supported='no'/>

View File

@ -195,6 +195,11 @@
<value>builtin</value>
</enum>
</crypto>
<interface supported='yes'>
<enum name='backendType'>
<value>default</value>
</enum>
</interface>
</devices>
<features>
<gic supported='yes'>

View File

@ -161,6 +161,11 @@
<value>builtin</value>
</enum>
</crypto>
<interface supported='yes'>
<enum name='backendType'>
<value>default</value>
</enum>
</interface>
</devices>
<features>
<gic supported='no'/>

View File

@ -311,6 +311,11 @@
<value>builtin</value>
</enum>
</crypto>
<interface supported='yes'>
<enum name='backendType'>
<value>default</value>
</enum>
</interface>
</devices>
<features>
<gic supported='no'/>

View File

@ -243,6 +243,11 @@
<value>builtin</value>
</enum>
</crypto>
<interface supported='yes'>
<enum name='backendType'>
<value>default</value>
</enum>
</interface>
</devices>
<features>
<gic supported='no'/>

View File

@ -256,6 +256,11 @@
<value>builtin</value>
</enum>
</crypto>
<interface supported='yes'>
<enum name='backendType'>
<value>default</value>
</enum>
</interface>
</devices>
<features>
<gic supported='no'/>

View File

@ -125,6 +125,11 @@
<value>builtin</value>
</enum>
</crypto>
<interface supported='yes'>
<enum name='backendType'>
<value>default</value>
</enum>
</interface>
</devices>
<features>
<gic supported='no'/>

View File

@ -243,6 +243,11 @@
<value>builtin</value>
</enum>
</crypto>
<interface supported='yes'>
<enum name='backendType'>
<value>default</value>
</enum>
</interface>
</devices>
<features>
<gic supported='no'/>

View File

@ -243,6 +243,11 @@
<value>builtin</value>
</enum>
</crypto>
<interface supported='yes'>
<enum name='backendType'>
<value>default</value>
</enum>
</interface>
</devices>
<features>
<gic supported='no'/>

View File

@ -139,6 +139,11 @@
<value>builtin</value>
</enum>
</crypto>
<interface supported='yes'>
<enum name='backendType'>
<value>default</value>
</enum>
</interface>
</devices>
<features>
<gic supported='no'/>

View File

@ -256,6 +256,11 @@
<value>builtin</value>
</enum>
</crypto>
<interface supported='yes'>
<enum name='backendType'>
<value>default</value>
</enum>
</interface>
</devices>
<features>
<gic supported='no'/>

View File

@ -195,6 +195,11 @@
<value>builtin</value>
</enum>
</crypto>
<interface supported='yes'>
<enum name='backendType'>
<value>default</value>
</enum>
</interface>
</devices>
<features>
<gic supported='yes'>

View File

@ -142,6 +142,11 @@
<value>builtin</value>
</enum>
</crypto>
<interface supported='yes'>
<enum name='backendType'>
<value>default</value>
</enum>
</interface>
</devices>
<features>
<gic supported='no'/>

View File

@ -195,6 +195,11 @@
<value>builtin</value>
</enum>
</crypto>
<interface supported='yes'>
<enum name='backendType'>
<value>default</value>
</enum>
</interface>
</devices>
<features>
<gic supported='yes'>

View File

@ -161,6 +161,11 @@
<value>builtin</value>
</enum>
</crypto>
<interface supported='yes'>
<enum name='backendType'>
<value>default</value>
</enum>
</interface>
</devices>
<features>
<gic supported='no'/>

View File

@ -261,6 +261,11 @@
<value>builtin</value>
</enum>
</crypto>
<interface supported='yes'>
<enum name='backendType'>
<value>default</value>
</enum>
</interface>
</devices>
<features>
<gic supported='no'/>

View File

@ -243,6 +243,11 @@
<value>builtin</value>
</enum>
</crypto>
<interface supported='yes'>
<enum name='backendType'>
<value>default</value>
</enum>
</interface>
</devices>
<features>
<gic supported='no'/>

View File

@ -245,6 +245,11 @@
<value>builtin</value>
</enum>
</crypto>
<interface supported='yes'>
<enum name='backendType'>
<value>default</value>
</enum>
</interface>
</devices>
<features>
<gic supported='no'/>

View File

@ -259,6 +259,11 @@
<value>builtin</value>
</enum>
</crypto>
<interface supported='yes'>
<enum name='backendType'>
<value>default</value>
</enum>
</interface>
</devices>
<features>
<gic supported='no'/>

View File

@ -197,6 +197,11 @@
<value>builtin</value>
</enum>
</crypto>
<interface supported='yes'>
<enum name='backendType'>
<value>default</value>
</enum>
</interface>
</devices>
<features>
<gic supported='yes'>

View File

@ -197,6 +197,11 @@
<value>builtin</value>
</enum>
</crypto>
<interface supported='yes'>
<enum name='backendType'>
<value>default</value>
</enum>
</interface>
</devices>
<features>
<gic supported='yes'>

View File

@ -262,6 +262,11 @@
<value>builtin</value>
</enum>
</crypto>
<interface supported='yes'>
<enum name='backendType'>
<value>default</value>
</enum>
</interface>
</devices>
<features>
<gic supported='no'/>

View File

@ -245,6 +245,11 @@
<value>builtin</value>
</enum>
</crypto>
<interface supported='yes'>
<enum name='backendType'>
<value>default</value>
</enum>
</interface>
</devices>
<features>
<gic supported='no'/>

View File

@ -246,6 +246,11 @@
<value>builtin</value>
</enum>
</crypto>
<interface supported='yes'>
<enum name='backendType'>
<value>default</value>
</enum>
</interface>
</devices>
<features>
<gic supported='no'/>

View File

@ -259,6 +259,11 @@
<value>builtin</value>
</enum>
</crypto>
<interface supported='yes'>
<enum name='backendType'>
<value>default</value>
</enum>
</interface>
</devices>
<features>
<gic supported='no'/>

View File

@ -246,6 +246,11 @@
<value>builtin</value>
</enum>
</crypto>
<interface supported='yes'>
<enum name='backendType'>
<value>default</value>
</enum>
</interface>
</devices>
<features>
<gic supported='no'/>

View File

@ -246,6 +246,11 @@
<value>builtin</value>
</enum>
</crypto>
<interface supported='yes'>
<enum name='backendType'>
<value>default</value>
</enum>
</interface>
</devices>
<features>
<gic supported='no'/>

View File

@ -261,6 +261,11 @@
<value>builtin</value>
</enum>
</crypto>
<interface supported='yes'>
<enum name='backendType'>
<value>default</value>
</enum>
</interface>
</devices>
<features>
<gic supported='no'/>

View File

@ -204,6 +204,11 @@
<value>builtin</value>
</enum>
</crypto>
<interface supported='yes'>
<enum name='backendType'>
<value>default</value>
</enum>
</interface>
</devices>
<features>
<gic supported='yes'>

View File

@ -204,6 +204,11 @@
<value>builtin</value>
</enum>
</crypto>
<interface supported='yes'>
<enum name='backendType'>
<value>default</value>
</enum>
</interface>
</devices>
<features>
<gic supported='yes'>

View File

@ -160,6 +160,11 @@
<value>builtin</value>
</enum>
</crypto>
<interface supported='yes'>
<enum name='backendType'>
<value>default</value>
</enum>
</interface>
</devices>
<features>
<gic supported='no'/>

View File

@ -246,6 +246,11 @@
<value>builtin</value>
</enum>
</crypto>
<interface supported='yes'>
<enum name='backendType'>
<value>default</value>
</enum>
</interface>
</devices>
<features>
<gic supported='no'/>

View File

@ -162,6 +162,11 @@
<value>builtin</value>
</enum>
</crypto>
<interface supported='yes'>
<enum name='backendType'>
<value>default</value>
</enum>
</interface>
</devices>
<features>
<gic supported='no'/>

View File

@ -247,6 +247,11 @@
<value>builtin</value>
</enum>
</crypto>
<interface supported='yes'>
<enum name='backendType'>
<value>default</value>
</enum>
</interface>
</devices>
<features>
<gic supported='no'/>

View File

@ -262,6 +262,11 @@
<value>builtin</value>
</enum>
</crypto>
<interface supported='yes'>
<enum name='backendType'>
<value>default</value>
</enum>
</interface>
</devices>
<features>
<gic supported='no'/>

View File

@ -203,6 +203,11 @@
<value>builtin</value>
</enum>
</crypto>
<interface supported='yes'>
<enum name='backendType'>
<value>default</value>
</enum>
</interface>
</devices>
<features>
<gic supported='yes'>

View File

@ -203,6 +203,11 @@
<value>builtin</value>
</enum>
</crypto>
<interface supported='yes'>
<enum name='backendType'>
<value>default</value>
</enum>
</interface>
</devices>
<features>
<gic supported='yes'>

View File

@ -165,6 +165,11 @@
<value>builtin</value>
</enum>
</crypto>
<interface supported='yes'>
<enum name='backendType'>
<value>default</value>
</enum>
</interface>
</devices>
<features>
<gic supported='no'/>

View File

@ -247,6 +247,11 @@
<value>builtin</value>
</enum>
</crypto>
<interface supported='yes'>
<enum name='backendType'>
<value>default</value>
</enum>
</interface>
</devices>
<features>
<gic supported='no'/>

View File

@ -246,6 +246,11 @@
<value>builtin</value>
</enum>
</crypto>
<interface supported='yes'>
<enum name='backendType'>
<value>default</value>
</enum>
</interface>
</devices>
<features>
<gic supported='no'/>

View File

@ -260,6 +260,11 @@
<value>builtin</value>
</enum>
</crypto>
<interface supported='yes'>
<enum name='backendType'>
<value>default</value>
</enum>
</interface>
</devices>
<features>
<gic supported='no'/>

View File

@ -158,6 +158,11 @@
<value>builtin</value>
</enum>
</crypto>
<interface supported='yes'>
<enum name='backendType'>
<value>default</value>
</enum>
</interface>
</devices>
<features>
<gic supported='no'/>

View File

@ -246,6 +246,11 @@
<value>builtin</value>
</enum>
</crypto>
<interface supported='yes'>
<enum name='backendType'>
<value>default</value>
</enum>
</interface>
</devices>
<features>
<gic supported='no'/>

View File

@ -169,6 +169,12 @@
<value>lkcf</value>
</enum>
</crypto>
<interface supported='yes'>
<enum name='backendType'>
<value>default</value>
<value>passt</value>
</enum>
</interface>
</devices>
<features>
<gic supported='no'/>

View File

@ -252,6 +252,12 @@
<value>lkcf</value>
</enum>
</crypto>
<interface supported='yes'>
<enum name='backendType'>
<value>default</value>
<value>passt</value>
</enum>
</interface>
</devices>
<features>
<gic supported='no'/>

View File

@ -250,6 +250,12 @@
<value>lkcf</value>
</enum>
</crypto>
<interface supported='yes'>
<enum name='backendType'>
<value>default</value>
<value>passt</value>
</enum>
</interface>
</devices>
<features>
<gic supported='no'/>

View File

@ -250,6 +250,12 @@
<value>lkcf</value>
</enum>
</crypto>
<interface supported='yes'>
<enum name='backendType'>
<value>default</value>
<value>passt</value>
</enum>
</interface>
</devices>
<features>
<gic supported='no'/>

View File

@ -144,6 +144,12 @@
<value>builtin</value>
</enum>
</crypto>
<interface supported='yes'>
<enum name='backendType'>
<value>default</value>
<value>passt</value>
</enum>
</interface>
</devices>
<features>
<gic supported='no'/>

View File

@ -252,6 +252,12 @@
<value>lkcf</value>
</enum>
</crypto>
<interface supported='yes'>
<enum name='backendType'>
<value>default</value>
<value>passt</value>
</enum>
</interface>
</devices>
<features>
<gic supported='no'/>

View File

@ -253,6 +253,12 @@
<value>lkcf</value>
</enum>
</crypto>
<interface supported='yes'>
<enum name='backendType'>
<value>default</value>
<value>passt</value>
</enum>
</interface>
</devices>
<features>
<gic supported='no'/>

View File

@ -145,6 +145,12 @@
<value>builtin</value>
</enum>
</crypto>
<interface supported='yes'>
<enum name='backendType'>
<value>default</value>
<value>passt</value>
</enum>
</interface>
</devices>
<features>
<gic supported='no'/>

View File

@ -255,6 +255,12 @@
<value>lkcf</value>
</enum>
</crypto>
<interface supported='yes'>
<enum name='backendType'>
<value>default</value>
<value>passt</value>
</enum>
</interface>
</devices>
<features>
<gic supported='no'/>

View File

@ -148,6 +148,12 @@
<value>builtin</value>
</enum>
</crypto>
<interface supported='yes'>
<enum name='backendType'>
<value>default</value>
<value>passt</value>
</enum>
</interface>
</devices>
<features>
<gic supported='no'/>

View File

@ -253,6 +253,12 @@
<value>lkcf</value>
</enum>
</crypto>
<interface supported='yes'>
<enum name='backendType'>
<value>default</value>
<value>passt</value>
</enum>
</interface>
</devices>
<features>
<gic supported='no'/>

View File

@ -255,6 +255,12 @@
<value>builtin</value>
</enum>
</crypto>
<interface supported='yes'>
<enum name='backendType'>
<value>default</value>
<value>passt</value>
</enum>
</interface>
</devices>
<features>
<gic supported='no'/>

View File

@ -256,6 +256,12 @@
<value>builtin</value>
</enum>
</crypto>
<interface supported='yes'>
<enum name='backendType'>
<value>default</value>
<value>passt</value>
</enum>
</interface>
</devices>
<features>
<gic supported='no'/>

View File

@ -257,6 +257,12 @@
<value>builtin</value>
</enum>
</crypto>
<interface supported='yes'>
<enum name='backendType'>
<value>default</value>
<value>passt</value>
</enum>
</interface>
</devices>
<features>
<gic supported='no'/>

View File

@ -255,6 +255,12 @@
<value>builtin</value>
</enum>
</crypto>
<interface supported='yes'>
<enum name='backendType'>
<value>default</value>
<value>passt</value>
</enum>
</interface>
</devices>
<features>
<gic supported='no'/>

View File

@ -257,6 +257,12 @@
<value>lkcf</value>
</enum>
</crypto>
<interface supported='yes'>
<enum name='backendType'>
<value>default</value>
<value>passt</value>
</enum>
</interface>
</devices>
<features>
<gic supported='no'/>

View File

@ -151,6 +151,12 @@
<value>lkcf</value>
</enum>
</crypto>
<interface supported='yes'>
<enum name='backendType'>
<value>default</value>
<value>passt</value>
</enum>
</interface>
</devices>
<features>
<gic supported='no'/>

View File

@ -256,6 +256,12 @@
<value>lkcf</value>
</enum>
</crypto>
<interface supported='yes'>
<enum name='backendType'>
<value>default</value>
<value>passt</value>
</enum>
</interface>
</devices>
<features>
<gic supported='no'/>

View File

@ -209,6 +209,12 @@
<value>builtin</value>
</enum>
</crypto>
<interface supported='yes'>
<enum name='backendType'>
<value>default</value>
<value>passt</value>
</enum>
</interface>
</devices>
<features>
<gic supported='yes'>

View File

@ -155,6 +155,12 @@
<value>lkcf</value>
</enum>
</crypto>
<interface supported='yes'>
<enum name='backendType'>
<value>default</value>
<value>passt</value>
</enum>
</interface>
</devices>
<features>
<gic supported='no'/>

View File

@ -209,6 +209,12 @@
<value>builtin</value>
</enum>
</crypto>
<interface supported='yes'>
<enum name='backendType'>
<value>default</value>
<value>passt</value>
</enum>
</interface>
</devices>
<features>
<gic supported='yes'>

View File

@ -161,6 +161,12 @@
<value>lkcf</value>
</enum>
</crypto>
<interface supported='yes'>
<enum name='backendType'>
<value>default</value>
<value>passt</value>
</enum>
</interface>
</devices>
<features>
<gic supported='no'/>

View File

@ -257,6 +257,12 @@
<value>builtin</value>
</enum>
</crypto>
<interface supported='yes'>
<enum name='backendType'>
<value>default</value>
<value>passt</value>
</enum>
</interface>
</devices>
<features>
<gic supported='no'/>

View File

@ -257,6 +257,12 @@
<value>lkcf</value>
</enum>
</crypto>
<interface supported='yes'>
<enum name='backendType'>
<value>default</value>
<value>passt</value>
</enum>
</interface>
</devices>
<features>
<gic supported='no'/>

View File

@ -257,6 +257,12 @@
<value>lkcf</value>
</enum>
</crypto>
<interface supported='yes'>
<enum name='backendType'>
<value>default</value>
<value>passt</value>
</enum>
</interface>
</devices>
<features>
<gic supported='no'/>

View File

@ -258,6 +258,12 @@
<value>lkcf</value>
</enum>
</crypto>
<interface supported='yes'>
<enum name='backendType'>
<value>default</value>
<value>passt</value>
</enum>
</interface>
</devices>
<features>
<gic supported='no'/>

View File

@ -257,6 +257,12 @@
<value>lkcf</value>
</enum>
</crypto>
<interface supported='yes'>
<enum name='backendType'>
<value>default</value>
<value>passt</value>
</enum>
</interface>
</devices>
<features>
<gic supported='no'/>

View File

@ -258,6 +258,12 @@
<value>lkcf</value>
</enum>
</crypto>
<interface supported='yes'>
<enum name='backendType'>
<value>default</value>
<value>passt</value>
</enum>
</interface>
</devices>
<features>
<gic supported='no'/>

View File

@ -257,6 +257,12 @@
<value>lkcf</value>
</enum>
</crypto>
<interface supported='yes'>
<enum name='backendType'>
<value>default</value>
<value>passt</value>
</enum>
</interface>
</devices>
<features>
<gic supported='no'/>

View File

@ -258,6 +258,12 @@
<value>lkcf</value>
</enum>
</crypto>
<interface supported='yes'>
<enum name='backendType'>
<value>default</value>
<value>passt</value>
</enum>
</interface>
</devices>
<features>
<gic supported='no'/>