1
0
mirror of https://gitlab.com/libvirt/libvirt.git synced 2025-01-12 15:52:55 +00:00

qemu: caps: Base support of 'backingStoreInput' domain feature on QEMU_CAPS_BLOCKDEV

The qemu driver will obey <backingStore> when we support blockdev.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
This commit is contained in:
Peter Krempa 2019-11-18 16:56:51 +01:00
parent 4321bd0dd2
commit 48e57cd632
82 changed files with 82 additions and 0 deletions
src/qemu
tests/domaincapsdata
qemu_1.5.3-q35.x86_64.xmlqemu_1.5.3-tcg.x86_64.xmlqemu_1.5.3.x86_64.xmlqemu_1.6.0-q35.x86_64.xmlqemu_1.6.0-tcg.x86_64.xmlqemu_1.6.0.x86_64.xmlqemu_1.7.0-q35.x86_64.xmlqemu_1.7.0-tcg.x86_64.xmlqemu_1.7.0.x86_64.xmlqemu_2.1.1-q35.x86_64.xmlqemu_2.1.1-tcg.x86_64.xmlqemu_2.1.1.x86_64.xmlqemu_2.10.0-q35.x86_64.xmlqemu_2.10.0-tcg.x86_64.xmlqemu_2.10.0-virt.aarch64.xmlqemu_2.10.0.aarch64.xmlqemu_2.10.0.ppc64.xmlqemu_2.10.0.s390x.xmlqemu_2.10.0.x86_64.xmlqemu_2.11.0-q35.x86_64.xmlqemu_2.11.0-tcg.x86_64.xmlqemu_2.11.0.s390x.xmlqemu_2.11.0.x86_64.xmlqemu_2.12.0-q35.x86_64.xmlqemu_2.12.0-tcg.x86_64.xmlqemu_2.12.0-virt.aarch64.xmlqemu_2.12.0.aarch64.xmlqemu_2.12.0.ppc64.xmlqemu_2.12.0.s390x.xmlqemu_2.12.0.x86_64.xmlqemu_2.4.0-q35.x86_64.xmlqemu_2.4.0-tcg.x86_64.xmlqemu_2.4.0.x86_64.xmlqemu_2.5.0-q35.x86_64.xmlqemu_2.5.0-tcg.x86_64.xmlqemu_2.5.0.x86_64.xmlqemu_2.6.0-q35.x86_64.xmlqemu_2.6.0-tcg.x86_64.xmlqemu_2.6.0-virt.aarch64.xmlqemu_2.6.0.aarch64.xmlqemu_2.6.0.ppc64.xmlqemu_2.6.0.x86_64.xmlqemu_2.7.0-q35.x86_64.xmlqemu_2.7.0-tcg.x86_64.xmlqemu_2.7.0.s390x.xmlqemu_2.7.0.x86_64.xmlqemu_2.8.0-q35.x86_64.xmlqemu_2.8.0-tcg.x86_64.xmlqemu_2.8.0.s390x.xmlqemu_2.8.0.x86_64.xmlqemu_2.9.0-q35.x86_64.xmlqemu_2.9.0-tcg.x86_64.xmlqemu_2.9.0.ppc64.xmlqemu_2.9.0.s390x.xmlqemu_2.9.0.x86_64.xmlqemu_3.0.0-q35.x86_64.xmlqemu_3.0.0-tcg.x86_64.xmlqemu_3.0.0.ppc64.xmlqemu_3.0.0.s390x.xmlqemu_3.0.0.x86_64.xmlqemu_3.1.0-q35.x86_64.xmlqemu_3.1.0-tcg.x86_64.xmlqemu_3.1.0.ppc64.xmlqemu_3.1.0.x86_64.xmlqemu_4.0.0-q35.x86_64.xmlqemu_4.0.0-tcg.x86_64.xmlqemu_4.0.0-virt.aarch64.xmlqemu_4.0.0.aarch64.xmlqemu_4.0.0.ppc64.xmlqemu_4.0.0.s390x.xmlqemu_4.0.0.x86_64.xmlqemu_4.1.0-q35.x86_64.xmlqemu_4.1.0-tcg.x86_64.xmlqemu_4.1.0.x86_64.xmlqemu_4.2.0-q35.x86_64.xmlqemu_4.2.0-tcg.x86_64.xmlqemu_4.2.0-virt.aarch64.xmlqemu_4.2.0.aarch64.xmlqemu_4.2.0.ppc64.xmlqemu_4.2.0.s390x.xmlqemu_4.2.0.x86_64.xml

