From df77d45a51412ca84abd7f1490b48c1bccf07057 Mon Sep 17 00:00:00 2001 From: Xie Yongji Date: Mon, 17 May 2021 20:32:46 +0800 Subject: vhost-vdpa: Remove redundant declaration of address_space_memory MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Reviewed-by: Philippe Mathieu-Daudé Reviewed-by: Stefano Garzarella Message-Id: <20210517123246.999-1-xieyongji@bytedance.com> Signed-off-by: Laurent Vivier --- include/hw/virtio/vhost-vdpa.h | 1 - 1 file changed, 1 deletion(-) (limited to 'include') 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 -- cgit v1.1