From: Ian Campbell Subject: Re: libcacard is been installed to /usr/lib while libdir=/usr/lib64 Date: Wed, 21 May 2014 15:16:53 +0100 Message-ID: <1400681813.4856.107.camel@kazak.uk.xensource.com> References: <537162DD.7000304@oracle.com> <1400166650.19926.14.camel@kazak.uk.xensource.com> <5374E338.4060908@oracle.com> <1400589649.6946.31.camel@kazak.uk.xensource.com> <20140520130224.GA19255@aepfle.de> <537B5383.5010401@citrix.com> <537B56C0.20201@oracle.com> <537B8914.8060100@oracle.com> <20140521074631.GA5418@aepfle.de> <1400667931.4856.7.camel@kazak.uk.xensource.com> <20140521105052.GA10202@aepfle.de> <537CAF8E.5000302@oracle.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <537CAF8E.5000302@oracle.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Zhigang Wang Cc: Andrew Cooper , Olaf Hering , Ian Jackson , xen-devel List-Id: xen-devel@lists.xenproject.org On Wed, 2014-05-21 at 09:52 -0400, Zhigang Wang wrote: > Here is my test result with attached patch: > > 1. qemu_helperdir = libexecdir = $prefix/libexec moves. Affection: /usr/libexec/qemu-bridge-helper moves to /usr/lib/xen/libexec/qemu-bridge-helper. > > include/net/net.h:#define DEFAULT_BRIDGE_HELPER CONFIG_QEMU_HELPERDIR "/qemu-bridge-helper" > > As the C code already understands this path change, it's not a problem. > > 2. qemu_confdir = $prefix/etc/qeum moves. Affection: /usr/etc/qemu/target-x86_64.conf moves to /usr/lib/xen/etc/qemu/target-x86_64.conf > > Also seems the C code understand this path change. Agreed. I think /usr/lib/xen/etc/qemu/ is better than e.g. /etc/xen/qemu since that might give the impression of affecting the system qemu when used with Xen. I think both target-86_64.conf and qemu-bridge-helper both don't do very much in a Xen system anyway. > 3. It seems nothing will conflict with system qemu or qemu-kvm any more. > > I think it's the right way to go. I agree. With your change to --prefix I suspect that --libdir and --includedir aren't needed, but there's no harm in passing them I suppose. > I will do more test and report any issues I find. Thanks. > > Thanks, > > Zhigang > >