Skip to content

Enable multimedia applications on x86_64 guests

Timothy Pearson qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest7 patches 9 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7Add initial x86_64 signal handlerslinux-user/signal.c+9 -01 reply
1/7Add initial x86_64 signal handlerslinux-user/signal.c+299 -30 replies
2/7QEMU does not currently support host pages that are larger than guest pages, likely due to glibc using fixed mmap requests.linux-user/syscall.c+0 -04 replies
2/7QEMU does not currently support host pages that are larger than guest pages, likely due to glibc using fixed mmap requests.linux-user/syscall.c+21 -61 reply
3/7Pass select() arguments directly to do_select() on x86 platformslinux-user/syscall.c+0 -00 replies
3/7Pass select() arguments directly to do_select() on x86 platformslinux-user/syscall.c+2 -11 reply
4/7This patch adds initial user-virtualization support for the DRM (type 'd') IOCTLs in linux. With it and a corresponding architecture chroot (say aarch64), I am able to successfully run a few 2D and 3D applications with native graphics acceleration. Some notes/caveats are:linux-user/ioctls.h linux-user/syscall.c linux-user/syscall_defs.h +1 more+660 -01 reply
4/7This patch adds initial user-virtualization support for the DRM (type 'd') IOCTLs in linux. With it and a corresponding architecture chroot (say aarch64), I am able to successfully run a few 2D and 3D applications with native graphics acceleration. Some notes/caveats are:linux-user/ioctls.h linux-user/syscall.c linux-user/syscall_defs.h +1 more+929 -00 replies
5/7TIOCGPTN and related terminal control ioctls were not converted to the guest ioctl format on x86_64 targets. Convert these ioctls to enable terminal functionality on x86_64 guests.linux-user/x86_64/termbits.h+0 -50 replies
5/7TIOCGPTN and related terminal control ioctls were not converted to the guest ioctl format on x86_64 targets. Convert these ioctls to enable terminal functionality on x86_64 guests.linux-user/x86_64/termbits.h+6 -61 reply
6/7Add radeon DRM interface ioctlslinux-user/ioctls.h linux-user/syscall.c linux-user/syscall_defs.h +1 more+212 -10 replies
6/7Add radeon DRM interface ioctlslinux-user/ioctls.h linux-user/syscall.c linux-user/syscall_defs.h +1 more+311 -30 replies
7/7Add ALSA ioctlslinux-user/ioctls.h linux-user/syscall.c linux-user/syscall_defs.h +1 more+106 -00 replies
7/7Add ALSA ioctlslinux-user/ioctls.h linux-user/syscall.c linux-user/syscall_defs.h +1 more+419 -00 replies

Reviews trailers per patch

2 of 14 patches have a Reviewed-by or Acked-by.

PatchPeter Maydell
1/7
1/7
2/7
2/7
3/7
3/7
4/7
4/7
5/7R-b
5/7R-b
6/7
6/7
7/7
7/7

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [Qemu-devel] [PATCH 0/7] Enable multimedia applications on x86_64 guests

With increasing interest in non-x86 architectures (e.g. ARM64, POWER8), there is a growing desire to execute legacy x86 applications that cannot be recompiled on these new architectures.

This series enables 3D multimedia applications (e.g. games) to function correctly on an emulated x86_64 host in user mode. It resolves several issues noted within the x86_64 user mode, and adds 3D ioctls for Intel and AMD graphics. Furthermore, it adds ALSA sound ioctls.

NOTE: The initial DRM ioctl patch was taken from the qemu mailing list:
https://lists.nongnu.org/archive/html/qemu-devel/2014-09/msg02405.html

Aaditya Chandrasekhar Azad (1):
This patch adds initial user-virtualization support for the DRM (type
'd') IOCTLs in linux. With it and a corresponding architecture
chroot (say aarch64), I am able to successfully run a few 2D and
3D applications with native graphics acceleration. Some
notes/caveats are:

Timothy Pearson (6):
Add initial x86_64 signal handlers
QEMU does not currently support host pages that are larger than
guest pages, likely due to glibc using fixed mmap requests.
Pass select() arguments directly to do_select() on x86 platforms
TIOCGPTN and related terminal control ioctls were not converted to
the guest ioctl format on x86_64 targets. Convert these ioctls
to enable terminal functionality on x86_64 guests.
Add radeon DRM interface ioctls
Add ALSA ioctls

 linux-user/ioctls.h          |  252 ++++++++++
 linux-user/signal.c          |  302 ++++++++++-
 linux-user/syscall.c         |   48 +-
 linux-user/syscall_defs.h    |  255 ++++++++++
 linux-user/syscall_types.h   | 1131
++++++++++++++++++++++++++++++++++++++++++
 linux-user/x86_64/termbits.h |   12 +-
 6 files changed, 1984 insertions(+), 16 deletions(-)
Signature · 1 line
2.1.4