aboutsummaryrefslogtreecommitdiff
path: root/include/hw
diff options
context:
space:
mode:
authorXie Yongji <xieyongji@bytedance.com>2021-05-17 20:32:46 +0800
committerLaurent Vivier <laurent@vivier.eu>2021-06-05 21:33:46 +0200
commitdf77d45a51412ca84abd7f1490b48c1bccf07057 (patch)
tree45e0d63a444ffb8cf4bf5e356061a11a39fcdae9 /include/hw
parenteeae5466c47ef06e8cc59e2cb114e094e722e389 (diff)
downloadqemu-df77d45a51412ca84abd7f1490b48c1bccf07057.zip
qemu-df77d45a51412ca84abd7f1490b48c1bccf07057.tar.gz
qemu-df77d45a51412ca84abd7f1490b48c1bccf07057.tar.bz2
vhost-vdpa: Remove redundant declaration of address_space_memory
The symbol address_space_memory are already declared in include/exec/address-spaces.h. So let's add this header file and remove the redundant declaration in include/hw/virtio/vhost-vdpa.h. Signed-off-by: Xie Yongji <xieyongji@bytedance.com> Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com> Reviewed-by: Stefano Garzarella <sgarzare@redhat.com> Message-Id: <20210517123246.999-1-xieyongji@bytedance.com> Signed-off-by: Laurent Vivier <laurent@vivier.eu>
Diffstat (limited to 'include/hw')
-rw-r--r--include/hw/virtio/vhost-vdpa.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/hw/virtio/vhost-vdpa.h b/include/hw/virtio/vhost-vdpa.h
index 28ca650..ae9ee7a 100644
--- a/include/hw/virtio/vhost-vdpa.h
+++ b/include/hw/virtio/vhost-vdpa.h
@@ -21,5 +21,4 @@ typedef struct vhost_vdpa {
struct vhost_dev *dev;
} VhostVDPA;
-extern AddressSpace address_space_memory;
#endif