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

Daniel P. Berrangé berrange at redhat.com
Fri Mar 4 11:56:53 UTC 2022


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





More information about the libvir-list mailing list