[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[RFC 2/7] qapi: support iommufd in vdpa
|
From: |
Cindy Lu |
|
Subject: |
[RFC 2/7] qapi: support iommufd in vdpa |
|
Date: |
Wed, 3 May 2023 17:13:32 +0800 |
Add a new option for iommufd, The usage is
....
-object iommufd,id=iommufd0 \
-device virtio-net-pci,netdev=vhost-vdpa1,disable-legacy=on,disable-modern=off\
-netdev
type=vhost-vdpa,vhostdev=/dev/vhost-vdpa-0,id=vhost-vdpa1,iommufd=iommufd0\
...
Signed-off-by: Cindy Lu <lulu@redhat.com>
---
qapi/net.json | 1 +
1 file changed, 1 insertion(+)
diff --git a/qapi/net.json b/qapi/net.json
index 522ac582ed..fffaf9bb5e 100644
--- a/qapi/net.json
+++ b/qapi/net.json
@@ -461,6 +461,7 @@
'*vhostdev': 'str',
'*vhostfd': 'str',
'*queues': 'int',
+ '*iommufd': 'str',
'*x-svq': {'type': 'bool', 'features' : [ 'unstable'] } } }
##
--
2.34.3
- [RFC 0/7] vhost-vdpa: add support for iommufd, Cindy Lu, 2023/05/03
- [RFC 1/7] vhost: introduce new UAPI to support IOMMUFD, Cindy Lu, 2023/05/03
- [RFC 3/7] virtio : add a ptr for vdpa_iommufd in VirtIODevice, Cindy Lu, 2023/05/03
- [RFC 2/7] qapi: support iommufd in vdpa,
Cindy Lu <=
- [RFC 6/7] vhost-vdpa: init iommufd function in vhost_vdpa start, Cindy Lu, 2023/05/03
- [RFC 4/7] net/vhost-vdpa: Add the check for iommufd, Cindy Lu, 2023/05/03
- [RFC 5/7] vhost-vdpa: Add the iommufd support in the map/unmap function, Cindy Lu, 2023/05/03
- [RFC 7/7] vhost-vdpa-iommufd: Add iommufd support for vdpa, Cindy Lu, 2023/05/03
- Re: [RFC 0/7] vhost-vdpa: add support for iommufd, Jason Wang, 2023/05/04