public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] app-emulation/qemu-user mask
@ 2013-01-12  4:45 Doug Goldstein
  2013-01-13 19:45 ` Alexey Shvetsov
  2013-01-16 19:20 ` Luca Barbato
  0 siblings, 2 replies; 9+ messages in thread
From: Doug Goldstein @ 2013-01-12  4:45 UTC (permalink / raw
  To: gentoo-dev, gentoo-dev-announce

Just wanted to give everyone a heads up. app-emulation/qemu provides
all the functionality of app-emulation/qemu-user without all the
outstanding security bugs and issues the package has. For users using
a cross chroot, I encourage you to look at QEMU_USER_TARGETS. I
presently use an arm chroot with app-emulation/qemu. Should there
truly be a missing feature, open a bug and I'll fix it. The only item
I'm aware of that app-emulation/qemu does not have is the binfmt
initscript. But I plan on adding that to the unstable version shortly.

If there are no objections for 30 days, I'll send a treecleaner notice
in 30 days and remove it 30 days after that (60 days from now).

-- 
Doug Goldstein


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [gentoo-dev] app-emulation/qemu-user mask
  2013-01-12  4:45 [gentoo-dev] app-emulation/qemu-user mask Doug Goldstein
@ 2013-01-13 19:45 ` Alexey Shvetsov
  2013-01-14  6:38   ` Doug Goldstein
  2013-01-16 19:20 ` Luca Barbato
  1 sibling, 1 reply; 9+ messages in thread
From: Alexey Shvetsov @ 2013-01-13 19:45 UTC (permalink / raw
  To: gentoo-dev

Hi!

For cross-chroots its needed to have static qemu-$arch user translators. May 
be you can introduce user-static use flag for them? Also it will be cool to 
have init script for kvm

В письме от 11 января 2013 22:45:30 пользователь Doug Goldstein написал:
> Just wanted to give everyone a heads up. app-emulation/qemu provides
> all the functionality of app-emulation/qemu-user without all the
> outstanding security bugs and issues the package has. For users using
> a cross chroot, I encourage you to look at QEMU_USER_TARGETS. I
> presently use an arm chroot with app-emulation/qemu. Should there
> truly be a missing feature, open a bug and I'll fix it. The only item
> I'm aware of that app-emulation/qemu does not have is the binfmt
> initscript. But I plan on adding that to the unstable version shortly.
> 
> If there are no objections for 30 days, I'll send a treecleaner notice
> in 30 days and remove it 30 days after that (60 days from now).


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [gentoo-dev] app-emulation/qemu-user mask
  2013-01-13 19:45 ` Alexey Shvetsov
@ 2013-01-14  6:38   ` Doug Goldstein
  2013-01-14  7:47     ` Alexey Shvetsov
  2013-01-14  7:55     ` Brian Dolbec
  0 siblings, 2 replies; 9+ messages in thread
From: Doug Goldstein @ 2013-01-14  6:38 UTC (permalink / raw
  To: gentoo-dev

On Sun, Jan 13, 2013 at 1:45 PM, Alexey Shvetsov <alexxy@gentoo.org> wrote:
> Hi!
>
> For cross-chroots its needed to have static qemu-$arch user translators. May
> be you can introduce user-static use flag for them? Also it will be cool to
> have init script for kvm
>

USE=static is available for app-emulation/qemu. I'll get a chroot for
arm setup soon and test everything to make sure its working well.


With regards to the KVM init script, I'm uninterested in maintaining
it and it doesn't belong in the package as it is. There's a number of
submitted init scripts that are attempting to create "init scripts"
but really they're re-inventing libvirt and ganeti, but instead
poorly. Ones I know about are:

https://bugs.gentoo.org/show_bug.cgi?id=321517
https://bugs.gentoo.org/show_bug.cgi?id=406043

-- 
Doug Goldstein


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [gentoo-dev] app-emulation/qemu-user mask
  2013-01-14  6:38   ` Doug Goldstein
@ 2013-01-14  7:47     ` Alexey Shvetsov
  2013-01-14 17:01       ` Doug Goldstein
  2013-01-14  7:55     ` Brian Dolbec
  1 sibling, 1 reply; 9+ messages in thread
From: Alexey Shvetsov @ 2013-01-14  7:47 UTC (permalink / raw
  To: gentoo-dev

В письме от 14 января 2013 00:38:06 пользователь Doug Goldstein написал:
> On Sun, Jan 13, 2013 at 1:45 PM, Alexey Shvetsov <alexxy@gentoo.org> wrote:
> > Hi!
> > 
> > For cross-chroots its needed to have static qemu-$arch user translators.
> > May be you can introduce user-static use flag for them? Also it will be
> > cool to have init script for kvm
> 
> USE=static is available for app-emulation/qemu. I'll get a chroot for
> arm setup soon and test everything to make sure its working well.

It doesnt allow to build dynamik qemu-system* and static user targets 

> 
> With regards to the KVM init script, I'm uninterested in maintaining
> it and it doesn't belong in the package as it is. There's a number of
> submitted init scripts that are attempting to create "init scripts"
> but really they're re-inventing libvirt and ganeti, but instead
> poorly. Ones I know about are:
> 
> https://bugs.gentoo.org/show_bug.cgi?id=321517
> https://bugs.gentoo.org/show_bug.cgi?id=406043

Ghm.. Its some kind of overkill to install libvirt or gannety just for 1-2 vms


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [gentoo-dev] app-emulation/qemu-user mask
  2013-01-14  6:38   ` Doug Goldstein
  2013-01-14  7:47     ` Alexey Shvetsov
@ 2013-01-14  7:55     ` Brian Dolbec
  1 sibling, 0 replies; 9+ messages in thread
From: Brian Dolbec @ 2013-01-14  7:55 UTC (permalink / raw
  To: gentoo-dev

[-- Attachment #1: Type: text/plain, Size: 1455 bytes --]

On Mon, 2013-01-14 at 00:38 -0600, Doug Goldstein wrote:
> On Sun, Jan 13, 2013 at 1:45 PM, Alexey Shvetsov <alexxy@gentoo.org> wrote:
> > Hi!
> >
> > For cross-chroots its needed to have static qemu-$arch user translators. May
> > be you can introduce user-static use flag for them? Also it will be cool to
> > have init script for kvm
> >
> 
> USE=static is available for app-emulation/qemu. I'll get a chroot for
> arm setup soon and test everything to make sure its working well.
> 
> 
> With regards to the KVM init script, I'm uninterested in maintaining
> it and it doesn't belong in the package as it is. There's a number of
> submitted init scripts that are attempting to create "init scripts"
> but really they're re-inventing libvirt and ganeti, but instead
> poorly. Ones I know about are:
> 
> https://bugs.gentoo.org/show_bug.cgi?id=321517
> https://bugs.gentoo.org/show_bug.cgi?id=406043
> 


There is a kvm/qemu init script system in the qemu-init overlay
available in layman

layman -a qemu-init

emerge app-emulation/qemu-init-scripts

It can handle most kvm/qemu setups.

It is the combined work of 2 active gentoo devs "Diego Petteno" who
created the main gentoo tinderbox, and Brian Harring.

  And does not work "poorly" and in my opinion works much better, easier
than libvirt, which I never did get working before getting a copy of
Brian's init script.
-- 
Brian Dolbec <dolsen@gentoo.org>

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 490 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [gentoo-dev] app-emulation/qemu-user mask
  2013-01-14  7:47     ` Alexey Shvetsov
@ 2013-01-14 17:01       ` Doug Goldstein
  2013-01-16 19:09         ` Doug Goldstein
  0 siblings, 1 reply; 9+ messages in thread
From: Doug Goldstein @ 2013-01-14 17:01 UTC (permalink / raw
  To: gentoo-dev

On Mon, Jan 14, 2013 at 1:47 AM, Alexey Shvetsov <alexxy@gentoo.org> wrote:
> В письме от 14 января 2013 00:38:06 пользователь Doug Goldstein написал:
>> On Sun, Jan 13, 2013 at 1:45 PM, Alexey Shvetsov <alexxy@gentoo.org> wrote:
>> > Hi!
>> >
>> > For cross-chroots its needed to have static qemu-$arch user translators.
>> > May be you can introduce user-static use flag for them? Also it will be
>> > cool to have init script for kvm
>>
>> USE=static is available for app-emulation/qemu. I'll get a chroot for
>> arm setup soon and test everything to make sure its working well.
>
> It doesnt allow to build dynamik qemu-system* and static user targets

That can be fixed. File a bug.

>
>>
>> With regards to the KVM init script, I'm uninterested in maintaining
>> it and it doesn't belong in the package as it is. There's a number of
>> submitted init scripts that are attempting to create "init scripts"
>> but really they're re-inventing libvirt and ganeti, but instead
>> poorly. Ones I know about are:
>>
>> https://bugs.gentoo.org/show_bug.cgi?id=321517
>> https://bugs.gentoo.org/show_bug.cgi?id=406043
>
> Ghm.. Its some kind of overkill to install libvirt or gannety just for 1-2 vms
>



-- 
Doug Goldstein


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [gentoo-dev] app-emulation/qemu-user mask
  2013-01-14 17:01       ` Doug Goldstein
@ 2013-01-16 19:09         ` Doug Goldstein
  0 siblings, 0 replies; 9+ messages in thread
From: Doug Goldstein @ 2013-01-16 19:09 UTC (permalink / raw
  To: gentoo-dev

On Mon, Jan 14, 2013 at 11:01 AM, Doug Goldstein <cardoe@gentoo.org> wrote:
> On Mon, Jan 14, 2013 at 1:47 AM, Alexey Shvetsov <alexxy@gentoo.org> wrote:
>> В письме от 14 января 2013 00:38:06 пользователь Doug Goldstein написал:
>>> On Sun, Jan 13, 2013 at 1:45 PM, Alexey Shvetsov <alexxy@gentoo.org> wrote:
>>> > Hi!
>>> >
>>> > For cross-chroots its needed to have static qemu-$arch user translators.
>>> > May be you can introduce user-static use flag for them? Also it will be
>>> > cool to have init script for kvm
>>>
>>> USE=static is available for app-emulation/qemu. I'll get a chroot for
>>> arm setup soon and test everything to make sure its working well.
>>
>> It doesnt allow to build dynamik qemu-system* and static user targets
>
> That can be fixed. File a bug.
>

To follow this up. I've successfully installed and am using an arm
chroot on my amd64 box using app-emulation/qemu-1.2.2 not using
USE=static. But it required a little bit of effort (using ldd or
readelf to bring in the necessary libraries) so I'll introduce
USE=static-user and USE=static-softmmu, both of which will be enabled
by USE=static.


-- 
Doug Goldstein


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [gentoo-dev] app-emulation/qemu-user mask
  2013-01-12  4:45 [gentoo-dev] app-emulation/qemu-user mask Doug Goldstein
  2013-01-13 19:45 ` Alexey Shvetsov
@ 2013-01-16 19:20 ` Luca Barbato
  2013-01-20 11:31   ` Luca Barbato
  1 sibling, 1 reply; 9+ messages in thread
From: Luca Barbato @ 2013-01-16 19:20 UTC (permalink / raw
  To: gentoo-dev

On 12/01/13 05:45, Doug Goldstein wrote:
> Just wanted to give everyone a heads up. app-emulation/qemu provides
> all the functionality of app-emulation/qemu-user without all the
> outstanding security bugs and issues the package has. For users using
> a cross chroot, I encourage you to look at QEMU_USER_TARGETS. I
> presently use an arm chroot with app-emulation/qemu. Should there
> truly be a missing feature, open a bug and I'll fix it. The only item
> I'm aware of that app-emulation/qemu does not have is the binfmt
> initscript. But I plan on adding that to the unstable version shortly.
> 
> If there are no objections for 30 days, I'll send a treecleaner notice
> in 30 days and remove it 30 days after that (60 days from now).

And once I have enough time I will reinstate it... beside the fact
qemu-user does NOT have security issues...

Again please do not mix qemu system emulation with qemu userspace
wrappers. They have different needs and requirements.

lu




^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [gentoo-dev] app-emulation/qemu-user mask
  2013-01-16 19:20 ` Luca Barbato
@ 2013-01-20 11:31   ` Luca Barbato
  0 siblings, 0 replies; 9+ messages in thread
From: Luca Barbato @ 2013-01-20 11:31 UTC (permalink / raw
  To: gentoo-dev

On 16/01/13 20:20, Luca Barbato wrote:
> Again please do not mix qemu system emulation with qemu userspace
> wrappers. They have different needs and requirements.

qemu-user-1.2.2 in portage.

I'll drop the mask as said before.

We can discuss on irc or here on what's the best strategy today anytime.

lu


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2013-01-20 11:31 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-01-12  4:45 [gentoo-dev] app-emulation/qemu-user mask Doug Goldstein
2013-01-13 19:45 ` Alexey Shvetsov
2013-01-14  6:38   ` Doug Goldstein
2013-01-14  7:47     ` Alexey Shvetsov
2013-01-14 17:01       ` Doug Goldstein
2013-01-16 19:09         ` Doug Goldstein
2013-01-14  7:55     ` Brian Dolbec
2013-01-16 19:20 ` Luca Barbato
2013-01-20 11:31   ` Luca Barbato

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox