mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-02 23:33:54 -06:00
vdpa: remove msg type of vhost_vdpa
It is always VHOST_IOTLB_MSG_V2. We can always make it back per vhost_dev if needed. This change makes easier for vhost_vdpa_map and unmap not to depend on vhost_vdpa but only in VhostVDPAShared. Signed-off-by: Eugenio Pérez <eperezma@redhat.com> Acked-by: Jason Wang <jasowang@redhat.com> Message-Id: <20231221174322.3130442-10-eperezma@redhat.com> Tested-by: Lei Yang <leiyang@redhat.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
This commit is contained in:
parent
4da38d1a6d
commit
74e76c7d5b
2 changed files with 4 additions and 6 deletions
|
@ -49,7 +49,6 @@ typedef struct vhost_vdpa_shared {
|
|||
|
||||
typedef struct vhost_vdpa {
|
||||
int index;
|
||||
uint32_t msg_type;
|
||||
uint32_t address_space_id;
|
||||
MemoryListener listener;
|
||||
uint64_t acked_features;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue