Kevin Wolf 
		b85114f8cf 
		
	 
	
	
	block: Use 'detect-zeroes' option for 'blockdev-change-medium' ... 
			Instead of modifying the new BDS after it has been opened, use the newly
supported 'detect-zeroes' option in bdrv_open_common() so that all
requirements are checked (detect-zeroes=unmap requires discard=unmap).
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Max Reitz <mreitz@redhat.com> 
		
	 
		2016-09-29 14:13:39 +02:00 
	 
	
	
		 
	
	
		
			
			
			
			
			
			2016-01-20 13:36:23 +01:00 
		 
	
		
			
			
			
			
			
			2016-06-20 16:38:13 +02:00 
		 
	
		
			
			
			
			
			
			2016-09-13 11:00:56 +01:00 
		 
	
		
			
			
			
			
			
			2016-08-15 15:52:28 +02:00 
		 
	
		
			
			
			
			
			
			2016-09-27 11:57:30 +02:00 
		 
	
		
			
			
			
			
			
			2016-07-05 16:46:26 +02:00 
		 
	
		
			
			
			
			
			
			2016-09-29 14:13:39 +02:00 
		 
	
		
			
			
			
			
			
			2016-07-05 16:46:27 +02:00 
		 
	
		
			
			
			
			
			
			2016-07-05 16:46:27 +02:00 
		 
	
		
			
			
			
			
			
			2016-09-23 13:36:10 +02:00 
		 
	
		
			
			
			
			
			
			2016-09-19 16:30:45 +01:00 
		 
	
		
			
			
			
			
			
			2016-09-15 15:32:22 +03:00 
		 
	
		
			
			
			
			
			
			2016-07-19 16:54:46 -04:00 
		 
	
		
			
			
			
			
			
			2016-07-05 16:46:27 +02:00 
		 
	
		
			
			
			
			
			
			2016-09-13 01:34:47 -04:00 
		 
	
		
			
			
			
			
			
			2016-09-29 14:13:13 +02:00 
		 
	
		
			
			
			
			
			
			2016-09-23 13:10:43 +01:00 
		 
	
		
			
			
			
			
			
			2016-09-28 17:11:23 +01:00 
		 
	
		
			
			
			
			
			
			2016-09-23 11:42:52 +08:00 
		 
	
		
			
			
			
			
			
			2016-09-13 11:00:56 +01:00 
		 
	
		
			
			
			
			
			
			2016-07-20 14:24:25 +01:00 
		 
	
		
			
			
			
			
			
			2016-08-03 18:44:56 +02:00 
		 
	
		
			
			
			
			
			
			2016-08-15 15:52:29 +02:00 
		 
	
		
			
			
			
			
			
			2016-07-13 13:26:02 +02:00 
		 
	
		
			
			
			
			
			
			2016-06-16 15:20:37 +02:00 
		 
	
		
			
			
			
			
			
			2016-08-05 09:59:06 +01:00 
		 
	
		
			
			
			
			
			
			2016-07-06 10:52:04 +02:00 
		 
	
		
			
			
			
			
			
			2016-07-05 16:46:27 +02:00 
		 
	
		
			
			
			
			
			
			2016-09-23 13:36:09 +02:00 
		 
	
		
			
			
			
			
			
			2016-07-20 14:11:55 +01:00 
		 
	
		
			
			
			
			
			
			2016-07-05 16:46:27 +02:00 
		 
	
		
			
			
			
			
			
			2016-09-13 11:00:55 +01:00 
		 
	
		
			
			
			
			
			
			2016-09-15 15:32:22 +03:00 
		 
	
		
			
			
			
			
			
			2016-09-05 19:06:48 +02:00 
		 
	
		
			
			
			
			
			
			2016-06-07 18:19:24 +03:00 
		 
	
		
			
			
			
			
			
			2016-01-20 13:36:23 +01:00 
		 
	
		
			
			
			
			
			
			2016-01-20 13:36:23 +01:00 
		 
	
		
			
			
			
			
			
			2016-01-20 13:36:23 +01:00 
		 
	
		
			
			
			
			
			
			2016-07-05 16:46:26 +02:00 
		 
	
		
			
			
			
			
			
			2016-07-13 13:26:02 +02:00 
		 
	
		
			
			
			
			
			
			2016-03-22 22:20:17 +01:00 
		 
	
		
			
			
			
			
			
			2016-07-05 16:46:26 +02:00 
		 
	
		
			
			
			
			
			
			2016-07-20 14:24:25 +01:00 
		 
	
		
			
			
			
			
			
			2016-09-29 14:13:39 +02:00 
		 
	
		
			
			
			
			
			
			2016-09-29 14:13:39 +02:00 
		 
	
		
			
			
			
			
			
			2016-07-20 14:11:55 +01:00 
		 
	
		
			
			
			
			
			
			2016-09-13 11:00:56 +01:00 
		 
	
		
			
			
			
			
			
			2016-09-15 15:32:22 +03:00 
		 
	
		
			
			
			
			
			
			2016-06-20 16:38:13 +02:00 
		 
	
		
			
			
			
			
			
			2016-08-15 15:52:28 +02:00 
		 
	
		
			
			
			
			
			
			2016-07-13 13:41:38 +02:00 
		 
	
		
			
			
			
			
			
			2016-05-19 16:45:30 +02:00 
		 
	
		
			
			
			
			
			
			2016-08-12 10:36:01 +01:00 
		 
	
		
			
			
			
			
			
			2016-09-23 11:42:52 +08:00 
		 
	
		
			
			
			
			
			
			2016-09-23 11:42:52 +08:00 
		 
	
		
			
			
			
			
			
			2016-07-05 16:46:27 +02:00 
		 
	
		
			
			
			
			
			
			2016-09-23 11:42:52 +08:00 
		 
	
		
			
			
			
			
			
			2014-12-12 15:42:22 +00:00 
		 
	
		
			
			
			
			
			
			2016-09-05 19:06:48 +02:00 
		 
	
		
			
			
			
			
			
			2016-09-23 11:42:52 +08:00 
		 
	
		
			
			
			
			
			
			2016-09-23 13:36:10 +02:00 
		 
	
		
			
			
			
			
			
			2016-07-18 15:09:31 +01:00 
		 
	
		
			
			
			
			
			
			2016-01-20 13:36:23 +01:00