Re: RFC: static builds for user emulators in Fedora QEMU RPMs

2017-01-14 Thread Neal Gompa
On Sat, Jan 14, 2017 at 11:13 AM, Jonathon Reinhart wrote: > Daniel, thanks for presenting this so clearly; I think you're spot-on. Has > there been any progress on this? qemu-user-static has been shipping in Fedora qemu builds since qemu 2.6.0-5 in Fedora 24. :) -- 真実はいつも一つ!/ Always, there'

Re: RFC: static builds for user emulators in Fedora QEMU RPMs

2017-01-14 Thread Jonathon Reinhart
Daniel, thanks for presenting this so clearly; I think you're spot-on. Has there been any progress on this? ___ devel mailing list -- devel@lists.fedoraproject.org To unsubscribe send an email to devel-le...@lists.fedoraproject.org

Re: RFC: static builds for user emulators in Fedora QEMU RPMs

2016-07-20 Thread Rob Clark
On Wed, Jun 29, 2016 at 6:03 AM, Daniel P. Berrange wrote: > For those who aren't familiar, QEMU actually provides two completely > different sets of emulators > > - system emulators - they emulate a full virtual machine and thus run >a full guest OS. > - user emulators - they emulate the Li

Re: RFC: static builds for user emulators in Fedora QEMU RPMs

2016-07-07 Thread Daniel P. Berrange
On Thu, Jul 07, 2016 at 09:48:24AM -0400, Jeff Moyer wrote: > "Daniel P. Berrange" writes: > > > More typical though is that you have a directory containing an fullish > > install tree of a non-native architecture and you just want to chroot > > into that. When doing such a chroot, the qemu-$ARCH

Re: RFC: static builds for user emulators in Fedora QEMU RPMs

2016-07-07 Thread Jeff Moyer
"Daniel P. Berrange" writes: > More typical though is that you have a directory containing an fullish > install tree of a non-native architecture and you just want to chroot > into that. When doing such a chroot, the qemu-$ARCH emulator must be > present inside the chroot too. ie the x86_64 build

Re: RFC: static builds for user emulators in Fedora QEMU RPMs

2016-06-30 Thread Daniel P. Berrange
On Thu, Jun 30, 2016 at 10:21:18AM +0200, Michal Schmidt wrote: > On 06/29/2016 12:03 PM, Daniel P. Berrange wrote: > > The change to introduce a qemu-binfmt package has small upgrade > > implications since anyone with qemu-user installed today, will loose > > the binary format rules unless they ma

Re: RFC: static builds for user emulators in Fedora QEMU RPMs

2016-06-30 Thread Michal Schmidt
On 06/29/2016 12:03 PM, Daniel P. Berrange wrote: > The change to introduce a qemu-binfmt package has small upgrade > implications since anyone with qemu-user installed today, will loose > the binary format rules unless they manually install qemu-binfmt. Not if you add "Obsoletes: qemu-user < V-R"

Re: RFC: static builds for user emulators in Fedora QEMU RPMs

2016-06-29 Thread Daniel P. Berrange
On Wed, Jun 29, 2016 at 04:54:42PM +0200, Florian Weimer wrote: > On 06/29/2016 12:34 PM, Daniel P. Berrange wrote: > > On Wed, Jun 29, 2016 at 12:15:02PM +0200, Florian Weimer wrote: > > > On 06/29/2016 12:03 PM, Daniel P. Berrange wrote: > > > > Debian handles this by having several packages [1]

Re: RFC: static builds for user emulators in Fedora QEMU RPMs

2016-06-29 Thread Daniel P. Berrange
On Wed, Jun 29, 2016 at 06:45:36AM -0700, Neal Gompa wrote: > On Wed, Jun 29, 2016 at 3:03 AM, Daniel P. Berrange > wrote: > > For those who aren't familiar, QEMU actually provides two completely > > different sets of emulators > > > > - system emulators - they emulate a full virtual machine and

Re: RFC: static builds for user emulators in Fedora QEMU RPMs

