mirror of
				https://passt.top/passt
				synced 2025-10-26 00:59:13 +02:00 
			
		
		
		
	vhost-user: Report to front-end we support VHOST_USER_PROTOCOL_F_DEVICE_STATE
Report to front-end that we support device state commands: VHOST_USER_CHECK_DEVICE_STATE VHOST_USER_SET_LOG_BASE These feature is needed to transfer backend state using frontend channel. Signed-off-by: Laurent Vivier <lvivier@redhat.com> Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
This commit is contained in:
		
					parent
					
						
							
								31d70024be
							
						
					
				
			
			
				commit
				
					
						412ed4f09f
					
				
			
		
					 1 changed files with 2 additions and 1 deletions
				
			
		|  | @ -913,7 +913,8 @@ static bool vu_get_protocol_features_exec(struct vu_dev *vdev, | ||||||
| 					  struct vhost_user_msg *msg) | 					  struct vhost_user_msg *msg) | ||||||
| { | { | ||||||
| 	uint64_t features = 1ULL << VHOST_USER_PROTOCOL_F_REPLY_ACK | | 	uint64_t features = 1ULL << VHOST_USER_PROTOCOL_F_REPLY_ACK | | ||||||
| 			    1ULL << VHOST_USER_PROTOCOL_F_LOG_SHMFD; | 			    1ULL << VHOST_USER_PROTOCOL_F_LOG_SHMFD | | ||||||
|  | 			    1ULL << VHOST_USER_PROTOCOL_F_DEVICE_STATE; | ||||||
| 
 | 
 | ||||||
| 	(void)vdev; | 	(void)vdev; | ||||||
| 	vmsg_set_reply_u64(msg, features); | 	vmsg_set_reply_u64(msg, features); | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Laurent Vivier
				Laurent Vivier