 c232b8f453
			
		
	
	
		c232b8f453
		
	
	
	
	
		
			
			As it's only used inside hw/virtio/vhost-vdpa.c. Signed-off-by: Zenghui Yu <yuzenghui@huawei.com> Message-Id: <20210413133737.1574-1-yuzenghui@huawei.com> Reviewed-by: Stefano Garzarella <sgarzare@redhat.com> Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
		
			
				
	
	
		
			26 lines
		
	
	
		
			525 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			26 lines
		
	
	
		
			525 B
		
	
	
	
		
			C
		
	
	
	
	
	
| /*
 | |
|  * vhost-vdpa.h
 | |
|  *
 | |
|  * Copyright(c) 2017-2018 Intel Corporation.
 | |
|  * Copyright(c) 2020 Red Hat, Inc.
 | |
|  *
 | |
|  * This work is licensed under the terms of the GNU GPL, version 2 or later.
 | |
|  * See the COPYING file in the top-level directory.
 | |
|  *
 | |
|  */
 | |
| 
 | |
| #ifndef HW_VIRTIO_VHOST_VDPA_H
 | |
| #define HW_VIRTIO_VHOST_VDPA_H
 | |
| 
 | |
| #include "hw/virtio/virtio.h"
 | |
| 
 | |
| typedef struct vhost_vdpa {
 | |
|     int device_fd;
 | |
|     uint32_t msg_type;
 | |
|     MemoryListener listener;
 | |
|     struct vhost_dev *dev;
 | |
| } VhostVDPA;
 | |
| 
 | |
| extern AddressSpace address_space_memory;
 | |
| #endif
 |