[PATCH 0/4] softmmu: move and refactor -runas, -chroot and -daemonize

Daniel P. Berrangé posted 4 patches 2 years, 1 month ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20220304115657.3177925-1-berrange@redhat.com
Test checkpatch passed
Maintainers: Paolo Bonzini <pbonzini@redhat.com>, Stefan Weil <sw@weilnetz.de>, Gerd Hoffmann <kraxel@redhat.com>
There is a newer version of this series
docs/about/deprecated.rst       |  12 --
docs/about/removed-features.rst |  11 ++
include/qemu/osdep.h            |   3 -
include/sysemu/os-posix.h       |   4 +-
include/sysemu/os-win32.h       |   1 -
os-posix.c                      | 222 ++++++++++----------------------
os-win32.c                      |   9 --
qemu-options.hx                 |  10 --
softmmu/vl.c                    |  76 ++++++++++-
ui/vnc.c                        |   7 -
util/osdep.c                    |  28 ----
11 files changed, 154 insertions(+), 229 deletions(-)
[PATCH 0/4] softmmu: move and refactor -runas, -chroot and -daemonize
Posted by Daniel P. Berrangé 2 years, 1 month ago
This small series was motivated by my thoughts on the proposals in

  https://lists.gnu.org/archive/html/qemu-devel/2022-03/msg01135.html

It demostrates the approach I mention there, and has the further
benefit of untangling and isolating the implementation of UID
changing, chrooting and daemonized, from the parsing of the
corresponding command line options.

Daniel P. Berrangé (4):
  softmmu: remove deprecated --enable-fips option
  os-posix: refactor code handling the -runas argument
  os-posix: refactor code handling the -chroot argument
  softmmu: move parsing of -runas, -chroot and -daemonize code

 docs/about/deprecated.rst       |  12 --
 docs/about/removed-features.rst |  11 ++
 include/qemu/osdep.h            |   3 -
 include/sysemu/os-posix.h       |   4 +-
 include/sysemu/os-win32.h       |   1 -
 os-posix.c                      | 222 ++++++++++----------------------
 os-win32.c                      |   9 --
 qemu-options.hx                 |  10 --
 softmmu/vl.c                    |  76 ++++++++++-
 ui/vnc.c                        |   7 -
 util/osdep.c                    |  28 ----
 11 files changed, 154 insertions(+), 229 deletions(-)

-- 
2.34.1