提交 f672fa3b 编写于 作者: J Ján Tomko

Introduce QEMU_CAPS_DEVICE_VHOST_VSOCK

Add a new capability flag for vhost-vsock-device

https://bugzilla.redhat.com/show_bug.cgi?id=1291851Signed-off-by: NJán Tomko <jtomko@redhat.com>
上级 c310a556
...@@ -490,6 +490,9 @@ VIR_ENUM_IMPL(virQEMUCaps, QEMU_CAPS_LAST, ...@@ -490,6 +490,9 @@ VIR_ENUM_IMPL(virQEMUCaps, QEMU_CAPS_LAST,
"hda-output", "hda-output",
"blockdev-del", "blockdev-del",
"vmgenid", "vmgenid",
/* 305 */
"vhost-vsock",
); );
...@@ -1123,6 +1126,7 @@ struct virQEMUCapsStringFlags virQEMUCapsObjectTypes[] = { ...@@ -1123,6 +1126,7 @@ struct virQEMUCapsStringFlags virQEMUCapsObjectTypes[] = {
{ "vfio-ccw", QEMU_CAPS_DEVICE_VFIO_CCW }, { "vfio-ccw", QEMU_CAPS_DEVICE_VFIO_CCW },
{ "hda-output", QEMU_CAPS_HDA_OUTPUT }, { "hda-output", QEMU_CAPS_HDA_OUTPUT },
{ "vmgenid", QEMU_CAPS_DEVICE_VMGENID }, { "vmgenid", QEMU_CAPS_DEVICE_VMGENID },
{ "vhost-vsock-device", QEMU_CAPS_DEVICE_VHOST_VSOCK },
}; };
static struct virQEMUCapsStringFlags virQEMUCapsDevicePropsVirtioBalloon[] = { static struct virQEMUCapsStringFlags virQEMUCapsDevicePropsVirtioBalloon[] = {
......
...@@ -475,6 +475,9 @@ typedef enum { /* virQEMUCapsFlags grouping marker for syntax-check */ ...@@ -475,6 +475,9 @@ typedef enum { /* virQEMUCapsFlags grouping marker for syntax-check */
QEMU_CAPS_BLOCKDEV_DEL, /* blockdev-del is supported */ QEMU_CAPS_BLOCKDEV_DEL, /* blockdev-del is supported */
QEMU_CAPS_DEVICE_VMGENID, /* -device vmgenid */ 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 */ QEMU_CAPS_LAST /* this must always be the last item */
} virQEMUCapsFlags; } virQEMUCapsFlags;
......
...@@ -158,6 +158,7 @@ ...@@ -158,6 +158,7 @@
<flag name='sdl-gl'/> <flag name='sdl-gl'/>
<flag name='hda-output'/> <flag name='hda-output'/>
<flag name='blockdev-del'/> <flag name='blockdev-del'/>
<flag name='vhost-vsock'/>
<version>2010000</version> <version>2010000</version>
<kvmVersion>0</kvmVersion> <kvmVersion>0</kvmVersion>
<microcodeVersion>303541</microcodeVersion> <microcodeVersion>303541</microcodeVersion>
......
...@@ -157,6 +157,7 @@ ...@@ -157,6 +157,7 @@
<flag name='sdl-gl'/> <flag name='sdl-gl'/>
<flag name='hda-output'/> <flag name='hda-output'/>
<flag name='blockdev-del'/> <flag name='blockdev-del'/>
<flag name='vhost-vsock'/>
<version>2010000</version> <version>2010000</version>
<kvmVersion>0</kvmVersion> <kvmVersion>0</kvmVersion>
<microcodeVersion>382824</microcodeVersion> <microcodeVersion>382824</microcodeVersion>
......
...@@ -118,6 +118,7 @@ ...@@ -118,6 +118,7 @@
<flag name='virtual-css-bridge'/> <flag name='virtual-css-bridge'/>
<flag name='sdl-gl'/> <flag name='sdl-gl'/>
<flag name='blockdev-del'/> <flag name='blockdev-del'/>
<flag name='vhost-vsock'/>
<version>2010000</version> <version>2010000</version>
<kvmVersion>0</kvmVersion> <kvmVersion>0</kvmVersion>
<microcodeVersion>303434</microcodeVersion> <microcodeVersion>303434</microcodeVersion>
......
...@@ -201,6 +201,7 @@ ...@@ -201,6 +201,7 @@
<flag name='hda-output'/> <flag name='hda-output'/>
<flag name='blockdev-del'/> <flag name='blockdev-del'/>
<flag name='vmgenid'/> <flag name='vmgenid'/>
<flag name='vhost-vsock'/>
<version>2010000</version> <version>2010000</version>
<kvmVersion>0</kvmVersion> <kvmVersion>0</kvmVersion>
<microcodeVersion>344938</microcodeVersion> <microcodeVersion>344938</microcodeVersion>
......
...@@ -124,6 +124,7 @@ ...@@ -124,6 +124,7 @@
<flag name='virtual-css-bridge'/> <flag name='virtual-css-bridge'/>
<flag name='sdl-gl'/> <flag name='sdl-gl'/>
<flag name='blockdev-del'/> <flag name='blockdev-del'/>
<flag name='vhost-vsock'/>
<version>2011000</version> <version>2011000</version>
<kvmVersion>0</kvmVersion> <kvmVersion>0</kvmVersion>
<microcodeVersion>342166</microcodeVersion> <microcodeVersion>342166</microcodeVersion>
......
...@@ -166,6 +166,7 @@ ...@@ -166,6 +166,7 @@
<flag name='screendump_device'/> <flag name='screendump_device'/>
<flag name='hda-output'/> <flag name='hda-output'/>
<flag name='blockdev-del'/> <flag name='blockdev-del'/>
<flag name='vhost-vsock'/>
<version>2011090</version> <version>2011090</version>
<kvmVersion>0</kvmVersion> <kvmVersion>0</kvmVersion>
<microcodeVersion>343099</microcodeVersion> <microcodeVersion>343099</microcodeVersion>
......
...@@ -163,6 +163,7 @@ ...@@ -163,6 +163,7 @@
<flag name='screendump_device'/> <flag name='screendump_device'/>
<flag name='hda-output'/> <flag name='hda-output'/>
<flag name='blockdev-del'/> <flag name='blockdev-del'/>
<flag name='vhost-vsock'/>
<version>2011090</version> <version>2011090</version>
<kvmVersion>0</kvmVersion> <kvmVersion>0</kvmVersion>
<microcodeVersion>419968</microcodeVersion> <microcodeVersion>419968</microcodeVersion>
......
...@@ -130,6 +130,7 @@ ...@@ -130,6 +130,7 @@
<flag name='sdl-gl'/> <flag name='sdl-gl'/>
<flag name='screendump_device'/> <flag name='screendump_device'/>
<flag name='blockdev-del'/> <flag name='blockdev-del'/>
<flag name='vhost-vsock'/>
<version>2012000</version> <version>2012000</version>
<kvmVersion>0</kvmVersion> <kvmVersion>0</kvmVersion>
<microcodeVersion>371055</microcodeVersion> <microcodeVersion>371055</microcodeVersion>
......
...@@ -205,6 +205,7 @@ ...@@ -205,6 +205,7 @@
<flag name='hda-output'/> <flag name='hda-output'/>
<flag name='blockdev-del'/> <flag name='blockdev-del'/>
<flag name='vmgenid'/> <flag name='vmgenid'/>
<flag name='vhost-vsock'/>
<version>2011090</version> <version>2011090</version>
<kvmVersion>0</kvmVersion> <kvmVersion>0</kvmVersion>
<microcodeVersion>390813</microcodeVersion> <microcodeVersion>390813</microcodeVersion>
......
...@@ -109,6 +109,7 @@ ...@@ -109,6 +109,7 @@
<flag name='nbd-tls'/> <flag name='nbd-tls'/>
<flag name='virtual-css-bridge'/> <flag name='virtual-css-bridge'/>
<flag name='sdl-gl'/> <flag name='sdl-gl'/>
<flag name='vhost-vsock'/>
<version>2007093</version> <version>2007093</version>
<kvmVersion>0</kvmVersion> <kvmVersion>0</kvmVersion>
<microcodeVersion>241741</microcodeVersion> <microcodeVersion>241741</microcodeVersion>
......
...@@ -181,6 +181,7 @@ ...@@ -181,6 +181,7 @@
<flag name='nbd-tls'/> <flag name='nbd-tls'/>
<flag name='sdl-gl'/> <flag name='sdl-gl'/>
<flag name='hda-output'/> <flag name='hda-output'/>
<flag name='vhost-vsock'/>
<version>2008000</version> <version>2008000</version>
<kvmVersion>0</kvmVersion> <kvmVersion>0</kvmVersion>
<microcodeVersion>255684</microcodeVersion> <microcodeVersion>255684</microcodeVersion>
......
...@@ -149,6 +149,7 @@ ...@@ -149,6 +149,7 @@
<flag name='sdl-gl'/> <flag name='sdl-gl'/>
<flag name='hda-output'/> <flag name='hda-output'/>
<flag name='blockdev-del'/> <flag name='blockdev-del'/>
<flag name='vhost-vsock'/>
<version>2009000</version> <version>2009000</version>
<kvmVersion>0</kvmVersion> <kvmVersion>0</kvmVersion>
<microcodeVersion>346538</microcodeVersion> <microcodeVersion>346538</microcodeVersion>
......
...@@ -113,6 +113,7 @@ ...@@ -113,6 +113,7 @@
<flag name='virtual-css-bridge'/> <flag name='virtual-css-bridge'/>
<flag name='sdl-gl'/> <flag name='sdl-gl'/>
<flag name='blockdev-del'/> <flag name='blockdev-del'/>
<flag name='vhost-vsock'/>
<version>2009000</version> <version>2009000</version>
<kvmVersion>0</kvmVersion> <kvmVersion>0</kvmVersion>
<microcodeVersion>265159</microcodeVersion> <microcodeVersion>265159</microcodeVersion>
......
...@@ -196,6 +196,7 @@ ...@@ -196,6 +196,7 @@
<flag name='hda-output'/> <flag name='hda-output'/>
<flag name='blockdev-del'/> <flag name='blockdev-del'/>
<flag name='vmgenid'/> <flag name='vmgenid'/>
<flag name='vhost-vsock'/>
<version>2009000</version> <version>2009000</version>
<kvmVersion>0</kvmVersion> <kvmVersion>0</kvmVersion>
<microcodeVersion>320947</microcodeVersion> <microcodeVersion>320947</microcodeVersion>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册