Skip to contentSkip to conversation

did qemu-user mode support systemd

Qemu-devel fupan 3 participants 4 messages Mar 17, 2015

lore
Share & tools
lore

fupan

author
#0 lore raw

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

#1 lore raw
Quoted 5 lines · fupan

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

#2 lore raw
Quoted 11 lines · Peter Maydell
Quoted 5 lines · fupan

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

Signature · 4 lines
|: 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 :|
#3 lore raw
Quoted 10 lines · Daniel P. Berrange
Quoted 4 lines · Peter Maydell

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