[libvirt] [PATCH v6 01/13] qemu: Add QEMU 2.10 x86_64 the generated capabilities
Daniel P. Berrange
berrange at redhat.com
Thu Aug 31 13:15:50 UTC 2017
On Wed, Aug 30, 2017 at 06:46:01PM -0400, John Ferlan wrote:
> For reference, these were generated by updating a local qemu git
> repository to the latest upstream and building in order to generate
> an "x86_64-softmmu/qemu-system-x86_64" image.
>
> The image was then provided as input:
>
> tests/qemucapsprobe /path/to/x86_64-softmmu/qemu-system-x86_64 > \
> tests/qemucapabilitiesdata/caps_2.10.0.x86_64.replies
>
> The image was then used in a test domain as the emulator and the
> domain started using a "top of tree" build running libvirtd which
> generates an XML file in /var/cache/libvirt/qemu/capabilities/.
> I search the cache for 2.10:
>
> grep 2.10 /var/cache/libvirt/qemu/capabilities/*.xml
>
> and copied the resulting xml file to
>
> tests/qemucapabilitiesdata/caps_2.10.0.x86_64.xml
>
> scrubbed the file slightly to set qemuctime, selfctime, and
> selfvers to 0 and change the package to add a "-dirty".
>
> Signed-off-by: John Ferlan <jferlan at redhat.com>
> ---
>
> This is new from v5 - since VxHS was added to qemu 2.10 and we
> don't have qemu 2.10 definitions yet, in order to properly add
> the capabilities checks, we need the environment set up.
>
> .../caps_2.10.0.x86_64.replies | 17994 +++++++++++++++++++
> tests/qemucapabilitiesdata/caps_2.10.0.x86_64.xml | 791 +
> tests/qemucapabilitiestest.c | 1 +
> 3 files changed, 18786 insertions(+)
> create mode 100644 tests/qemucapabilitiesdata/caps_2.10.0.x86_64.replies
> create mode 100644 tests/qemucapabilitiesdata/caps_2.10.0.x86_64.xml
>
> diff --git a/tests/qemucapabilitiesdata/caps_2.10.0.x86_64.replies b/tests/qemucapabilitiesdata/caps_2.10.0.x86_64.replies
> new file mode 100644
> index 0000000..08a33ab
> --- /dev/null
> +++ b/tests/qemucapabilitiesdata/caps_2.10.0.x86_64.replies
> @@ -0,0 +1,17994 @@
> +{
> + "QMP": {
> + "version": {
> + "qemu": {
> + "micro": 94,
> + "minor": 9,
> + "major": 2
> + },
> + "package": " (v2.10.0-rc4-dirty)"
QEMU 2.10.0 is now released, so please rebase to the release tag instead of
the -rc4.
Regards,
Daniel
--
|: https://berrange.com -o- https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org -o- https://fstop138.berrange.com :|
|: https://entangle-photo.org -o- https://www.instagram.com/dberrange :|
More information about the libvir-list
mailing list