@ -5435,6 +5435,7 @@ static const struct virQEMUCapsDomainFeatureCapabilityTuple domCapsTuples[] = {
{ VIR_DOMAIN_CAPS_FEATURE_IOTHREADS, QEMU_CAPS_OBJECT_IOTHREAD },
{ VIR_DOMAIN_CAPS_FEATURE_VMCOREINFO, QEMU_CAPS_DEVICE_VMCOREINFO },
{ VIR_DOMAIN_CAPS_FEATURE_GENID, QEMU_CAPS_DEVICE_VMGENID },
{ VIR_DOMAIN_CAPS_FEATURE_BACKING_STORE_INPUT, QEMU_CAPS_BLOCKDEV },
};

@ -130,6 +130,7 @@
<gic supported='no'/>
<vmcoreinfo supported='no'/>
<genid supported='no'/>
<backingStoreInput supported='no'/>
<sev supported='no'/>
</features>
</domainCapabilities>

@ -130,6 +130,7 @@
<gic supported='no'/>
<vmcoreinfo supported='no'/>
<genid supported='no'/>
<backingStoreInput supported='no'/>
<sev supported='no'/>
</features>
</domainCapabilities>

@ -130,6 +130,7 @@
<gic supported='no'/>
<vmcoreinfo supported='no'/>
<genid supported='no'/>
<backingStoreInput supported='no'/>
<sev supported='no'/>
</features>
</domainCapabilities>

@ -130,6 +130,7 @@
<gic supported='no'/>
<vmcoreinfo supported='no'/>
<genid supported='no'/>
<backingStoreInput supported='no'/>
<sev supported='no'/>
</features>
</domainCapabilities>

@ -130,6 +130,7 @@
<gic supported='no'/>
<vmcoreinfo supported='no'/>
<genid supported='no'/>
<backingStoreInput supported='no'/>
<sev supported='no'/>
</features>
</domainCapabilities>

@ -130,6 +130,7 @@
<gic supported='no'/>
<vmcoreinfo supported='no'/>
<genid supported='no'/>
<backingStoreInput supported='no'/>
<sev supported='no'/>
</features>
</domainCapabilities>

@ -130,6 +130,7 @@
<gic supported='no'/>
<vmcoreinfo supported='no'/>
<genid supported='no'/>
<backingStoreInput supported='no'/>
<sev supported='no'/>
</features>
</domainCapabilities>

@ -130,6 +130,7 @@
<gic supported='no'/>
<vmcoreinfo supported='no'/>
<genid supported='no'/>
<backingStoreInput supported='no'/>
<sev supported='no'/>
</features>
</domainCapabilities>

@ -130,6 +130,7 @@
<gic supported='no'/>
<vmcoreinfo supported='no'/>
<genid supported='no'/>
<backingStoreInput supported='no'/>
<sev supported='no'/>
</features>
</domainCapabilities>

@ -131,6 +131,7 @@
<gic supported='no'/>
<vmcoreinfo supported='no'/>
<genid supported='no'/>
<backingStoreInput supported='no'/>
<sev supported='no'/>
</features>
</domainCapabilities>

@ -131,6 +131,7 @@
<gic supported='no'/>
<vmcoreinfo supported='no'/>
<genid supported='no'/>
<backingStoreInput supported='no'/>
<sev supported='no'/>
</features>
</domainCapabilities>

@ -131,6 +131,7 @@
<gic supported='no'/>
<vmcoreinfo supported='no'/>
<genid supported='no'/>
<backingStoreInput supported='no'/>
<sev supported='no'/>
</features>
</domainCapabilities>

@ -154,6 +154,7 @@
<gic supported='no'/>
<vmcoreinfo supported='no'/>
<genid supported='yes'/>
<backingStoreInput supported='no'/>
<sev supported='no'/>
</features>
</domainCapabilities>

