vdpa: stash memory region properties in vars
authorEugenio Pérez <eperezma@redhat.com>
Thu, 15 Feb 2024 10:36:15 +0000 (11:36 +0100)
committerMichael S. Tsirkin <mst@redhat.com>
Tue, 12 Mar 2024 21:56:55 +0000 (17:56 -0400)
commita55834579aa65f27519f948275d5efd9e2173bef
tree17d04b06f291d1b40eb12840e9f30685a10b5134
parentc08da86dc412cd44039bc78df02227578bc06268
vdpa: stash memory region properties in vars

Next changes uses this variables, so avoid call repeatedly to memory
region functions. No functional change intended.

Signed-off-by: Eugenio Pérez <eperezma@redhat.com>
Message-Id: <20240215103616.330518-2-eperezma@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
hw/virtio/vhost-vdpa.c