qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] did qemu-user mode support systemd
@ 2015-03-17 10:02 fupan
  2015-03-17 13:50 ` Peter Maydell
  0 siblings, 1 reply; 4+ messages in thread
From: fupan @ 2015-03-17 10:02 UTC (permalink / raw)
  To: qemu-devel

Hi, All

Did the qemu user mode support the systemd, cause I
met the following error while start an arm lxc on  x86-64:

qemu: Unsupported syscall: 355
Failed to allocate manager object: Function not implemented


Thanks!

Fupan

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

* Re: [Qemu-devel] did qemu-user mode support systemd
  2015-03-17 10:02 [Qemu-devel] did qemu-user mode support systemd fupan
@ 2015-03-17 13:50 ` Peter Maydell
  2015-03-17 13:55   ` Daniel P. Berrange
  0 siblings, 1 reply; 4+ messages in thread
From: Peter Maydell @ 2015-03-17 13:50 UTC (permalink / raw)
  To: fupan; +Cc: QEMU Developers

On 17 March 2015 at 10:02, fupan <fupan.li@windriver.com> wrote:
> Did the qemu user mode support the systemd, cause I
> met the following error while start an arm lxc on  x86-64:
>
> qemu: Unsupported syscall: 355
> Failed to allocate manager object: Function not implemented

355 is signalfd4, which we don't currently implement.
A well designed userspace program will gracefully fall
back to some other implementation if it tries a newer
syscall but it doesn't exist.

-- PMM

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

* Re: [Qemu-devel] did qemu-user mode support systemd
  2015-03-17 13:50 ` Peter Maydell
@ 2015-03-17 13:55   ` Daniel P. Berrange
  2015-03-17 13:58     ` Peter Maydell
  0 siblings, 1 reply; 4+ messages in thread
From: Daniel P. Berrange @ 2015-03-17 13:55 UTC (permalink / raw)
  To: Peter Maydell; +Cc: fupan, QEMU Developers

On Tue, Mar 17, 2015 at 01:50:37PM +0000, Peter Maydell wrote:
> On 17 March 2015 at 10:02, fupan <fupan.li@windriver.com> wrote:
> > Did the qemu user mode support the systemd, cause I
> > met the following error while start an arm lxc on  x86-64:
> >
> > qemu: Unsupported syscall: 355
> > Failed to allocate manager object: Function not implemented
> 
> 355 is signalfd4, which we don't currently implement.
> A well designed userspace program will gracefully fall
> back to some other implementation if it tries a newer
> syscall but it doesn't exist.

systemd devs made an explicit decision to assume they have access to
the level of functionality provided in Linux >= 3.7.  So if we want
QEMU user mode to support systemd, then at some point we'll need to
implement signalfd4 support.

Regards,
Daniel
-- 
|: http://berrange.com      -o-    http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org              -o-             http://virt-manager.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org       -o-       http://live.gnome.org/gtk-vnc :|

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

* Re: [Qemu-devel] did qemu-user mode support systemd
  2015-03-17 13:55   ` Daniel P. Berrange
@ 2015-03-17 13:58     ` Peter Maydell
  0 siblings, 0 replies; 4+ messages in thread
From: Peter Maydell @ 2015-03-17 13:58 UTC (permalink / raw)
  To: Daniel P. Berrange; +Cc: fupan, QEMU Developers

On 17 March 2015 at 13:55, Daniel P. Berrange <berrange@redhat.com> wrote:
> On Tue, Mar 17, 2015 at 01:50:37PM +0000, Peter Maydell wrote:
>> 355 is signalfd4, which we don't currently implement.
>> A well designed userspace program will gracefully fall
>> back to some other implementation if it tries a newer
>> syscall but it doesn't exist.
>
> systemd devs made an explicit decision to assume they have access to
> the level of functionality provided in Linux >= 3.7.  So if we want
> QEMU user mode to support systemd, then at some point we'll need to
> implement signalfd4 support.

Patches welcome :-)

-- PMM

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

end of thread, other threads:[~2015-03-17 13:58 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-03-17 10:02 [Qemu-devel] did qemu-user mode support systemd fupan
2015-03-17 13:50 ` Peter Maydell
2015-03-17 13:55   ` Daniel P. Berrange
2015-03-17 13:58     ` Peter Maydell

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).