@ -173,6 +173,7 @@
<gic supported='no'/>
<vmcoreinfo supported='no'/>
<genid supported='yes'/>
<backingStoreInput supported='no'/>
<sev supported='no'/>
</features>
</domainCapabilities>

@ -138,6 +138,7 @@
</gic>
<vmcoreinfo supported='no'/>
<genid supported='no'/>
<backingStoreInput supported='no'/>
<sev supported='no'/>
</features>
</domainCapabilities>

@ -132,6 +132,7 @@
<gic supported='no'/>
<vmcoreinfo supported='no'/>
<genid supported='no'/>
<backingStoreInput supported='no'/>
<sev supported='no'/>
</features>
</domainCapabilities>

@ -104,6 +104,7 @@
<gic supported='no'/>
<vmcoreinfo supported='no'/>
<genid supported='no'/>
<backingStoreInput supported='no'/>
<sev supported='no'/>
</features>
</domainCapabilities>

@ -194,6 +194,7 @@
<gic supported='no'/>
<vmcoreinfo supported='no'/>
<genid supported='no'/>
<backingStoreInput supported='no'/>
<sev supported='no'/>
</features>
</domainCapabilities>

@ -154,6 +154,7 @@
<gic supported='no'/>
<vmcoreinfo supported='no'/>
<genid supported='yes'/>
<backingStoreInput supported='no'/>
<sev supported='no'/>
</features>
</domainCapabilities>

@ -152,6 +152,7 @@
<gic supported='no'/>
<vmcoreinfo supported='yes'/>
<genid supported='yes'/>
<backingStoreInput supported='no'/>
<sev supported='no'/>
</features>
</domainCapabilities>

@ -168,6 +168,7 @@
<gic supported='no'/>
<vmcoreinfo supported='yes'/>
<genid supported='yes'/>
<backingStoreInput supported='no'/>
<sev supported='no'/>
</features>
</domainCapabilities>

@ -193,6 +193,7 @@
<gic supported='no'/>
<vmcoreinfo supported='no'/>
<genid supported='no'/>
<backingStoreInput supported='no'/>
<sev supported='no'/>
</features>
</domainCapabilities>

@ -152,6 +152,7 @@
<gic supported='no'/>
<vmcoreinfo supported='yes'/>
<genid supported='yes'/>
<backingStoreInput supported='no'/>
<sev supported='no'/>
</features>
</domainCapabilities>

@ -165,6 +165,7 @@
<gic supported='no'/>
<vmcoreinfo supported='yes'/>
<genid supported='yes'/>
<backingStoreInput supported='no'/>
<sev supported='yes'>
<cbitpos>47</cbitpos>
<reducedPhysBits>1</reducedPhysBits>

@ -179,6 +179,7 @@
<gic supported='no'/>
<vmcoreinfo supported='yes'/>
<genid supported='yes'/>
<backingStoreInput supported='no'/>
<sev supported='yes'>
<cbitpos>47</cbitpos>
<reducedPhysBits>1</reducedPhysBits>

@ -140,6 +140,7 @@
</gic>
<vmcoreinfo supported='yes'/>
<genid supported='no'/>
<backingStoreInput supported='no'/>
<sev supported='no'/>
</features>
</domainCapabilities>

@ -134,6 +134,7 @@
<gic supported='no'/>
<vmcoreinfo supported='yes'/>
<genid supported='no'/>
<backingStoreInput supported='no'/>
<sev supported='no'/>
</features>
</domainCapabilities>

@ -104,6 +104,7 @@
<gic supported='no'/>
<vmcoreinfo supported='no'/>
<genid supported='no'/>
<backingStoreInput supported='no'/>
<sev supported='no'/>
</features>
</domainCapabilities>

@ -192,6 +192,7 @@
<gic supported='no'/>
<vmcoreinfo supported='no'/>
<genid supported='no'/>
<backingStoreInput supported='no'/>
<sev supported='no'/>
</features>
</domainCapabilities>

