[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-block] [PATH] Fix build on CentOS 7
From: |
Paolo Bonzini |
Subject: |
Re: [Qemu-block] [PATH] Fix build on CentOS 7 |
Date: |
Fri, 10 Aug 2018 19:34:43 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 |
On 10/08/2018 16:11, Murilo Opsfelder Araujo wrote:
> After commit b3f1c8c413bc83e4a2cc7a63e4eddf9fe6449052 "qemu-pr-helper: use new
> libmultipath API", QEMU started using new libmultipath API, which is not
> available on CentOS 7.x.
>
> This fixes that by probing the new libmultipath API in configure. If it
> fails,
> then try probing the old API. If it fails, then consider libmultipath not
> available.
>
> With this, configure script defines CONFIG_MPATH_NEW_API that is used in
> scsi/qemu-pr-helper.c to use the new libmultipath API.
>
> Fixes: b3f1c8c413bc83e4a2cc7a63e4eddf9fe6449052
> BugLink: https://bugs.launchpad.net/qemu/+bug/1786343
> Signed-off-by: Murilo Opsfelder Araujo <address@hidden>
Thanks, I'll look at the patch for 3.1. For what it's worth, RHEL7 has
simply reverted that patch in its RPM.
Paolo