diff --git a/src/qemu/qemu_capabilities.c b/src/qemu/qemu_capabilities.c
index 4f2aa666a7c875a9333641a4b3a6f46335db7385..e2e76e4dd8bbb98e9179c2f438f3a74a039c9a36 100644
--- a/src/qemu/qemu_capabilities.c
+++ b/src/qemu/qemu_capabilities.c
@@ -490,6 +490,9 @@ VIR_ENUM_IMPL(virQEMUCaps, QEMU_CAPS_LAST,
"hda-output",
"blockdev-del",
"vmgenid",
+
+ /* 305 */
+ "vhost-vsock",
);
@@ -1123,6 +1126,7 @@ struct virQEMUCapsStringFlags virQEMUCapsObjectTypes[] = {
{ "vfio-ccw", QEMU_CAPS_DEVICE_VFIO_CCW },
{ "hda-output", QEMU_CAPS_HDA_OUTPUT },
{ "vmgenid", QEMU_CAPS_DEVICE_VMGENID },
+ { "vhost-vsock-device", QEMU_CAPS_DEVICE_VHOST_VSOCK },
};
static struct virQEMUCapsStringFlags virQEMUCapsDevicePropsVirtioBalloon[] = {
diff --git a/src/qemu/qemu_capabilities.h b/src/qemu/qemu_capabilities.h
index a624d4da30a6f1b6f3b49b3df30ee87d5f68a11c..f2aecefb9b72d9d37c2aa944888d3d85d4f80993 100644
--- a/src/qemu/qemu_capabilities.h
+++ b/src/qemu/qemu_capabilities.h
@@ -475,6 +475,9 @@ typedef enum { /* virQEMUCapsFlags grouping marker for syntax-check */
QEMU_CAPS_BLOCKDEV_DEL, /* blockdev-del is supported */
QEMU_CAPS_DEVICE_VMGENID, /* -device vmgenid */
+ /* 305 */
+ QEMU_CAPS_DEVICE_VHOST_VSOCK, /* -device vhost-vsock-* */
+
QEMU_CAPS_LAST /* this must always be the last item */
} virQEMUCapsFlags;
diff --git a/tests/qemucapabilitiesdata/caps_2.10.0.aarch64.xml b/tests/qemucapabilitiesdata/caps_2.10.0.aarch64.xml
index fdc7ec3f69ab3eb3be50233e03c82477695dafde..6e259ed6a776262692ff6645a6718faf32ff7745 100644
--- a/tests/qemucapabilitiesdata/caps_2.10.0.aarch64.xml
+++ b/tests/qemucapabilitiesdata/caps_2.10.0.aarch64.xml
@@ -158,6 +158,7 @@
+
2010000
0
303541
diff --git a/tests/qemucapabilitiesdata/caps_2.10.0.ppc64.xml b/tests/qemucapabilitiesdata/caps_2.10.0.ppc64.xml
index a316045598bb6df9c7f5e883f5d7843b60fa800f..0fa972ce92a932cc78b4e17bc416b97fb141c0cc 100644
--- a/tests/qemucapabilitiesdata/caps_2.10.0.ppc64.xml
+++ b/tests/qemucapabilitiesdata/caps_2.10.0.ppc64.xml
@@ -157,6 +157,7 @@
+
2010000
0
382824
diff --git a/tests/qemucapabilitiesdata/caps_2.10.0.s390x.xml b/tests/qemucapabilitiesdata/caps_2.10.0.s390x.xml
index 68006c6fa0fc2ce3a515b32f5a48107dd91b1b06..23f653d5987960cf7654855aa0fc5b2e9a069a92 100644
--- a/tests/qemucapabilitiesdata/caps_2.10.0.s390x.xml
+++ b/tests/qemucapabilitiesdata/caps_2.10.0.s390x.xml
@@ -118,6 +118,7 @@
+
2010000
0
303434
diff --git a/tests/qemucapabilitiesdata/caps_2.10.0.x86_64.xml b/tests/qemucapabilitiesdata/caps_2.10.0.x86_64.xml
index 6ed45941e4e94f30246fa8000ab299d10d2dbe02..7c5aa50d5942c1f333f8c99a43371f498494e8c7 100644
--- a/tests/qemucapabilitiesdata/caps_2.10.0.x86_64.xml
+++ b/tests/qemucapabilitiesdata/caps_2.10.0.x86_64.xml
@@ -201,6 +201,7 @@
+
2010000
0
344938
diff --git a/tests/qemucapabilitiesdata/caps_2.11.0.s390x.xml b/tests/qemucapabilitiesdata/caps_2.11.0.s390x.xml
index cb11562e39cc3b9eb4f38b58b6591e515bbd9bde..71061474172d43f980c2c04adfe5841616b65482 100644
--- a/tests/qemucapabilitiesdata/caps_2.11.0.s390x.xml
+++ b/tests/qemucapabilitiesdata/caps_2.11.0.s390x.xml
@@ -124,6 +124,7 @@
+
2011000
0
342166
diff --git a/tests/qemucapabilitiesdata/caps_2.12.0.aarch64.xml b/tests/qemucapabilitiesdata/caps_2.12.0.aarch64.xml
index 0dbd35488797530887d078020b2c2aa32e8577f9..f511bcb58cca783e14d66ae3d1bfc1277a8393f5 100644
--- a/tests/qemucapabilitiesdata/caps_2.12.0.aarch64.xml
+++ b/tests/qemucapabilitiesdata/caps_2.12.0.aarch64.xml
@@ -166,6 +166,7 @@
+
2011090
0
343099
diff --git a/tests/qemucapabilitiesdata/caps_2.12.0.ppc64.xml b/tests/qemucapabilitiesdata/caps_2.12.0.ppc64.xml
index 9b08993b7ef4e0b3c1f424d90eb67a54a7beb693..37813ad0b1de6004a041a656619b726d555cd99f 100644
--- a/tests/qemucapabilitiesdata/caps_2.12.0.ppc64.xml
+++ b/tests/qemucapabilitiesdata/caps_2.12.0.ppc64.xml
@@ -163,6 +163,7 @@
+
2011090
0
419968
diff --git a/tests/qemucapabilitiesdata/caps_2.12.0.s390x.xml b/tests/qemucapabilitiesdata/caps_2.12.0.s390x.xml
index df0f6e4eba34b9cf1806fffa2a85157c05d4f75c..3191e9ba9559fc7b0e08196cb018a36d6866647a 100644
--- a/tests/qemucapabilitiesdata/caps_2.12.0.s390x.xml
+++ b/tests/qemucapabilitiesdata/caps_2.12.0.s390x.xml
@@ -130,6 +130,7 @@
+
2012000
0
371055
diff --git a/tests/qemucapabilitiesdata/caps_2.12.0.x86_64.xml b/tests/qemucapabilitiesdata/caps_2.12.0.x86_64.xml
index a1b4d0fe4dd48810448720e05a5ea1953dfc2d21..964b9e8fa6b94d8248ecf57274dac07accbf0377 100644
--- a/tests/qemucapabilitiesdata/caps_2.12.0.x86_64.xml
+++ b/tests/qemucapabilitiesdata/caps_2.12.0.x86_64.xml
@@ -205,6 +205,7 @@
+
2011090
0
390813
diff --git a/tests/qemucapabilitiesdata/caps_2.8.0.s390x.xml b/tests/qemucapabilitiesdata/caps_2.8.0.s390x.xml
index 985a4114c51099613816379351a78d183a02b7c2..f3f9c9e54feea95b03eebdda66508be80b1bb926 100644
--- a/tests/qemucapabilitiesdata/caps_2.8.0.s390x.xml
+++ b/tests/qemucapabilitiesdata/caps_2.8.0.s390x.xml
@@ -109,6 +109,7 @@
+
2007093
0
241741
diff --git a/tests/qemucapabilitiesdata/caps_2.8.0.x86_64.xml b/tests/qemucapabilitiesdata/caps_2.8.0.x86_64.xml
index 900512d512049020f1dab93c72abad6a76657794..7a658e2b6afc2637fbeb6218e2b79d574f9929a0 100644
--- a/tests/qemucapabilitiesdata/caps_2.8.0.x86_64.xml
+++ b/tests/qemucapabilitiesdata/caps_2.8.0.x86_64.xml
@@ -181,6 +181,7 @@
+
2008000
0
255684
diff --git a/tests/qemucapabilitiesdata/caps_2.9.0.ppc64.xml b/tests/qemucapabilitiesdata/caps_2.9.0.ppc64.xml
index 4772d4f3e5fa1dc62a6bdc06d8770e5c770de137..06499bf6667bc1c609136e03d4416824186cdab4 100644
--- a/tests/qemucapabilitiesdata/caps_2.9.0.ppc64.xml
+++ b/tests/qemucapabilitiesdata/caps_2.9.0.ppc64.xml
@@ -149,6 +149,7 @@
+
2009000
0
346538
diff --git a/tests/qemucapabilitiesdata/caps_2.9.0.s390x.xml b/tests/qemucapabilitiesdata/caps_2.9.0.s390x.xml
index b216c69906ad7927524c26ecd6c2f0896bb2635a..9d67f087d5759762db64010f9c51bfa593870619 100644
--- a/tests/qemucapabilitiesdata/caps_2.9.0.s390x.xml
+++ b/tests/qemucapabilitiesdata/caps_2.9.0.s390x.xml
@@ -113,6 +113,7 @@
+
2009000
0
265159
diff --git a/tests/qemucapabilitiesdata/caps_2.9.0.x86_64.xml b/tests/qemucapabilitiesdata/caps_2.9.0.x86_64.xml
index e98bb693c25ea5277f97c3c49eea6de424a36e96..33412b5a9a6bdbc4aff23b923a5239c4995e8d70 100644
--- a/tests/qemucapabilitiesdata/caps_2.9.0.x86_64.xml
+++ b/tests/qemucapabilitiesdata/caps_2.9.0.x86_64.xml
@@ -196,6 +196,7 @@
+
2009000
0
320947