@ -165,6 +165,7 @@
<gic supported='no'/>
<vmcoreinfo supported='yes'/>
<genid supported='yes'/>
<backingStoreInput supported='no'/>
<sev supported='yes'>
<cbitpos>47</cbitpos>
<reducedPhysBits>1</reducedPhysBits>

@ -139,6 +139,7 @@
<gic supported='no'/>
<vmcoreinfo supported='no'/>
<genid supported='no'/>
<backingStoreInput supported='no'/>
<sev supported='no'/>
</features>
</domainCapabilities>

@ -139,6 +139,7 @@
<gic supported='no'/>
<vmcoreinfo supported='no'/>
<genid supported='no'/>
<backingStoreInput supported='no'/>
<sev supported='no'/>
</features>
</domainCapabilities>

@ -139,6 +139,7 @@
<gic supported='no'/>
<vmcoreinfo supported='no'/>
<genid supported='no'/>
<backingStoreInput supported='no'/>
<sev supported='no'/>
</features>
</domainCapabilities>

@ -139,6 +139,7 @@
<gic supported='no'/>
<vmcoreinfo supported='no'/>
<genid supported='no'/>
<backingStoreInput supported='no'/>
<sev supported='no'/>
</features>
</domainCapabilities>

@ -139,6 +139,7 @@
<gic supported='no'/>
<vmcoreinfo supported='no'/>
<genid supported='no'/>
<backingStoreInput supported='no'/>
<sev supported='no'/>
</features>
</domainCapabilities>

@ -139,6 +139,7 @@
<gic supported='no'/>
<vmcoreinfo supported='no'/>
<genid supported='no'/>
<backingStoreInput supported='no'/>
<sev supported='no'/>
</features>
</domainCapabilities>

@ -139,6 +139,7 @@
<gic supported='no'/>
<vmcoreinfo supported='no'/>
<genid supported='no'/>
<backingStoreInput supported='no'/>
<sev supported='no'/>
</features>
</domainCapabilities>

@ -139,6 +139,7 @@
<gic supported='no'/>
<vmcoreinfo supported='no'/>
<genid supported='no'/>
<backingStoreInput supported='no'/>
<sev supported='no'/>
</features>
</domainCapabilities>

@ -137,6 +137,7 @@
</gic>
<vmcoreinfo supported='no'/>
<genid supported='no'/>
<backingStoreInput supported='no'/>
<sev supported='no'/>
</features>
</domainCapabilities>

@ -131,6 +131,7 @@
<gic supported='no'/>
<vmcoreinfo supported='no'/>
<genid supported='no'/>
<backingStoreInput supported='no'/>
<sev supported='no'/>
</features>
</domainCapabilities>

@ -104,6 +104,7 @@
<gic supported='no'/>
<vmcoreinfo supported='no'/>
<genid supported='no'/>
<backingStoreInput supported='no'/>
<sev supported='no'/>
</features>
</domainCapabilities>

@ -139,6 +139,7 @@
<gic supported='no'/>
<vmcoreinfo supported='no'/>
<genid supported='no'/>
<backingStoreInput supported='no'/>
<sev supported='no'/>
</features>
</domainCapabilities>

@ -140,6 +140,7 @@
<gic supported='no'/>
<vmcoreinfo supported='no'/>
<genid supported='no'/>
<backingStoreInput supported='no'/>
<sev supported='no'/>
</features>
</domainCapabilities>

@ -140,6 +140,7 @@
<gic supported='no'/>
<vmcoreinfo supported='no'/>
<genid supported='no'/>
<backingStoreInput supported='no'/>
<sev supported='no'/>
</features>
</domainCapabilities>

@ -97,6 +97,7 @@
<gic supported='no'/>
<vmcoreinfo supported='no'/>
<genid supported='no'/>
<backingStoreInput supported='no'/>
<sev supported='no'/>
</features>
</domainCapabilities>

@ -140,6 +140,7 @@
<gic supported='no'/>
<vmcoreinfo supported='no'/>
<genid supported='no'/>
<backingStoreInput supported='no'/>
<sev supported='no'/>
</features>
</domainCapabilities>

@ -140,6 +140,7 @@
<gic supported='no'/>
<vmcoreinfo supported='no'/>
<genid supported='no'/>
<backingStoreInput supported='no'/>
<sev supported='no'/>
</features>
</domainCapabilities>

