public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
* [kvm-unit-tests PATCH 0/4] arm/powerpc: make argv[0] the program name
@ 2016-04-21 13:32 Andrew Jones
  2016-04-21 13:32 ` [kvm-unit-tests PATCH 1/4] arm/arm64: reserve argv[0] for prognam Andrew Jones
                   ` (3 more replies)
  0 siblings, 4 replies; 8+ messages in thread
From: Andrew Jones @ 2016-04-21 13:32 UTC (permalink / raw)
  To: kvm; +Cc: thuth, lvivier, rkrcmar

It just came to my attention that x86 has the normal argv[0], the
program name, thanks to seabios. That raised the priority of fixing
one of my pet peeves - arm and powerpc starting arguments
at argv[0], as that just ain't right. This series fixes that. A few
temporary hacks are used to avoid one big patch fixing both arm
and powerpc at the same time. The hacks are gone by the end of the
series.

Andrew Jones (4):
  arm/arm64: reserve argv[0] for prognam
  powerpc/ppc64: reserve argv[0] for prognam
  arm/arm64: populate argv[0] with prognam
  powerpc/ppc64: populate argv[0] with prognam

 arm/Makefile.common     |  6 +++++-
 arm/selftest.c          | 14 +++++++-------
 arm/spinlock-test.c     |  2 +-
 lib/argv.c              | 13 +++++++++----
 lib/auxinfo.h           |  7 +++++++
 powerpc/Makefile.common |  6 +++++-
 powerpc/emulator.c      |  2 +-
 powerpc/rtas.c          | 12 ++++++------
 powerpc/selftest.c      |  8 ++++----
 powerpc/spapr_hcall.c   |  6 +++---
 scripts/auxinfo.mak     |  7 +++++++
 11 files changed, 55 insertions(+), 28 deletions(-)
 create mode 100644 lib/auxinfo.h
 create mode 100755 scripts/auxinfo.mak

-- 
2.4.11


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

end of thread, other threads:[~2016-04-22  8:03 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-04-21 13:32 [kvm-unit-tests PATCH 0/4] arm/powerpc: make argv[0] the program name Andrew Jones
2016-04-21 13:32 ` [kvm-unit-tests PATCH 1/4] arm/arm64: reserve argv[0] for prognam Andrew Jones
2016-04-21 18:18   ` Thomas Huth
2016-04-22  8:03     ` Andrew Jones
2016-04-21 13:32 ` [kvm-unit-tests PATCH 2/4] powerpc/ppc64: " Andrew Jones
2016-04-21 13:32 ` [kvm-unit-tests PATCH 3/4] arm/arm64: populate argv[0] with prognam Andrew Jones
2016-04-21 15:58   ` Andrew Jones
2016-04-21 13:32 ` [kvm-unit-tests PATCH 4/4] powerpc/ppc64: " Andrew Jones

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox