Maxim Levitsky 
		06b80795ee 
		
	 
	
	
	block/scsi: correctly emulate the VPD block limits page ... 
			When the device doesn't support the VPD block limits page, we emulate it even
for SCSI passthrough.
As a part of the emulation we need to add it to the 'Supported VPD Pages'
The code that does this adds it to the page, but it doesn't increase the length
of the data to be copied to the guest, thus the guest never sees the VPD block
limits page as supported.
Bump the transfer size by 1 in this case.
Signed-off-by: Maxim Levitsky <mlevitsk@redhat.com>
Reviewed-by: Max Reitz <mreitz@redhat.com>
Message-Id: <20201217165612.942849-6-mlevitsk@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> 
		
	 
		2021-06-15 17:17:09 +02:00 
	 
	
	
		 
	
	
		
			
			
			
			
			
			2021-06-02 06:51:09 +02:00 
		 
	
		
			
			
			
			
			
			2021-06-02 06:51:09 +02:00 
		 
	
		
			
			
			
			
			
			2021-06-02 06:51:09 +02:00 
		 
	
		
			
			
			
			
			
			2021-06-02 06:51:09 +02:00 
		 
	
		
			
			
			
			
			
			2021-06-03 16:43:25 +01:00 
		 
	
		
			
			
			
			
			
			2021-06-02 06:51:09 +02:00 
		 
	
		
			
			
			
			
			
			2021-05-13 19:11:42 +02:00 
		 
	
		
			
			
			
			
			
			2021-06-02 06:51:09 +02:00 
		 
	
		
			
			
			
			
			
			2021-06-02 06:51:09 +02:00 
		 
	
		
			
			
			
			
			
			2021-06-03 18:10:31 +10:00 
		 
	
		
			
			
			
			
			
			2021-04-09 16:05:16 -04:00 
		 
	
		
			
			
			
			
			
			2021-05-02 17:24:51 +02:00 
		 
	
		
			
			
			
			
			
			2021-06-05 21:21:56 +02:00 
		 
	
		
			
			
			
			
			
			2021-06-02 06:51:09 +02:00 
		 
	
		
			
			
			
			
			
			2021-06-05 21:10:42 +02:00 
		 
	
		
			
			
			
			
			
			2021-06-02 06:51:09 +02:00 
		 
	
		
			
			
			
			
			
			2020-12-18 15:20:17 -05:00 
		 
	
		
			
			
			
			
			
			2021-06-02 06:51:09 +02:00 
		 
	
		
			
			
			
			
			
			2021-06-05 21:10:42 +02:00 
		 
	
		
			
			
			
			
			
			2021-06-02 06:51:09 +02:00 
		 
	
		
			
			
			
			
			
			2021-06-02 06:51:09 +02:00 
		 
	
		
			
			
			
			
			
			2021-06-05 21:10:42 +02:00 
		 
	
		
			
			
			
			
			
			2020-09-18 14:12:32 -04:00 
		 
	
		
			
			
			
			
			
			2021-05-02 17:24:50 +02:00 
		 
	
		
			
			
			
			
			
			2021-06-02 06:51:09 +02:00 
		 
	
		
			
			
			
			
			
			2021-05-02 17:24:51 +02:00 
		 
	
		
			
			
			
			
			
			2021-06-02 06:51:09 +02:00 
		 
	
		
			
			
			
			
			
			2021-05-02 17:24:50 +02:00 
		 
	
		
			
			
			
			
			
			2021-05-26 15:33:59 -07:00 
		 
	
		
			
			
			
			
			
			2021-06-03 16:43:25 +01:00 
		 
	
		
			
			
			
			
			
			2021-06-04 13:38:49 +01:00 
		 
	
		
			
			
			
			
			
			2021-05-02 17:24:51 +02:00 
		 
	
		
			
			
			
			
			
			2021-05-02 17:24:50 +02:00 
		 
	
		
			
			
			
			
			
			2021-05-17 09:19:00 +02:00 
		 
	
		
			
			
			
			
			
			2021-06-02 06:51:09 +02:00 
		 
	
		
			
			
			
			
			
			2021-05-02 17:24:51 +02:00 
		 
	
		
			
			
			
			
			
			2021-06-02 06:51:09 +02:00 
		 
	
		
			
			
			
			
			
			2021-01-17 06:42:54 -05:00 
		 
	
		
			
			
			
			
			
			2021-06-02 06:51:09 +02:00 
		 
	
		
			
			
			
			
			
			2021-05-02 17:24:50 +02:00 
		 
	
		
			
			
			
			
			
			2021-06-03 18:10:31 +10:00 
		 
	
		
			
			
			
			
			
			2021-06-02 06:51:09 +02:00 
		 
	
		
			
			
			
			
			
			2021-05-21 15:43:57 +01:00 
		 
	
		
			
			
			
			
			
			2021-06-08 09:59:42 +10:00 
		 
	
		
			
			
			
			
			
			2021-06-02 06:51:09 +02:00 
		 
	
		
			
			
			
			
			
			2021-05-03 10:07:41 +02:00 
		 
	
		
			
			
			
			
			
			2021-06-02 06:51:09 +02:00 
		 
	
		
			
			
			
			
			
			2021-06-15 17:17:09 +02:00 
		 
	
		
			
			
			
			
			
			2021-06-02 06:51:09 +02:00 
		 
	
		
			
			
			
			
			
			2021-05-02 17:24:51 +02:00 
		 
	
		
			
			
			
			
			
			2021-05-14 10:26:18 -04:00 
		 
	
		
			
			
			
			
			
			2021-06-02 06:51:09 +02:00 
		 
	
		
			
			
			
			
			
			2021-06-02 06:51:09 +02:00 
		 
	
		
			
			
			
			
			
			2021-05-05 13:52:00 +01:00 
		 
	
		
			
			
			
			
			
			2021-06-02 06:51:09 +02:00 
		 
	
		
			
			
			
			
			
			2021-06-02 06:51:09 +02:00 
		 
	
		
			
			
			
			
			
			2021-05-18 09:36:21 +01:00 
		 
	
		
			
			
			
			
			
			2021-06-14 13:28:50 +01:00 
		 
	
		
			
			
			
			
			
			2021-06-02 06:51:09 +02:00 
		 
	
		
			
			
			
			
			
			2021-06-11 10:30:13 +08:00 
		 
	
		
			
			
			
			
			
			2021-06-02 06:51:09 +02:00 
		 
	
		
			
			
			
			
			
			2021-06-02 06:51:09 +02:00 
		 
	
		
			
			
			
			
			
			2020-08-21 06:30:33 -04:00 
		 
	
		
			
			
			
			
			
			2021-05-02 17:24:51 +02:00 
		 
	
		
			
			
			
			
			
			2021-05-17 09:19:00 +02:00 
		 
	
		
			
			
			
			
			
			2021-05-17 09:19:00 +02:00