@ -140,6 +140,7 @@
<gic supported='no'/>
<vmcoreinfo supported='no'/>
<genid supported='no'/>
<backingStoreInput supported='no'/>
<sev supported='no'/>
</features>
</domainCapabilities>

@ -178,6 +178,7 @@
<gic supported='no'/>
<vmcoreinfo supported='no'/>
<genid supported='no'/>
<backingStoreInput supported='no'/>
<sev supported='no'/>
</features>
</domainCapabilities>

@ -140,6 +140,7 @@
<gic supported='no'/>
<vmcoreinfo supported='no'/>
<genid supported='no'/>
<backingStoreInput supported='no'/>
<sev supported='no'/>
</features>
</domainCapabilities>

@ -149,6 +149,7 @@
<gic supported='no'/>
<vmcoreinfo supported='no'/>
<genid supported='yes'/>
<backingStoreInput supported='no'/>
<sev supported='no'/>
</features>
</domainCapabilities>

@ -172,6 +172,7 @@
<gic supported='no'/>
<vmcoreinfo supported='no'/>
<genid supported='yes'/>
<backingStoreInput supported='no'/>
<sev supported='no'/>
</features>
</domainCapabilities>

@ -104,6 +104,7 @@
<gic supported='no'/>
<vmcoreinfo supported='no'/>
<genid supported='no'/>
<backingStoreInput supported='no'/>
<sev supported='no'/>
</features>
</domainCapabilities>

@ -179,6 +179,7 @@
<gic supported='no'/>
<vmcoreinfo supported='no'/>
<genid supported='no'/>
<backingStoreInput supported='no'/>
<sev supported='no'/>
</features>
</domainCapabilities>

@ -149,6 +149,7 @@
<gic supported='no'/>
<vmcoreinfo supported='no'/>
<genid supported='yes'/>
<backingStoreInput supported='no'/>
<sev supported='no'/>
</features>
</domainCapabilities>

@ -166,6 +166,7 @@
<gic supported='no'/>
<vmcoreinfo supported='yes'/>
<genid supported='yes'/>
<backingStoreInput supported='no'/>
<sev supported='no'/>
</features>
</domainCapabilities>

@ -181,6 +181,7 @@
<gic supported='no'/>
<vmcoreinfo supported='yes'/>
<genid supported='yes'/>
<backingStoreInput supported='no'/>
<sev supported='no'/>
</features>
</domainCapabilities>

@ -106,6 +106,7 @@
<gic supported='no'/>
<vmcoreinfo supported='no'/>
<genid supported='no'/>
<backingStoreInput supported='no'/>
<sev supported='no'/>
</features>
</domainCapabilities>

@ -199,6 +199,7 @@
<gic supported='no'/>
<vmcoreinfo supported='no'/>
<genid supported='no'/>
<backingStoreInput supported='no'/>
<sev supported='no'/>
</features>
</domainCapabilities>

@ -166,6 +166,7 @@
<gic supported='no'/>
<vmcoreinfo supported='yes'/>
<genid supported='yes'/>
<backingStoreInput supported='no'/>
<sev supported='no'/>
</features>
</domainCapabilities>

@ -169,6 +169,7 @@
<gic supported='no'/>
<vmcoreinfo supported='yes'/>
<genid supported='yes'/>
<backingStoreInput supported='no'/>
<sev supported='no'/>
</features>
</domainCapabilities>

@ -184,6 +184,7 @@
<gic supported='no'/>
<vmcoreinfo supported='yes'/>
<genid supported='yes'/>
<backingStoreInput supported='no'/>
<sev supported='no'/>
</features>
</domainCapabilities>

@ -106,6 +106,7 @@
<gic supported='no'/>
<vmcoreinfo supported='no'/>
<genid supported='no'/>
<backingStoreInput supported='no'/>
<sev supported='no'/>
</features>
</domainCapabilities>

@ -169,6 +169,7 @@
<gic supported='no'/>
<vmcoreinfo supported='yes'/>
<genid supported='yes'/>
<backingStoreInput supported='no'/>
<sev supported='no'/>
</features>
</domainCapabilities>

