[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [PATCH] Exclude QEMU devices that give bogus UUID info from mpath (#614869)



On Thu, 2010-07-15 at 15:18 -0400, Peter Jones wrote:
> The qemu devices are being identified as mpath devices which is wrong.
> I doubt if this is actually the cause of the problem in the bug, but
> it sure does look silly in program.log .

Looks fine IFF qemu devices cannot be part of a valid mpath set.

Dave

> ---
>  storage/devicelibs/mpath.py |    4 ++++
>  1 files changed, 4 insertions(+), 0 deletions(-)
> 
> diff --git a/storage/devicelibs/mpath.py b/storage/devicelibs/mpath.py
> index 181c964..6e35727 100644
> --- a/storage/devicelibs/mpath.py
> +++ b/storage/devicelibs/mpath.py
> @@ -223,6 +223,10 @@ blacklist {
>  	device {
>  		vendor  "HPT"
>  	}
> +	# nor QEMU devices
> +	device {
> +		vendor  "QEMU"
> +	}
>  """
>          for device in self.blacklist_devices:
>              if device.serial:



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]