2016-06-29 Thread Florian Weimer
On 06/29/2016 12:34 PM, Daniel P. Berrange wrote: On Wed, Jun 29, 2016 at 12:15:02PM +0200, Florian Weimer wrote: On 06/29/2016 12:03 PM, Daniel P. Berrange wrote: Debian handles this by having several packages [1] - qemu-user - the dynamic linked qemu user binaries - qemu-binfmt - binfmt ru

Re: RFC: static builds for user emulators in Fedora QEMU RPMs

2016-06-29 Thread Paolo Bonzini
On 29/06/2016 16:27, Simo Sorce wrote: >> > symlink: /usr/lib/qemu-user-root -> / >> > dir: /usr/lib/qemu-user-host-lib >> > symlink: /usr/lib/qemu-user-host-lib/libc.so -> >> > /usr/lib/qemu-user-root/lib/libc.so >> > >> > And build qemu-$ARCH with rpath to /usr/lib/qemu-user-root/lib.

Re: RFC: static builds for user emulators in Fedora QEMU RPMs

2016-06-29 Thread Simo Sorce
On Wed, 2016-06-29 at 15:02 +0100, Daniel P. Berrange wrote: > On Wed, Jun 29, 2016 at 09:39:11AM -0400, Simo Sorce wrote: > > On Wed, 2016-06-29 at 11:34 +0100, Daniel P. Berrange wrote: > > > On Wed, Jun 29, 2016 at 12:15:02PM +0200, Florian Weimer wrote: > > > > On 06/29/2016 12:03 PM, Daniel P.

Re: RFC: static builds for user emulators in Fedora QEMU RPMs

2016-06-29 Thread Daniel P. Berrange
On Wed, Jun 29, 2016 at 09:39:11AM -0400, Simo Sorce wrote: > On Wed, 2016-06-29 at 11:34 +0100, Daniel P. Berrange wrote: > > On Wed, Jun 29, 2016 at 12:15:02PM +0200, Florian Weimer wrote: > > > On 06/29/2016 12:03 PM, Daniel P. Berrange wrote: > > > > Debian handles this by having several packag

Re: RFC: static builds for user emulators in Fedora QEMU RPMs

2016-06-29 Thread Neal Gompa
On Wed, Jun 29, 2016 at 3:03 AM, Daniel P. Berrange wrote: > For those who aren't familiar, QEMU actually provides two completely > different sets of emulators > > - system emulators - they emulate a full virtual machine and thus run >a full guest OS. > - user emulators - they emulate the Li

Re: RFC: static builds for user emulators in Fedora QEMU RPMs

2016-06-29 Thread Simo Sorce
On Wed, 2016-06-29 at 11:34 +0100, Daniel P. Berrange wrote: > On Wed, Jun 29, 2016 at 12:15:02PM +0200, Florian Weimer wrote: > > On 06/29/2016 12:03 PM, Daniel P. Berrange wrote: > > > Debian handles this by having several packages [1] > > > > > > - qemu-user - the dynamic linked qemu user bina

Re: RFC: static builds for user emulators in Fedora QEMU RPMs

2016-06-29 Thread Daniel P. Berrange
On Wed, Jun 29, 2016 at 12:15:02PM +0200, Florian Weimer wrote: > On 06/29/2016 12:03 PM, Daniel P. Berrange wrote: > > Debian handles this by having several packages [1] > > > > - qemu-user - the dynamic linked qemu user binaries > > - qemu-binfmt - binfmt rules registering the dynamic linked b

Re: RFC: static builds for user emulators in Fedora QEMU RPMs

2016-06-29 Thread Florian Weimer
On 06/29/2016 12:03 PM, Daniel P. Berrange wrote: Debian handles this by having several packages [1] - qemu-user - the dynamic linked qemu user binaries - qemu-binfmt - binfmt rules registering the dynamic linked binaries - qemu-user-static - the static linked qemu user binaries *and* binfmt

RFC: static builds for user emulators in Fedora QEMU RPMs

2016-06-29 Thread Daniel P. Berrange
For those who aren't familiar, QEMU actually provides two completely different sets of emulators - system emulators - they emulate a full virtual machine and thus run a full guest OS. - user emulators - they emulate the Linux userspace ABI letting you run non-native arch executables direct