@ -169,6 +169,7 @@
<gic supported='no'/>
<vmcoreinfo supported='yes'/>
<genid supported='yes'/>
<backingStoreInput supported='no'/>
<sev supported='no'/>
</features>
</domainCapabilities>

@ -184,6 +184,7 @@
<gic supported='no'/>
<vmcoreinfo supported='yes'/>
<genid supported='yes'/>
<backingStoreInput supported='no'/>
<sev supported='no'/>
</features>
</domainCapabilities>

@ -147,6 +147,7 @@
</gic>
<vmcoreinfo supported='yes'/>
<genid supported='no'/>
<backingStoreInput supported='no'/>
<sev supported='no'/>
</features>
</domainCapabilities>

@ -141,6 +141,7 @@
<gic supported='no'/>
<vmcoreinfo supported='yes'/>
<genid supported='no'/>
<backingStoreInput supported='no'/>
<sev supported='no'/>
</features>
</domainCapabilities>

@ -107,6 +107,7 @@
<gic supported='no'/>
<vmcoreinfo supported='no'/>
<genid supported='no'/>
<backingStoreInput supported='no'/>
<sev supported='no'/>
</features>
</domainCapabilities>

@ -204,6 +204,7 @@
<gic supported='no'/>
<vmcoreinfo supported='no'/>
<genid supported='no'/>
<backingStoreInput supported='no'/>
<sev supported='no'/>
</features>
</domainCapabilities>

@ -169,6 +169,7 @@
<gic supported='no'/>
<vmcoreinfo supported='yes'/>
<genid supported='yes'/>
<backingStoreInput supported='no'/>
<sev supported='no'/>
</features>
</domainCapabilities>

@ -173,6 +173,7 @@
<gic supported='no'/>
<vmcoreinfo supported='yes'/>
<genid supported='yes'/>
<backingStoreInput supported='no'/>
<sev supported='no'/>
</features>
</domainCapabilities>

@ -184,6 +184,7 @@
<gic supported='no'/>
<vmcoreinfo supported='yes'/>
<genid supported='yes'/>
<backingStoreInput supported='no'/>
<sev supported='no'/>
</features>
</domainCapabilities>

@ -173,6 +173,7 @@
<gic supported='no'/>
<vmcoreinfo supported='yes'/>
<genid supported='yes'/>
<backingStoreInput supported='no'/>
<sev supported='no'/>
</features>
</domainCapabilities>

@ -173,6 +173,7 @@
<gic supported='no'/>
<vmcoreinfo supported='yes'/>
<genid supported='yes'/>
<backingStoreInput supported='no'/>
<sev supported='no'/>
</features>
</domainCapabilities>

@ -184,6 +184,7 @@
<gic supported='no'/>
<vmcoreinfo supported='yes'/>
<genid supported='yes'/>
<backingStoreInput supported='no'/>
<sev supported='no'/>
</features>
</domainCapabilities>

@ -147,6 +147,7 @@
</gic>
<vmcoreinfo supported='yes'/>
<genid supported='no'/>
<backingStoreInput supported='no'/>
<sev supported='no'/>
</features>
</domainCapabilities>

@ -141,6 +141,7 @@
<gic supported='no'/>
<vmcoreinfo supported='yes'/>
<genid supported='no'/>
<backingStoreInput supported='no'/>
<sev supported='no'/>
</features>
</domainCapabilities>

@ -107,6 +107,7 @@
<gic supported='no'/>
<vmcoreinfo supported='no'/>
<genid supported='no'/>
<backingStoreInput supported='no'/>
<sev supported='no'/>
</features>
</domainCapabilities>

@ -198,6 +198,7 @@
<gic supported='no'/>
<vmcoreinfo supported='no'/>
<genid supported='no'/>
<backingStoreInput supported='no'/>
<sev supported='no'/>
</features>
</domainCapabilities>

@ -173,6 +173,7 @@
<gic supported='no'/>
<vmcoreinfo supported='yes'/>
<genid supported='yes'/>
<backingStoreInput supported='no'/>
<sev supported='no'/>
</features>
</domainCapabilities>