qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [GSoC/Outreachy QEMU proposal] Extend support for ioctls in QEMU linux-user mode
@ 2020-01-23 13:34 Aleksandar Markovic
  2020-01-27  9:30 ` Stefan Hajnoczi
                   ` (2 more replies)
  0 siblings, 3 replies; 18+ messages in thread
From: Aleksandar Markovic @ 2020-01-23 13:34 UTC (permalink / raw)
  To: Laurent Vivier, Stefan Hajnoczi, QEMU Developers

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

*Extend support for ioctls in QEMU linux-user mode*



*PLANNED ACTIVITIES*

BACKGROUND

There is currently 2500+ ioctls defined in Linux kernel. QEMU linux-user
currently supports only several hundred. There is a constant need for
expanding ioctl support in QEMU. Users use Linux-user mode in variety of
setups (for example, building and testing tools and applications under
chroot environment), and, on a regular basis, efforts by multiple people
are made to fill in missing support. However, these efforts have been
usually done on a piece-by-piece basis, i a limited way covering a
partucular need. This project will take more proactive stance, and try to
improve QEMU before users start complaining.

PART I:

   a) Add strace support for outputing ioctl IDs (the second argument of
ioctl()) as strings rather than numbers - for all platform independant
ioctls.
   b) Add strace support for printing the third argument of ioctl() (be it
int, string, structure or array) - limited to selected ioctls that are
frequently used.

PART II:

   a) Amend support for existing groups of ioctls that are not completed
100% (let's say, filesystem ioctls)
   b) Add support for a selected group of ioctls that are not currently
supported (for example, dm ioctls, Bluetooth ioctls, or Radeon DRM ioctls)

PART III:

  a) Develop unit tests for selected ioctls that are already supported in
QEMU.


*DELIVERABLES*

The deliverables are in the form of source code for each part, intended to
be upstreamed, and time needed for upstreaming (addressing reviews, etc.)
process is included int this project.

The delivery of results can and should be distributed over larger period of
time 2-3 months.


Montor: open (I propose Laurent Vivier)

Student: open

[-- Attachment #2: Type: text/html, Size: 2450 bytes --]

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

end of thread, other threads:[~2020-02-05 13:45 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-01-23 13:34 [GSoC/Outreachy QEMU proposal] Extend support for ioctls in QEMU linux-user mode Aleksandar Markovic
2020-01-27  9:30 ` Stefan Hajnoczi
2020-01-27 16:30   ` Aleksandar Markovic
2020-01-28 14:28     ` Laurent Vivier
2020-01-28 17:32       ` Aleksandar Markovic
2020-01-28 17:37         ` Laurent Vivier
2020-01-28 14:32 ` Peter Maydell
2020-01-28 17:51   ` Aleksandar Markovic
2020-01-28 18:00     ` Peter Maydell
2020-01-28 20:48       ` Aleksandar Markovic
2020-02-05 11:16         ` Stefan Hajnoczi
2020-02-05 13:44           ` Laurent Vivier
2020-01-30 11:09 ` Aleksandar Markovic
2020-01-30 11:20   ` Laurent Vivier
2020-01-30 11:52     ` Peter Maydell
2020-01-31  8:37       ` Laurent Vivier
2020-02-05 10:45         ` Stefan Hajnoczi
2020-01-31 11:28   ` Stefan Hajnoczi

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).