Re: [Qemu-devel] Is there a way to package QEMU binaries?

2018-06-14 Thread Alex Bennée
Peter Xu writes: > On Thu, Jun 14, 2018 at 11:50:23AM +0100, Peter Maydell wrote: >> On 14 June 2018 at 09:14, Daniel P. Berrangé wrote: >> > On Thu, Jun 14, 2018 at 10:55:21AM +0800, Peter Xu wrote: >> >> Then is there an easy way to port the specfile and tools to QEMU >> >> repository so tha

Re: [Qemu-devel] Is there a way to package QEMU binaries?

2018-06-14 Thread Peter Xu
On Thu, Jun 14, 2018 at 11:50:23AM +0100, Peter Maydell wrote: > On 14 June 2018 at 09:14, Daniel P. Berrangé wrote: > > On Thu, Jun 14, 2018 at 10:55:21AM +0800, Peter Xu wrote: > >> Then is there an easy way to port the specfile and tools to QEMU > >> repository so that we can pack that even wit

Re: [Qemu-devel] Is there a way to package QEMU binaries?

2018-06-14 Thread Peter Maydell
On 14 June 2018 at 09:14, Daniel P. Berrangé wrote: > On Thu, Jun 14, 2018 at 10:55:21AM +0800, Peter Xu wrote: >> Then is there an easy way to port the specfile and tools to QEMU >> repository so that we can pack that even with a git tree? > Well if we want to have a RPM spec file for QEMU distr

Re: [Qemu-devel] Is there a way to package QEMU binaries?

2018-06-14 Thread Daniel P . Berrangé
On Thu, Jun 14, 2018 at 10:55:21AM +0800, Peter Xu wrote: > On Wed, Jun 13, 2018 at 10:28:09AM +0100, Daniel P. Berrangé wrote: > > On Wed, Jun 13, 2018 at 12:02:59PM +0800, Peter Xu wrote: > > > On Tue, Jun 12, 2018 at 09:52:45AM +0100, Peter Maydell wrote: > > > > On 12 June 2018 at 07:24, Peter

Re: [Qemu-devel] Is there a way to package QEMU binaries?

2018-06-13 Thread Peter Xu
On Wed, Jun 13, 2018 at 10:28:09AM +0100, Daniel P. Berrangé wrote: > On Wed, Jun 13, 2018 at 12:02:59PM +0800, Peter Xu wrote: > > On Tue, Jun 12, 2018 at 09:52:45AM +0100, Peter Maydell wrote: > > > On 12 June 2018 at 07:24, Peter Xu wrote: > > > > For example, I wanted to compile QEMU once and

Re: [Qemu-devel] Is there a way to package QEMU binaries?

2018-06-13 Thread Daniel P . Berrangé
On Wed, Jun 13, 2018 at 12:02:59PM +0800, Peter Xu wrote: > On Tue, Jun 12, 2018 at 09:52:45AM +0100, Peter Maydell wrote: > > On 12 June 2018 at 07:24, Peter Xu wrote: > > > For example, I wanted to compile QEMU once and install it on multiple > > > systems. What would be the suggested way to do

Re: [Qemu-devel] Is there a way to package QEMU binaries?

2018-06-12 Thread Peter Xu
On Tue, Jun 12, 2018 at 09:52:45AM +0100, Peter Maydell wrote: > On 12 June 2018 at 07:24, Peter Xu wrote: > > For example, I wanted to compile QEMU once and install it on multiple > > systems. What would be the suggested way to do so? > > For this, I would recommend using whatever the packaging

Re: [Qemu-devel] Is there a way to package QEMU binaries?

2018-06-12 Thread Peter Xu
On Tue, Jun 12, 2018 at 12:53:36AM -0700, Liviu Ionescu wrote: > On 12 June 2018 at 10:44:09, Peter Xu (pet...@redhat.com) wrote: > > > But it'll still be good if we can have a single package to play around > > with. If there is no known way to do, we can try to figure a way out. > > you can take

Re: [Qemu-devel] Is there a way to package QEMU binaries?

