Blame SOURCES/0005-output-create_json-expose-gcaps_virtio_1_0.patch

3156cb
From 511910e1f7e956fb8a032c1c04fd0a983b2108df Mon Sep 17 00:00:00 2001
3156cb
From: Laszlo Ersek <lersek@redhat.com>
3156cb
Date: Thu, 6 Jan 2022 15:09:06 +0100
3156cb
Subject: [PATCH] output/create_json: expose "gcaps_virtio_1_0"
3156cb
3156cb
Let CNV / KubeVirt know about the "gcaps_virtio_1_0" field as well, so
3156cb
that it can make the same determination from "machine" and
3156cb
"gcaps_virtio_1_0" as virt-v2v does in the libvirt output (from an earlier
3156cb
patch in this series).
3156cb
3156cb
Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=1942325
3156cb
Signed-off-by: Laszlo Ersek <lersek@redhat.com>
3156cb
Message-Id: <20220106140910.13695-6-lersek@redhat.com>
3156cb
Acked-by: Richard W.M. Jones <rjones@redhat.com>
3156cb
---
3156cb
 output/create_json.ml | 1 +
3156cb
 1 file changed, 1 insertion(+)
3156cb
3156cb
diff --git a/output/create_json.ml b/output/create_json.ml
3156cb
index b48902b7..985e10a9 100644
3156cb
--- a/output/create_json.ml
3156cb
+++ b/output/create_json.ml
3156cb
@@ -219,6 +219,7 @@ let create_json_metadata source inspect
3156cb
       "isa-pvpanic", JSON.Bool guestcaps.gcaps_isa_pvpanic;
3156cb
       "virtio-socket", JSON.Bool guestcaps.gcaps_virtio_socket;
3156cb
       "acpi", JSON.Bool guestcaps.gcaps_acpi;
3156cb
+      "virtio-1-0", JSON.Bool guestcaps.gcaps_virtio_1_0;
3156cb
     ] in
3156cb
   List.push_back doc ("guestcaps", JSON.Dict guestcaps_dict);
3156cb
 
3156cb
-- 
3156cb
2.31.1
3156cb