2018-06-12 Thread Peter Xu
On Tue, Jun 12, 2018 at 01:29:32PM +0200, Laszlo Ersek wrote: > Hi Fam, > > On 06/12/18 08:41, Fam Zheng wrote: > > On Tue, 06/12 14:24, Peter Xu wrote: > >> Hi, > >> > >> For example, I wanted to compile QEMU once and install it on multiple > >> systems. What would be the suggested way to do so?

Re: [Qemu-devel] Is there a way to package QEMU binaries?

2018-06-12 Thread Laszlo Ersek
On 06/12/18 09:01, Fam Zheng wrote: > scp -r /tmp/qemu-install $remote "tar -c | ssh $remote tar -x" is generally much more performant than scp (because of asynchronity), plus "tar" can transfer a bunch of extended file attributes too, if parametrized correctly (my preference is "--acls --sel

Re: [Qemu-devel] Is there a way to package QEMU binaries?

2018-06-12 Thread Laszlo Ersek
Hi Fam, On 06/12/18 08:41, Fam Zheng wrote: > On Tue, 06/12 14:24, Peter Xu wrote: >> Hi, >> >> For example, I wanted to compile QEMU once and install it on multiple >> systems. What would be the suggested way to do so? >> >> Is there something similar to "make bin-rpmpkg" for Linux? >> >> Thanks

Re: [Qemu-devel] Is there a way to package QEMU binaries?

2018-06-12 Thread Peter Maydell
On 12 June 2018 at 07:24, Peter Xu wrote: > For example, I wanted to compile QEMU once and install it on multiple > systems. What would be the suggested way to do so? For this, I would recommend using whatever the packaging format for those systems is. Eg for Debian use the existing Debian QEMU

Re: [Qemu-devel] Is there a way to package QEMU binaries?

2018-06-12 Thread Liviu Ionescu
On 12 June 2018 at 10:44:09, Peter Xu (pet...@redhat.com) wrote: > But it'll still be good if we can have a single package to play around > with. If there is no known way to do, we can try to figure a way out. you can take a look at: https://github.com/gnu-mcu-eclipse/qemu-build the scripts can

Re: [Qemu-devel] Is there a way to package QEMU binaries?

2018-06-12 Thread Peter Xu
On Tue, Jun 12, 2018 at 03:01:52PM +0800, Fam Zheng wrote: > On Tue, 06/12 14:52, Peter Xu wrote: > > On Tue, Jun 12, 2018 at 02:41:19PM +0800, Fam Zheng wrote: > > > On Tue, 06/12 14:24, Peter Xu wrote: > > > > Hi, > > > > > > > > For example, I wanted to compile QEMU once and install it on multi

Re: [Qemu-devel] Is there a way to package QEMU binaries?

2018-06-12 Thread Fam Zheng
On Tue, 06/12 14:52, Peter Xu wrote: > On Tue, Jun 12, 2018 at 02:41:19PM +0800, Fam Zheng wrote: > > On Tue, 06/12 14:24, Peter Xu wrote: > > > Hi, > > > > > > For example, I wanted to compile QEMU once and install it on multiple > > > systems. What would be the suggested way to do so? > > > >

Re: [Qemu-devel] Is there a way to package QEMU binaries?

2018-06-12 Thread Peter Xu
On Tue, Jun 12, 2018 at 02:41:19PM +0800, Fam Zheng wrote: > On Tue, 06/12 14:24, Peter Xu wrote: > > Hi, > > > > For example, I wanted to compile QEMU once and install it on multiple > > systems. What would be the suggested way to do so? > > > > Is there something similar to "make bin-rpmpkg" f

Re: [Qemu-devel] Is there a way to package QEMU binaries?

2018-06-11 Thread Fam Zheng
On Tue, 06/12 14:24, Peter Xu wrote: > Hi, > > For example, I wanted to compile QEMU once and install it on multiple > systems. What would be the suggested way to do so? > > Is there something similar to "make bin-rpmpkg" for Linux? > > Thanks in advance, No. The big question is the libraries.

[Qemu-devel] Is there a way to package QEMU binaries?

2018-06-11 Thread Peter Xu
Hi, For example, I wanted to compile QEMU once and install it on multiple systems. What would be the suggested way to do so? Is there something similar to "make bin-rpmpkg" for Linux? Thanks in advance, -- Peter Xu