History log of /openbmc/qemu/bsd-user/bsdload.c (Results 1 – 25 of 27)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: v9.2.0, v9.1.2, v9.1.1, v9.1.0, v8.0.0, v7.2.0, v7.0.0, v6.2.0
# 99c44988 11-Sep-2021 Peter Maydell <peter.maydell@linaro.org>

Merge remote-tracking branch 'remotes/bsdimp/tags/pull-bsd-user-20210910' into staging

This series of patches gets me to the point that I can run "Hello World" on i386
and x86_64. This is for static

Merge remote-tracking branch 'remotes/bsdimp/tags/pull-bsd-user-20210910' into staging

This series of patches gets me to the point that I can run "Hello World" on i386
and x86_64. This is for static binaries only, that are relatively small, but
it's better than the 100% instant mmap failre that is the current state of all
things bsd-user in upstream qemu. Future patch sets will refine this, add
the missing system calls, fix bugs preventing more sophisticated programms
from running and add a bunch of new architecture support.

There's three large themes in these patches, though the changes that
represent them are interrelated making it hard to separate out further.
1. Reorganization to support multiple OS and architectures (though I've only
tested FreeBSD, other BSDs might not even compile yet).
2. Diff reduction with the bsd-user fork for several files. These diffs include
changes that borrowed from linux-user as well as changes to make things work
on FreeBSD. The records keeping when this was done, however, was poor at
best, so many of the specific borrowings are going unacknowledged here, apart
from this general ack. These diffs also include some minor code shuffling.
Some of the changes are done specifically to make it easier to rebase
the bsd-user fork's changes when these land in the tree (a number of changes
have been pushed there to make this more possible).
3. Filling in the missing pieces to make things work. There's many changes to
elfload to make it load things in the right places, to find the interpreter
better, etc. There's changes to mmap.c to make the mappings work better and
there's changes to main.c that were inspired, at least, by now-ancient changes
to linux-user's main.c.

I ran checkpatch.pl on this, and there's 350-odd errors it identifies (the vast
majoirty come from BSD's fetish for tabs), so there will need to be a V2 to fix
this at the very least. In addition, the change set is big (about +~4.5k/-~2.5k
lines), so I anticipate some iteration as well just based on its sheer
size. I've tried to keep each set small to make it easy to review in isolation,
but I've also allowed some interrelated ones to get a little bigger than I'd
normally like. I've not done the customary documentation of the expected
checkpatch.pl output because it is large, and because I wanted to get review
of the other parts rolling to get this project unstuck. Future versions of the
patch will document the expected output.

In addition, I noticed a number of places where I could modernize to make the
code match things like linux-user better. I've resisted the urge to do these at
this time, since it would complicate merging the other ~30k lines of diff that
remains after this batch. Future batches should generally be smaller once this
one has landed since they are, by and large, either a bunch of new files to
support armv7, aarch64, riscv64, mips, mipsel, mips64, ppc, ppc64 and ppc64le,
or are adding system calls, which can be done individually or small groups. I've
removed sparc and sparc64 support as they've been removed from FreeBSD and
have been near totally busted for years.

Stacey Son did the bulk of this work originally, but since I had to move things
around so much and/or retool that work in non-trivial ways, I've kept myself as
author, and added his signed-off-by line. I'm unsure of the qemu standard
practice for this, but am happy to learn if this is too far outside its current
mainstream. For a while Sean Bruno did the merges from upstream, and he's
credited using his signed-off-by in appropriate places, though for this patch
set there's only a few. I've tried to ensure that others who have work in
individual patches that I've aggregated together also are reflected in their
signed-off-by. Given the chaotic stat of the upstream repo for its early
history, this may be the best that can be reconstructed at this late date. Most
of these files are 'foundational' so have existed from the earliest days when
record keeping wasn't quite what I'd wish for in hindsight. There was only
really one change that I could easily cherry-pick (Colin's), so I did that.

# gpg: Signature made Fri 10 Sep 2021 21:24:08 BST
# gpg: using RSA key 2035F894B00AA3CF7CCDE1B76C1CD1287DB01100
# gpg: Good signature from "Warner Losh <wlosh@netflix.com>" [unknown]
# gpg: aka "Warner Losh <imp@bsdimp.com>" [unknown]
# gpg: aka "Warner Losh <imp@freebsd.org>" [unknown]
# gpg: aka "Warner Losh <imp@village.org>" [unknown]
# gpg: aka "Warner Losh <wlosh@bsdimp.com>" [unknown]
# gpg: WARNING: This key is not certified with a trusted signature!
# gpg: There is no indication that the signature belongs to the owner.
# Primary key fingerprint: 2035 F894 B00A A3CF 7CCD E1B7 6C1C D128 7DB0 1100

* remotes/bsdimp/tags/pull-bsd-user-20210910: (42 commits)
bsd-user: Update mapping to handle reserved and starting conditions
bsd-user: Add '-0 argv0' option to bsd-user/main.c
bsd-user: Implement interlock for atomic operations
bsd-user: move gemu_log to later in the file
bsd-user: Refactor load_elf_sections and is_target_elf_binary
bsd-user: elfload.c style catch up patch
bsd-user: add stubbed out core dump support
bsd-user: Add target_os_user.h to capture the user/kernel structures
bsd-user: Add target_arch_reg to describe a target's register set
bsd-user: update debugging in mmap.c
bsd-user: Rewrite target system call definintion glue
bsd-user: Remove dead #ifdefs from elfload.c
bsd-user: elf cleanup
bsd-user: Add architecture specific signal tramp code
bsd-user: Move stack initializtion into a per-os file.
bsd-user: Implement --seed and initialize random state
bsd-user: *BSD specific siginfo defintions
bsd-user: Add system independent stack, data and text limiting
bsd-user: Create target specific vmparam.h
bsd-user: define max args in terms of pages
...

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>

show more ...


Revision tags: v6.1.0
# d8fcdad2 30-Apr-2021 Warner Losh <imp@bsdimp.com>

bsd-user: TARGET_NGROUPS unused in this file, remove

Signed-off-by: Warner Losh <imp@bsdimp.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>


# ffa03665 30-Apr-2021 Warner Losh <imp@bsdimp.com>

bsd-user: remove a.out support

Remove still-born a.out support. The BSDs switched from a.out to ELF 20+ years
ago. It's out of scope for bsd-user, and what little support there was would
simply wind

bsd-user: remove a.out support

Remove still-born a.out support. The BSDs switched from a.out to ELF 20+ years
ago. It's out of scope for bsd-user, and what little support there was would
simply wind up at a not-implemented message. Simplify the whole mess by removing
it entirely. Should future support be required, it would be better to start from
scratch.

Signed-off-by: Warner Losh <imp@bsdimp.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>

show more ...


# 1b50ff64 29-Apr-2021 Warner Losh <imp@bsdimp.com>

bsd-user: implement path searching

Use the PATH to find the executable given a bare argument. We need to do
this so we can implement mixing native and emulated binaries (e.g.,
execing a x86 native b

bsd-user: implement path searching

Use the PATH to find the executable given a bare argument. We need to do
this so we can implement mixing native and emulated binaries (e.g.,
execing a x86 native binary from an emulated arm binary to optimize
parts of the build). By finding the binary, we will know how to exec it.

Signed-off-by: Stacey Son <sson@FreeBSD.org>
Signed-off-by: Warner Losh <imp@bsdimp.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>

show more ...


# 223005f0 29-Apr-2021 Warner Losh <imp@bsdimp.com>

bsd-user: Fix calculation of size to allocate

It was incorrect to subtract off the size of an unsigned int here. In
bsd-user fork, this change was made when moving the arch specific items
to specif

bsd-user: Fix calculation of size to allocate

It was incorrect to subtract off the size of an unsigned int here. In
bsd-user fork, this change was made when moving the arch specific items
to specific files. The size in BSD that's available for the arguments
does not need a return address subtracted from it.

Signed-off-by: Warner Losh <imp@bsdimp.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>

show more ...


# d37853f9 29-Apr-2021 Warner Losh <imp@bsdimp.com>

bsd-user: pass the bsd_param into loader_exec

Pass the bsd_param into loader_exec, and adjust. We use it to track the
inital stack allocation and to set stack, open files, and other state
shared bet

bsd-user: pass the bsd_param into loader_exec

Pass the bsd_param into loader_exec, and adjust. We use it to track the
inital stack allocation and to set stack, open files, and other state
shared between bsdload.c and elfload.c

Signed-off-by: Warner Losh <imp@bsdimp.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>

show more ...


# a8998784 29-Apr-2021 Warner Losh <imp@bsdimp.com>

bsd-user: style nits: bsdload.c whitespace to qemu standard

Signed-off-by: Warner Losh <imp@bsdimp.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>


# b211b368 29-Apr-2021 Warner Losh <imp@bsdimp.com>

bsd-user: add license to bsdload.c

Pull in the license statement at the top of the bsdload.c file
from the bsd-user fork version of this file. No functional changes.

Signed-off-by: Warner Losh <imp

bsd-user: add license to bsdload.c

Pull in the license statement at the top of the bsdload.c file
from the bsd-user fork version of this file. No functional changes.

Signed-off-by: Warner Losh <imp@bsdimp.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>

show more ...


# a1362f39 20-May-2021 Peter Maydell <peter.maydell@linaro.org>

Merge remote-tracking branch 'remotes/bsdimp/tags/pull-bsd-user-20210511' into staging

pull-bsd-user-20210511 is the next round of cleanups to bsd-user in merging the
bsd-user fork into qemu. It con

Merge remote-tracking branch 'remotes/bsdimp/tags/pull-bsd-user-20210511' into staging

pull-bsd-user-20210511 is the next round of cleanups to bsd-user in merging the
bsd-user fork into qemu. It contains a number of style commits, as well as 3
commits that start to change things: Some unused files are deleted, building the
sparc and sparc64 targets are removed, and a structure is renamed.

The next set of pull requests will start to execute the following plan:
1. Move existing code around to have a structure similar to the bsd-user fork.
2. Incrementally merge groups of system calls, focused on making x86 work.
3. Once the groups of system calls are all merged, additional platforms will
be added back.
4. Concurrently, as changes are requested as part of the merge happen, those
changes will be merged into the fork. An experimental merge to tip of master
is under test and is what will be updated.
5. Eventually, there will be no diference, and the bsd-user fork will only
be a staging area for cutting-edge features prior to upstreaming into
qemu mainline.

The bsd-user code in qemu has a lot of style issues. This cleans up a number in
the files touched. However, the checkpatch.pl detects some incremental issues in
the commits. The following are expected, but are corrected in later hashes in
this branch. MAINTAINERS does not need to be updated, since all the files added
or deleted are covered under existing regexp in MAINTAINERS.

Checking all commits since f9a576a818044133f8564e0d243ebd97df0b3280...
d60c3b932e2fa06aba5d7aa1c451b5d287095dc8:101: ERROR: consider using qemu_strtol in preference to strtol
d60c3b932e2fa06aba5d7aa1c451b5d287095dc8:142: ERROR: braces {} are necessary for all arms of this statement
d60c3b932e2fa06aba5d7aa1c451b5d287095dc8:145: ERROR: braces {} are necessary for all arms of this statement
total: 3 errors, 0 warnings, 119 lines checked
b4bebeee1dee8d333bfa105a6c28fec5eb34b147:148: WARNING: line over 80 characters
b4bebeee1dee8d333bfa105a6c28fec5eb34b147:330: ERROR: braces {} are necessary for all arms of this statement
b4bebeee1dee8d333bfa105a6c28fec5eb34b147:340: ERROR: braces {} are necessary for all arms of this statement
b4bebeee1dee8d333bfa105a6c28fec5eb34b147:381: ERROR: space prohibited between function name and open parenthesis '('
b4bebeee1dee8d333bfa105a6c28fec5eb34b147:390: ERROR: spaces required around that '<' (ctx:VxV)
b4bebeee1dee8d333bfa105a6c28fec5eb34b147:408: WARNING: Block comments use a leading /* on a separate line
b4bebeee1dee8d333bfa105a6c28fec5eb34b147:409: WARNING: Block comments use * on subsequent lines
b4bebeee1dee8d333bfa105a6c28fec5eb34b147:409: WARNING: Block comments use a trailing */ on a separate line
b4bebeee1dee8d333bfa105a6c28fec5eb34b147:441: WARNING: line over 80 characters
b4bebeee1dee8d333bfa105a6c28fec5eb34b147:445: WARNING: line over 80 characters
b4bebeee1dee8d333bfa105a6c28fec5eb34b147:502: ERROR: line over 90 characters
b4bebeee1dee8d333bfa105a6c28fec5eb34b147:551: ERROR: space required after that ',' (ctx:VxV)
b4bebeee1dee8d333bfa105a6c28fec5eb34b147:552: ERROR: space required after that ',' (ctx:VxV)
b4bebeee1dee8d333bfa105a6c28fec5eb34b147:587: ERROR: space required after that ';' (ctx:VxV)
b4bebeee1dee8d333bfa105a6c28fec5eb34b147:623: ERROR: suspect code indent for conditional statements (12, 14)
total: 9 errors, 6 warnings, 664 lines checked
86545e7afe3f822b8561c7ceee7540fc3b19c3f0:31: ERROR: space required after that ';' (ctx:VxV)
86545e7afe3f822b8561c7ceee7540fc3b19c3f0:40: ERROR: space required after that ';' (ctx:VxV)
total: 2 errors, 0 warnings, 60 lines checked
Use of uninitialized value $acpi_testexpected in string eq at scripts/checkpatch.pl line 1529.
65d58c91ef1a15ad945ece367983437576f8e82b:22: WARNING: added, moved or deleted file(s), does MAINTAINERS need updating?
total: 0 errors, 1 warnings, 14 lines checked
Use of uninitialized value $acpi_testexpected in string eq at scripts/checkpatch.pl line 1529.
f8ce39701b5be032fb3f9c05e8adb4055f70eec2:21: WARNING: added, moved or deleted file(s), does MAINTAINERS need updating?
total: 0 errors, 1 warnings, 0 lines checked
FAIL one or more commits failed scripts/checkpatch.pl
Cleaning up file based variables
ERROR: Job failed: exit code 1

# gpg: Signature made Wed 12 May 2021 17:40:34 BST
# gpg: using RSA key 2035F894B00AA3CF7CCDE1B76C1CD1287DB01100
# gpg: Good signature from "Warner Losh <wlosh@netflix.com>" [unknown]
# gpg: aka "Warner Losh <imp@bsdimp.com>" [unknown]
# gpg: aka "Warner Losh <imp@freebsd.org>" [unknown]
# gpg: aka "Warner Losh <imp@village.org>" [unknown]
# gpg: aka "Warner Losh <wlosh@bsdimp.com>" [unknown]
# gpg: WARNING: This key is not certified with a trusted signature!
# gpg: There is no indication that the signature belongs to the owner.
# Primary key fingerprint: 2035 F894 B00A A3CF 7CCD E1B7 6C1C D128 7DB0 1100

* remotes/bsdimp/tags/pull-bsd-user-20210511:
bsd-user: rename linux_binprm to bsd_binprm
bsd-user: Stop building the sparc targets
bsd-user: remove target_signal.h, it's unused
bsd-user: style tweak: keyword space (
bsd-user: style tweak: Remove #if 0'd code
bsd-user: style tweak: keyword space (
bsd-user: style tweak: keyword space (
bsd-user: whitespace changes
bsd-user: use qemu_strtoul in preference to strtol
bsd-user: style tweak: use {} consistently in for / if / else statements
bsd-user: style tweak: use {} for all if statements, format else correctly
bsd-user: style tweak: don't assign in if statements
bsd-user: style tweak: Use preferred block comments
bsd-user: style tweak: remove spacing after '*' and add after }
bsd-user: style tweak: move extern to header file
bsd-user: Remove commented out code
bsd-user: style tweak: Use preferred block comments
bsd-user: style tweak: Remove #if 0'd code
bsd-user: style tweak: use C not C++ comments
bsd-user: whitespace changes

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>

show more ...


# afcbcff8 29-Apr-2021 Warner Losh <imp@bsdimp.com>

bsd-user: rename linux_binprm to bsd_binprm

Rename linux_binprm to bsd_binprm to reflect that we're loading BSD binaries,
not ELF ones.

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>

bsd-user: rename linux_binprm to bsd_binprm

Rename linux_binprm to bsd_binprm to reflect that we're loading BSD binaries,
not ELF ones.

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Warner Losh <imp@bsdimp.com>

show more ...


# 3e13d8e3 04-May-2021 Peter Maydell <peter.maydell@linaro.org>

Merge remote-tracking branch 'remotes/bsdimp/tags/pull-bsd-user-20210430' into staging

bsd-user: start to cleanup the mess

A number of small cleanups to get started. All the checkpatch.pl warnings

Merge remote-tracking branch 'remotes/bsdimp/tags/pull-bsd-user-20210430' into staging

bsd-user: start to cleanup the mess

A number of small cleanups to get started. All the checkpatch.pl warnings for
bsdload.c have been fixed, as well as a warning from qemu.h (though more remain
and this patch series fails the format check still). I've also fixed a
compile-time warning about a missing break.

# gpg: Signature made Fri 30 Apr 2021 16:40:08 BST
# gpg: using RSA key 2035F894B00AA3CF7CCDE1B76C1CD1287DB01100
# gpg: Good signature from "Warner Losh <wlosh@netflix.com>" [unknown]
# gpg: aka "Warner Losh <imp@bsdimp.com>" [unknown]
# gpg: aka "Warner Losh <imp@freebsd.org>" [unknown]
# gpg: aka "Warner Losh <imp@village.org>" [unknown]
# gpg: aka "Warner Losh <wlosh@bsdimp.com>" [unknown]
# gpg: WARNING: This key is not certified with a trusted signature!
# gpg: There is no indication that the signature belongs to the owner.
# Primary key fingerprint: 2035 F894 B00A A3CF 7CCD E1B7 6C1C D128 7DB0 1100

* remotes/bsdimp/tags/pull-bsd-user-20210430:
bsd-user: style tweak: Put {} around all if/else/for statements
bsd-user: put back a break; that had gone missing...
bsd-user: style tweak: return is not a function, eliminate ()
bsd-user: style tweak: keyword space (
bsd-user: whitespace changes

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>

show more ...


# 58b3beb4 23-Apr-2021 Warner Losh <imp@bsdimp.com>

bsd-user: style tweak: Put {} around all if/else/for statements

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Warner Losh <imp@bsdimp.com>


# fa054637 23-Apr-2021 Warner Losh <imp@bsdimp.com>

bsd-user: style tweak: return is not a function, eliminate ()

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Warner Losh <imp@bsdimp.com>


# ca0fd2e3 23-Apr-2021 Warner Losh <imp@bsdimp.com>

bsd-user: whitespace changes

keyword space paren, no space before ( in function calls, spaces around
operators.

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Warner L

bsd-user: whitespace changes

keyword space paren, no space before ( in function calls, spaces around
operators.

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Warner Losh <imp@bsdimp.com>

show more ...


Revision tags: v5.2.0, v5.0.0, v4.2.0, v4.0.0, v4.0.0-rc1, v4.0.0-rc0, v3.1.0, v3.1.0-rc5, v3.1.0-rc4, v3.1.0-rc3, v3.1.0-rc2, v3.1.0-rc1, v3.1.0-rc0, libfdt-20181002, ppc-for-3.1-20180925, ppc-for-3.1-20180907, ppc-for-3.1-20180821, v3.0.0, v3.0.0-rc4, v2.12.1, ppc-for-3.0-20180801, v3.0.0-rc3, v3.0.0-rc2, v3.0.0-rc1, ppc-for-3.0-20180716, v3.0.0-rc0, ppc-for-3.0-20180709, ppc-for-3.0-20180703, v2.11.2, ppc-for-3.0-20180622, ppc-for-3.0-20180618, ppc-for-3.0-20180612, ppc-for-2.13-20180504, ppc-for-2.13-20180427, v2.12.0, v2.12.0-rc4, v2.12.0-rc3, ppc-for-2.12-20180410, v2.12.0-rc2, v2.12.0-rc1, v2.12.0-rc0, ppc-for-2.12-20180319, ppc-for-2.12-20180315, ppc-for-2.12-20180306, ppc-for-2.12-20180302, ppc-for-2.12-20180216, v2.11.1, ppc-for-2.12-20180212, ppc-for-2.12-20180129, ppc-for-2.12-20180121, ppc-for-2.12-20180119, ppc-for-2.12-20180117, ppc-for-2.12-20180111, ppc-for-2.12-20180108, ppc-for-2.12-20180103, ppc-for-2.12-20171219, v2.10.2, ppc-for-2.12-20171215, v2.11.0, v2.11.0-rc5, v2.11.0-rc4, ppc-for-2.11-20171205, ppc-for-2.11-20171204, v2.11.0-rc3, ppc-for-2.11-20171127, ppc-for-2.11-20171122, v2.11.0-rc2, ppc-for-2.11-20171120, v2.11.0-rc1, ppc-for-2.11-20171114, ppc-for-2.11-20171108, v2.11.0-rc0, ppc-for-2.11-20171017, v2.10.1, ppc-for-2.11-20170927, ppc-for-2.11-20170915, ppc-for-2.11-20170908, v2.9.1, v2.10.0, v2.10.0-rc4, ppc-for-2.10-20170823, ppc-for-2.10-20170822, v2.10.0-rc3, ppc-for-2.10-20170809, v2.10.0-rc2, v2.10.0-rc1, ppc-for-2.10-20170731, v2.10.0-rc0, ppc-for-2.10-20170725
# 4a65a86a 18-Jul-2017 Peter Maydell <peter.maydell@linaro.org>

bsd-user/bsdload.c: Remove write-only id_change variable

On OpenBSD the compiler complains:
bsd-user/bsdload.c:54:17: warning: variable 'id_change' set but not used [-Wunused-but-set-variable]

This

bsd-user/bsdload.c: Remove write-only id_change variable

On OpenBSD the compiler complains:
bsd-user/bsdload.c:54:17: warning: variable 'id_change' set but not used [-Wunused-but-set-variable]

This is dead code that was originally copied from linux-user.
We fixed this in linux-user in commit 331c23b5ca44293d1 in 2011;
delete the useless code from bsd-user too.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Message-id: 1500395194-21455-4-git-send-email-peter.maydell@linaro.org

show more ...


Revision tags: ppc-for-2.10-20170717, ppc-for-2.10-20170714, ppc-for-2.10-20170711, ppc-for-2.10-20170630, ppc-for-2.10-20170609, ppc-for-2.10-20170606, ppc-for-2.10-20170525, ppc-for-2.10-20170511, ppc-for-2.10-20170510, ppc-for-2.10-20170426, ppc-for-2.10-20170424, v2.8.1.1, v2.9.0, v2.9.0-rc5, v2.9.0-rc4, v2.9.0-rc3, ppc-for-2.9-20170403, v2.8.1, ppc-for-2.9-20170329, v2.9.0-rc2, ppc-for-2.9-20170323, v2.9.0-rc1, v2.9.0-rc0, ppc-for-2.9-20170314, ppc-for-2.9-20170306, submodule-update-20170303, ppc-for-2.9-20170303, ppc-for-2.9-20170301, ppc-for-2.9-20170222, isa-cleanup-20170206, ppc-for-2.9-20170202, ppc-for-2.9-20170112, master-20170112, v2.7.1, v2.8.0, v2.8.0-rc4, v2.8.0-rc3, ppc-for-2.8-20161201, v2.8.0-rc2, ppc-for-2.8-20161123, v2.8.0-rc1, isa-cleanup-20161118, qemu-kvm-1.5.3-127.el7, v2.8.0-rc0, ppc-for-2.8-20161115, qemu-kvm-1.5.3-126.el7_3.1, qemu-kvm-0.12.1.2-2.496.el6, ppc-for-2.8-20161028, qemu-kvm-0.12.1.2-2.495.el6, ppc-for-2.8-20161026, ppc-for-2.8-20161017, qemu-kvm-rhev-2.3.0-31.el7_2.23, ppc-for-2.7-20161013, qemu-kvm-1.5.3-105.el7_2.10, ppc-for-2.8-20161006, qemu-kvm-1.5.3-105.el7_2.9, v2.6.2, RHELSA-7.3_qemu-kvm-rhev, qemu-kvm-rhev-2.6.0-28.el7, RHEL-7.3_qemu-kvm-rhev, qemu-kvm-rhev-2.6.0-27.el7, ppc-for-2.8-20160923, qemu-kvm-0.12.1.2-2.494.el6, ppc-for-2.8-20160922, RHEL-7.3_qemu-kvm, qemu-kvm-1.5.3-126.el7, qemu-kvm-rhev-2.6.0-26.el7, vfio-fixes-20160915.0, qemu-kvm-1.5.3-125.el7, qemu-kvm-rhev-2.3.0-31.el7_2.22, qemu-kvm-rhev-2.6.0-25.el7, qemu-kvm-1.5.3-124.el7, qemu-kvm-rhev-2.6.0-24.el7, qemu-kvm-1.5.3-123.el7, qemu-kvm-0.12.1.2-2.415.el6_5.16, ppc-for-2.8-20160907, qemu-kvm-rhev-2.6.0-23.el7, ppc-for-2.8-20160906, v2.7.0, RHEL-7.3-qemu-guest-agent, qemu-guest-agent-2.5.0-3.el7, v2.7.0-rc5, qemu-kvm-1.5.3-122.el7, qemu-kvm-rhev-2.6.0-22.el7, v2.7.0-rc4, v2.6.1, v2.7.0-rc3, qemu-kvm-rhev-2.6.0-21.el7, qemu-kvm-1.5.3-105.el7_2.8, ppc-for-2.7-20160815, qemu-kvm-rhev-2.6.0-20.el7, ppc-for-2.7-20160810, v2.7.0-rc2, ppc-for-2.7-20160808, qemu-kvm-rhev-2.6.0-19.el7, ppc-for-2.7-20160803, qemu-kvm-rhev-2.6.0-18.el7, qemu-kvm-1.5.3-105.el7_2.7, qemu-kvm-rhev-2.3.0-31.el7_2.21, qemu-kvm-1.5.3-121.el7, v2.7.0-rc1, qemu-kvm-rhev-2.6.0-17.el7, qemu-kvm-1.5.3-120.el7, ppc-for-2.7-20160729, qemu-kvm-0.12.1.2-2.493.el6, qemu-kvm-1.5.3-105.el7_2.6, qemu-kvm-0.12.1.2-2.491.el6_8.3, qemu-kvm-rhev-2.3.0-31.el7_2.20, qemu-kvm-1.5.3-119.el7, qemu-kvm-rhev-2.6.0-16.el7, ppc-for-2.7-20160726, v2.7.0-rc0, qemu-kvm-rhev-2.6.0-15.el7, qemu-kvm-rhev-2.3.0-31.el7_2.19, qemu-kvm-rhev-2.6.0-14.el7, qemu-kvm-1.5.3-118.el7, vfio-update-20160718.0, ppc-for-2.7-20160718, qemu-kvm-1.5.3-117.el7, qemu-kvm-rhev-2.6.0-13.el7, qemu-kvm-rhev-2.6.0-12.el7, qemu-kvm-rhev-2.3.0-31.el7_2.18, ppc-for-2.7-20160705, qemu-kvm-rhev-2.6.0-11.el7, qemu-kvm-1.5.3-105.el7_2.5, ppc-for-2.7-20160701, vfio-update-20160630.0, qemu-kvm-0.12.1.2-2.492.el6, qemu-kvm-rhev-2.6.0-10.el7, qemu-kvm-rhev-2.3.0-31.el7_2.17, qemu-kvm-1.5.3-116.el7, ppc-for-2.7-20160627, qemu-kvm-rhev-2.6.0-9.el7, ppc-for-2.7-20160623, qemu-kvm-0.12.1.2-2.491.el6_8.2, qemu-kvm-rhev-2.6.0-8.el7, qemu-kvm-1.5.3-115.el7, ppc-for-2.7-20160617, qemu-kvm-rhev-2.3.0-31.el7_2.16, qemu-kvm-rhev-2.6.0-7.el7, qemu-kvm-rhev-2.6.0-6.el7, qemu-kvm-1.5.3-114.el7, qemu-guest-agent-2.5.0-2.el7, ppc-for-2.7-20160614, ppc-for-2.7-20160607, qemu-kvm-rhev-2.3.0-31.el7_2.15, qemu-kvm-rhev-2.6.0-5.el7, ppc-for-2.7-20160531, qemu-kvm-1.5.3-113.el7, ppc-for-2.7-20160527, vfio-update-20160526.1, maintainers-for-peter, qemu-kvm-rhev-2.6.0-4.el7, qemu-kvm-rhev-2.6.0-3.el7, qemu-kvm-rhev-2.1.2-23.el7_1.12, qemu-kvm-rhev-2.6.0-2.el7, qemu-kvm-rhev-2.3.0-31.el7_2.14, qemu-kvm-1.5.3-112.el7, qemu-kvm-rhev-2.6.0-1.el7, v2.6.0, v2.5.1.1, v2.6.0-rc5, qemu-kvm-1.5.3-111.el7, qemu-kvm-1.5.3-110.el7, qemu-kvm-0.12.1.2-2.479.el6_7.5, qemu-kvm-0.12.1.2-2.491.el6_8.1, qemu-kvm-rhev-2.3.0-31.el7_2.13, v2.6.0-rc4, ppc-for-2.6-20160426, ppc-for-2.6-20160423, v2.6.0-rc3, ppc-for-2.6-20160419, ppc-for-2.6-20160418, v2.6.0-rc2, qemu-kvm-rhev-2.3.0-31.el7_2.12, ppc-for-2.6-20160408, qemu-kvm-rhev-2.3.0-31.el7_2.11, v2.6.0-rc1, ppc-for-2.6-20160405, openbmc-20160404-1, qemu-kvm-rhev-2.5.0-4.el7, v2.6.0-rc0, qemu-kvm-0.12.1.2-2.491.el6, v2.5.1, vfio-update-20160328.0, ppc-for-2.6-20160324, qemu-kvm-rhev-2.5.0-3.el7, vfio-ddw-20160322, machine-pull-request, ppc-for-2.6-20160316, qemu-kvm-rhev-2.3.0-31.el7_2.10, qemu-kvm-1.5.3-109.el7, qemu-kvm-rhev-2.3.0-31.el7_2.9, vfio-update-20160310.2, vfio-update-20160311.0, qemu-kvm-rhev-2.5.0-2.el7, qemu-kvm-0.12.1.2-2.490.el6, ppc-for-2.6-20160229, ppc-for-2.6-20160225, qemu-kvm-rhev-2.3.0-31.el7_2.8, qemu-slof-20160223, vfio-update-20160219.1, qemu-kvm-0.12.1.2-2.489.el6, ppc-for-2.6-20160218, qemu-kvm-1.5.3-108.el7, ppc-for-2.6-20160201
# 2231197c 29-Jan-2016 Peter Maydell <peter.maydell@linaro.org>

bsd-user: Clean up includes

Clean up includes so that osdep.h is included first and headers
which it implies are not included manually.

This commit was created with scripts/clean-includes.

Signed-

bsd-user: Clean up includes

Clean up includes so that osdep.h is included first and headers
which it implies are not included manually.

This commit was created with scripts/clean-includes.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Message-id: 1454089805-5470-4-git-send-email-peter.maydell@linaro.org

show more ...


Revision tags: qemu-kvm-0.12.1.2-2.487.el6, ppc-for-2.6-20160129, qemu-kvm-0.12.1.2-2.479.el6_7.4, qemu-kvm-0.12.1.2-2.486.el6, ppc-for-2.6-20160125, qemu-kvm-0.12.1.2-2.485.el6, qemu-kvm-rhev-2.3.0-31.el7_2.7, qemu-kvm-1.5.3-105.el7_2.3, qemu-kvm-1.5.3-105.el7_2.2, qemu-kvm-1.5.3-107.el7, vfio-update-20160119.0, qemu-kvm-0.12.1.2-2.484.el6, qom-devices-for-peter, qemu-kvm-rhev-2.3.0-31.el7_2.6, qemu-kvm-1.5.3-106.el7, qemu-guest-agent-2.5.0-1.el7, qemu-kvm-rhev-2.5.0-1.el7, ppc-for-2.6-20160111, qemu-kvm-0.12.1.2-2.483.el6, x86-next-pull-request, qemu-kvm-0.12.1.2-2.479.el6_7.3, v2.5.0, qemu-kvm-0.12.1.2-2.482.el6, v2.5.0-rc4, qemu-kvm-rhev-2.3.0-31.el7_2.5, v2.5.0-rc3, ppc-for-2.5-20151204, qemu-kvm-rhev-2.3.0-31.el7_2.4, qemu-kvm-rhev-2.3.0-31.el7_2_2.4, ppc-for-2.5-20151130, v2.5.0-rc2, v2.5.0-rc1, qemu-kvm-rhev-2.3.0-31.el7_2.3, qemu-kvm-rhev-2.3.0-31.el7_2.2, qemu-kvm-1.5.3-105.el7_2.1, qemu-kvm-rhev-2.1.2-23.el7_1.11, v2.5.0-rc0, ppc-next-20151112, ppc-next-20151111, vfio-update-20151110.0, qemu-kvm-rhev-2.3.0-31.el7_2.1, v2.4.1, ppc-next-20151023, qom-cpu-for-peter, qemu-kvm-1.5.3-86.el7_1.8, RHEL-7.2_qemu-kvm, qemu-kvm-1.5.3-105.el7, RHEL-7.2_qemu-kvm-rhev, qemu-kvm-rhev-2.3.0-31.el7, qemu-kvm-rhev-2.3.0-30.el7, qemu-kvm-rhev-2.1.2-23.el7_1_1.10, qemu-kvm-1.5.3-86.el7_1.7, ppc-next-20151009, qemu-kvm-rhev-2.3.0-29.el7, vfio-update-20151005.0, vfio-update-20151007.0, qemu-kvm-rhev-2.3.0-28.el7, qemu-kvm-rhev-2.3.0-27.el7, qemu-kvm-0.12.1.2-2.479.el6_7.2, qemu-kvm-0.12.1.2-2.481.el6, qemu-kvm-rhev-2.3.0-26.el7, vfio-update-20150925.0, vfio-update-20150923.0, qemu-kvm-rhev-2.3.0-25.el7, qemu-kvm-1.5.3-104.el7, spapr-next-20150923, v2.4.0.1, spapr-next-20150921, qemu-kvm-rhev-2.3.0-24.el7, spapr-next-20150916, qemu-kvm-rhev-2.3.0-23.el7, RHEL-7.2_qemu-guest-agent, qemu-guest-agent-2.3.0-4.el7, qemu-kvm-1.5.3-103.el7, qemu-kvm-rhev-2.3.0-22.el7, qemu-kvm-1.5.3-102.el7, spapr-next-20150903, qemu-kvm-rhev-2.1.2-23.el7_1.9, qemu-kvm-rhev-2.3.0-21.el7, qemu-kvm-rhev-2.3.0-20.el7, qemu-guest-agent-2.3.0-3.el7, qemu-kvm-rhev-2.3.0-19.el7, qemu-kvm-1.5.3-101.el7, qemu-kvm-rhev-2.3.0-18.el7, qemu-kvm-rhev-2.3.0-17.el7, v2.4.0, v2.3.1, qemu-kvm-1.5.3-100.el7, qemu-kvm-rhev-2.3.0-16.el7, qemu-kvm-0.12.1.2-2.479.el6_7.1, qemu-kvm-0.12.1.2-2.480.el6, qemu-kvm-rhev-2.1.2-23.el7_1.8, qemu-kvm-1.5.3-86.el7_1.6, qemu-kvm-1.5.3-99.el7, v2.4.0-rc4, qemu-kvm-rhev-2.3.0-15.el7, qemu-kvm-rhev-2.1.2-23.el7_1_1.7, qemu-kvm-rhev-2.3.0-14.el7, v2.4.0-rc3, qemu-kvm-1.5.3-98.el7, qemu-kvm-rhev-2.3.0-13.el7, vfio-fixes-20150723.0, v2.4.0-rc2, qemu-kvm-1.5.3-86.el7_1.5, qemu-kvm-rhev-2.1.2-23.el7_1.6, qemu-kvm-rhev-2.1.2-23.el7_1.5, qemu-kvm-rhev-2.3.0-12.el7, qemu-kvm-1.5.3-86.el7_1.4, qemu-kvm-1.5.3-97.el7, qemu-kvm-rhev-2.3.0-11.el7, qemu-kvm-1.5.3-96.el7, v2.4.0-rc1, qemu-kvm-rhev-2.3.0-10.el7, qemu-guest-agent-2.3.0-2.el7, v2.4.0-rc0, qemu-kvm-rhev-2.3.0-9.el7, qemu-kvm-rhev-2.3.0-8.el7, qemu-kvm-1.5.3-95.el7, vfio-update-20150706.0, qemu-kvm-rhev-2.3.0-7.el7, spapr-next-20150702, qemu-kvm-rhev-2.3.0-6.el7, qemu-kvm-1.5.3-94.el7, for_autotest, for_autotest_next, for_upstream, qemu-kvm-rhev-2.1.2-23.el7_1.4, qemu-kvm-rhev-2.1.2-23.el7_1_1.3, qemu-kvm-rhev-2.3.0-5.el7, qemu-kvm-1.5.3-86.el7_1.3, qemu-kvm-1.5.3-93.el7, RHEL-6.7, qemu-kvm-0.12.1.2-2.479.el6, qemu-kvm-rhev-2.3.0-4.el7, qemu-kvm-rhev-2.3.0-3.el7, qemu-kvm-1.5.3-92.el7, qemu-kvm-1.5.3-91.el7, vfio-update-20150609.0, vfio-update-20150608.0, qemu-kvm-1.5.3-90.el7, qemu-kvm-0.12.1.2-2.478.el6, x86-pull-request, qemu-kvm-0.12.1.2-2.448.el6_6.4, qemu-kvm-0.12.1.2-2.477.el6, qemu-kvm-rhev-2.3.0-2.el7, qemu-kvm-1.5.3-89.el7, qemu-kvm-0.12.1.2-2.476.el6, spapr-dev-staging, qemu-kvm-0.12.1.2-2.415.el6_5.15, signed-s390-for-upstream-for, qemu-kvm-1.5.3-86.el7_1.2, qemu-kvm-rhev-2.1.2-23.el7_1.3, qemu-kvm-rhev-0.12.1.2-2.448.el6_6.3, qemu-kvm-0.12.1.2-2.475.el6, qemu-kvm-0.12.1.2-2.474.el6, qemu-kvm-1.5.3-88.el7, qemu-kvm-0.12.1.2-2.473.el6, spapr-next-20150501, qemu-kvm-0.12.1.2-2.472.el6, qemu-kvm-0.12.1.2-2.471.el6, vfio-update-20150428.0, qemu-guest-agent-2.3.0-1.el7, qemu-kvm-rhev-2.3.0-1.el7, numa-pull-request, qemu-kvm-0.12.1.2-2.470.el6, qemu-kvm-0.12.1.2-2.469.el6, qemu-2.3.0, v2.3.0, qemu-kvm-0.12.1.2-2.468.el6, qemu-kvm-0.12.1.2-2.467.el6, qemu-kvm-rhev-2.2.0-9.el7, qemu-kvm-rhev-2.1.2-23.el7_1.2, qemu-kvm-rhev-2.1.2-23.el7_1_1.2, qemu-2.3.0-rc4, v2.3.0-rc4, qemu-kvm-0.12.1.2-2.466.el6, v2.3.0-rc3, qemu-kvm-0.12.1.2-2.465.el6, qemu-kvm-0.12.1.2-2.448.el6_6.2, qemu-kvm-0.12.1.2-2.464.el6, qemu-kvm-0.12.1.2-2.463.el6, qemu-2.3.0-rc2, v2.3.0-rc2, qtest-for-2.3, qemu-kvm-0.12.1.2-2.448.el6_6.1, qemu-kvm-0.12.1.2-2.462.el6, qemu-kvm-0.12.1.2-2.460.el6, v2.3.0-rc1, qemu-kvm-0.12.1.2-2.459.el6, work/numa-verify-cpus-pull-request, qemu-kvm-rhev-2.2.0-8.el7, qemu-kvm-1.5.3-87.el7, qemu-2.3.0-rc0, v2.3.0-rc0, qemu-kvm-0.12.1.2-2.458.el6, v2.2.1, qemu-kvm-rhev-2.2.0-7.el7, qemu-kvm-0.12.1.2-2.457.el6, qemu-kvm-1.5.3-86.el7_1.1, qemu-kvm-0.12.1.2-2.456.el6, qemu-kvm-0.12.1.2-2.455.el6, vfio-update-20150302.0, qemu-kvm-rhev-2.2.0-6.el7, for_upstream_rebased, qemu-kvm-0.12.1.2-2.454.el6, numa-next-pull-request, qemu-kvm-rhev-2.1.2-23.el7_1.1, qemu-kvm-1.5.3-60.el7_0.12, qemu-kvm-0.12.1.2-2.453.el6, qga-pull-2015-02-16-v2-tag, qemu-kvm-rhev-2.2.0-5.el7, vfio-update-20150210.0, vfio-update-20150209.0, qemu-kvm-rhev-2.2.0-4.el7, vfio-update-20150204.0, qemu-kvm-0.12.1.2-2.452.el6, RHEL-7.1_qemu-kvm-rhev, qemu-kvm-rhev-2.1.2-23.el7, qemu-kvm-rhev-2.1.2-22.el7, RHEL-7.1_qemu-kvm, qemu-kvm-1.5.3-86.el7, qemu-kvm-rhev-2.1.2-21.el7, qemu-kvm-rhev-2.2.0-3.el7, v2.1.3, qemu-kvm-rhev-2.1.2-20.el7, qemu-kvm-0.12.1.2-2.451.el6, qemu-kvm-rhev-2.2.0-2.el7, qemu-kvm-rhev-2.1.2-19.el7, qemu-kvm-0.12.1.2-2.450.el6, vfio-update-20150109.0, qemu-kvm-rhev-2.1.2-18.el7, qemu-kvm-1.5.3-85.el7, vfio-update-20141222.0, qemu-kvm-0.12.1.2-2.449.el6, qemu-kvm-rhev-2.1.2-17.el7, qemu-kvm-1.5.3-84.el7, qemu-2.2.0, v2.2.0, qemu-kvm-rhev-2.1.2-16.el7, v2.2.0-rc5, qemu-kvm-rhev-2.1.2-15.el7, qemu-2.2.0-rc4, v2.2.0-rc4, qemu-kvm-rhev-2.1.2-14.el7, qemu-kvm-1.5.3-83.el7, v2.2.0-rc3, qemu-kvm-rhev-2.1.2-13.el7, qemu-kvm-1.5.3-82.el7, qemu-kvm-1.5.3-60.el7_0.11, qemu-kvm-rhev-2.1.2-12.el7, qemu-kvm-1.5.3-81.el7, qemu-kvm-rhev-2.1.2-11.el7, qemu-kvm-1.5.3-80.el7, qemu-kvm-rhev-2.1.2-10.el7, qemu-kvm-rhev-2.1.2-9.el7, v2.2.0-rc2, qemu-kvm-rhev-2.1.2-8.el7, qemu-kvm-1.5.3-79.el7, v2.2.0-rc1, qemu-kvm-1.5.3-78.el7, qemu-kvm-rhev-2.1.2-7.el7, v2.2.0-rc0, qemu-kvm-rhev-2.1.2-6.el7, qemu-kvm-rhev-2.1.2-5.el7, qemu-kvm-1.5.3-77.el7, qga-pull-2014-10-22-tag, qemu-kvm-1.5.3-76.el7, RHEL-7.1_qemu-guest-agent, qemu-guest-agent-2.1.0-4.el7, qemu-kvm-rhev-2.1.2-4.el7, qemu-kvm-rhev-2.1.2-3.el7, qemu-kvm-rhev-2.1.2-2.el7, qemu-kvm-1.5.3-75.el7, for-upstream, qemu-kvm-1.5.3-60.el7_0.10, qemu-kvm-1.5.3-74.el7, qemu-kvm-0.12.1.2-2.448.el6, qemu-kvm-2.1.2-1.el7, qemu-2.1.2, v2.1.2, qemu-kvm-rhev-2.1.0-5.el7, qemu-kvm-0.12.1.2-2.447.el6, qemu-kvm-1.5.3-60.el7_0.9, qemu-kvm-1.5.3-73.el7, vfio-pci-for-qemu-20140923.0, qemu-kvm-1.5.3-60.el7_0.8, qemu-kvm-1.5.3-72.el7, qemu-kvm-1.5.3-71.el7, vp-2.1.0-v1, vp-2.1.0-v2, vp-2.1.0-v3, qemu-kvm-rhev-2.1.0-4.el7, qemu-kvm-0.12.1.2-2.446.el6, qemu-kvm-1.5.3-70.el7, qemu-2.1.1, v2.1.1, RHEL-6.6, qemu-kvm-0.12.1.2-2.445.el6, signed-ppc-for-upstream, qemu-kvm-0.12.1.2-2.444.el6-v2, qemu-kvm-0.12.1.2-2.444.el6, qemu-kvm-0.12.1.2-2.443.el6, qemu-kvm-0.12.1.2-2.442.el6, qemu-guest-agent-2.1.0-3.el7, qemu-kvm-rhev-2.1.0-3.el7, qemu-kvm-1.5.3-60.el7_0.7, qemu-kvm-1.5.3-69.el7, qemu-kvm-0.12.1.2-2.441.el6, vfio-pci-for-qemu-20140825.0, qemu-kvm-0.12.1.2-2.440.el6, qemu-kvm-0.12.1.2-2.439.el6, v2.0.2, qemu-kvm-rhev-2.1.0-2.el7, v2.0.1, qemu-kvm-1.5.3-60.el7_0.6, qemu-kvm-1.5.3-68.el7, qemu-guest-agent-2.1.0-2.el7, qemu-kvm-0.12.1.2-2.438.el6, qemu-kvm-0.12.1.2-2.437.el6, qemu-kvm-1.5.3-67.el7, qemu-kvm-0.12.1.2-2.436.el6, qemu-kvm-0.12.1.2-2.415.el6_5.14, vfio-pci-for-qemu-20140805.0, qemu-kvm-0.12.1.2-2.435.el6, qemu-kvm-0.12.1.2-2.415.el6_5.13, qemu-kvm-rhev-2.1.0-1.el7, qemu-2.1.0, v2.1.0, qemu-kvm-0.12.1.2-2.434.el6, qemu-kvm-0.12.1.2-2.433.el6, qemu-2.1.0-rc5, v2.1.0-rc5, qemu-kvm-0.12.1.2-2.432.el6, v2.1.0-rc4, qemu-kvm-0.12.1.2-2.431.el6, qemu-2.1.0-rc3, v2.1.0-rc3, v1.7.2, qom-devices-for-2.1, qemu-2.1.0-rc2, v2.1.0-rc2, qemu-kvm-1.5.3-66.el7, qemu-kvm-rhev-2.0.0-3.el7ev, qemu-kvm-0.12.1.2-2.430.el6, qemu-2.1.0-rc1, v2.1.0-rc1, qemu-kvm-0.12.1.2-2.415.el6_5.12, prep-for-2.1, qemu-kvm-0.12.1.2-2.429.el6, qemu-kvm-1.5.3-60.el7_0.5, qemu-kvm-1.5.3-65.el7, qemu-2.1.0-rc0, v2.1.0-rc0, vfio-pci-for-qemu-20140630.0, qom-cpu-for-2.1, qemu-kvm-1.5.3-60.el7_0.4, qemu-kvm-1.5.3-64.el7, qemu-kvm-1.5.3-60.el7_0.3, qemu-kvm-0.12.1.2-2.415.el6_5.11, qemu-kvm-1.5.3-63.el7, qemu-kvm-0.12.1.2-2.428.el6, qemu-kvm-rhev-2.0.0-2.el7ev
# 9bb93180 02-Jun-2014 Peter Maydell <peter.maydell@linaro.org>

Revert "bsd-user: replace fprintf(stderr, ...) with error_report()"

This reverts commit 1fba509527beb74bdcf50bc07ad3cd8244ad9c61.

That commit converted various fprintf(stderr, ...) calls to
use err

Revert "bsd-user: replace fprintf(stderr, ...) with error_report()"

This reverts commit 1fba509527beb74bdcf50bc07ad3cd8244ad9c61.

That commit converted various fprintf(stderr, ...) calls to
use error_report(); however none of these bsd-user files include
a header which gives a prototype for error_report, so this
causes compiler warnings. Since these are just straightforward
reporting of command line errors, we should handle these in the
obvious way by printing to stderr, as we do for linux-user.
There's no need to drag in the error-handling framework for this,
especially since user-mode doesn't have the "maybe we need to
send this to the monitor" issues system emulation does.

Acked-by: Michael Tokarev <mjt@tls.msk.ru>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>

show more ...


Revision tags: vfio-pci-for-qemu-20140602.0, qemu-kvm-0.12.1.2-2.415.el6_5.10
# 9474ab14 27-May-2014 Peter Maydell <peter.maydell@linaro.org>

Merge remote-tracking branch 'remotes/mjt/tags/trivial-patches-2014-05-26' into staging

trivial patches for 2014-05-26

# gpg: Signature made Mon 26 May 2014 08:17:08 BST using RSA key ID A4C3D7DB
#

Merge remote-tracking branch 'remotes/mjt/tags/trivial-patches-2014-05-26' into staging

trivial patches for 2014-05-26

# gpg: Signature made Mon 26 May 2014 08:17:08 BST using RSA key ID A4C3D7DB
# gpg: Can't check signature: public key not found

* remotes/mjt/tags/trivial-patches-2014-05-26: (23 commits)
libcacard: remove useless initializers
net: cadence_gem: Fix top comment
bsd-user: replace fprintf(stderr, ...) with error_report()
audio: replace fprintf(stderr, ...) with error_report() in audio
libcacard: fix wrong array expansion logic
libcacard/vcard_emul_nss: Drop a redundant conditional
libcacard: Convert two leftover realloc() to GLib
libcacard/vreader: Tighten assertion to clarify intent
libcacard/vreader: Drop broken recovery from failed assertion
libcacard: Plug memory leaks around vreader_get_reader_list()
libcacard/vscclient: Bury some dead code
vl: fix 'name' option to work with -readconfig
configure: Put tempfiles in a subdir of the build directory
dma-helpers: avoid calling dma_bdrv_unmap() twice
arch_init: replace fprintf(stderr, ...) with error_report()
pci: move dereferencing of root only after verifying valid root pointer
jazz_led: Add missing break in switch case
bswap.h: Rename ldl_p, stl_p, etc to ldl_he_p, stl_he_p, etc
configure: Automatically select GTK+ 3.0 if GTK+ 2.0 is unavailable
nbd: Miscellaneous typo fixes.
...

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>

show more ...


Revision tags: qemu-kvm-0.12.1.2-2.427.el6, qemu-kvm-0.12.1.2-2.426.el6
# 1fba5095 09-May-2014 Le Tan <tamlokveer@gmail.com>

bsd-user: replace fprintf(stderr, ...) with error_report()

Replace fprintf(stderr,...) with error_report() in files bsd-user/*.
The trailing "\n"s of the @fmt argument have been removed
because @fmt

bsd-user: replace fprintf(stderr, ...) with error_report()

Replace fprintf(stderr,...) with error_report() in files bsd-user/*.
The trailing "\n"s of the @fmt argument have been removed
because @fmt of error_report() should not contain newline.

Signed-off-by: Le Tan <tamlokveer@gmail.com>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>

show more ...


Revision tags: qemu-kvm-1.5.3-60.el7_0.2, qemu-kvm-1.5.3-62.el7, qemu-kvm-1.5.3-61.el7, qemu-kvm-0.12.1.2-2.415.el6_5.9, qemu-kvm-0.12.1.2-2.415.el6_5.8, qemu-kvm-0.12.1.2-2.425.el6, qemu-2.0.0, v2.0.0, v2.0.0-rc3, qemu-kvm-0.12.1.2-2.424.el6, qemu-2.0.0-rc2, v2.0.0-rc2, qom-devices-for-2.0, qemu-2.0.0-rc1, v2.0.0-rc1, RHEL-7.0, qemu-kvm-1.5.3-60.el7, qom-cpu-for-2.0, ppc-for-2.0, qemu-kvm-0.12.1.2-2.415.el6_5.7, qemu-kvm-0.12.1.2-2.423.el6, qemu-kvm-1.5.3-59.el7, qemu-kvm-1.5.3-58.el7, vfio-pci-for-qemu-20140325.0, qemu-kvm-1.5.3-57.el7, qemu-kvm-1.5.3-56.el7, prep-for-2.0, qemu-kvm-1.5.3-55.el7, qemu-kvm-1.5.3-54.el7, qemu-2.0.0-rc0, v2.0.0-rc0, prep-for-upstream, qemu-kvm-1.5.3-53.el7, qemu-kvm-1.5.3-52.el7, qemu-kvm-1.5.3-51.el7, qemu-kvm-0.12.1.2-2.415.el6_5.6, qemu-kvm-0.12.1.2-2.415.el6_5.5, qemu-kvm-0.12.1.2-2.422.el6, v1.7.1, vfio-pci-for-qemu-20140226.0, qemu-kvm-1.5.3-50.el7, qemu-kvm-0.12.1.2-2.421.el6, qemu-kvm-1.5.3-49.el7, qemu-kvm-1.5.3-48.el7, qemu-0888a29, qemu-kvm-1.5.3-47.el7, qemu-kvm-1.5.3-46.el7, qemu-kvm-0.12.1.2-2.415.el6_5.4, qemu-kvm-1.5.3-45.el7, qemu-kvm-1.5.3-44.el7, vfio-pci-for-qemu-20140128.0, qemu-kvm-1.5.3-43.el7, qemu-kvm-0.12.1.2-2.420.el6, for_anthony, qemu-kvm-1.5.3-41.el7, qemu-kvm-1.5.3-40.el7, qemu-kvm-1.5.3-39.el7, vfio-pci-for-qemu-20140117.0, qemu-kvm-1.5.3-38.el7, qemu-kvm-1.5.3-37.el7, qemu-kvm-1.5.3-36.el7, qemu-kvm-1.5.3-35.el7, qemu-kvm-1.5.3-34.el7, qemu-kvm-1.5.3-33.el7, qemu-kvm-1.5.3-32.el7, qemu-kvm-1.5.3-31.el7, qemu-kvm-0.12.1.2-2.419.el6, qom-devices-for-anthony, qom-cpu-for-anthony, qemu-kvm-1.5.3-30.el7, qemu-kvm-1.5.3-29.el7, qemu-kvm-1.5.3-28.el7, qemu-kvm-1.5.3-27.el7, qemu-kvm-1.5.3-26.el7, signed-s390-for-upstream, qemu-kvm-1.5.3-25.el7, qemu-kvm-1.5.3-24.el7, qemu-kvm-1.5.3-23.el7, qemu-kvm-1.5.3-22.el7, v1.6.2, vfio-pci-for-qemu-20131206.0, qemu-kvm-1.5.3-21.el7, qemu-kvm-1.5.3-20.el7, v1.7.0, v1.7.0-rc2, for-anthony, v1.7.0-rc1, qemu-kvm-0.12.1.2-2.415.el6_5.3, qemu-kvm-0.12.1.2-2.418.el6, qemu-kvm-0.12.1.2-2.415.el6_5.2, qemu-kvm-0.12.1.2-2.417.el6, qemu-kvm-1.5.3-19.el7, qemu-kvm-1.5.3-18.el7, signed-ppc-for-upstream-1.7, qemu-kvm-1.5.3-17.el7, signed-ppc-for-upstream-for, qemu-kvm-1.5.3-16.el7, qemu-kvm-0.12.1.2-2.416.el6, qemu-kvm-0.12.1.2-2.415.el6_5.1, qemu-kvm-1.5.3-15.el7, v1.7.0-rc0, qemu-kvm-1.5.3-14.el7, qemu-kvm-1.5.3-13.el7, qemu-kvm-1.5.3-12.el7, qemu-kvm-1.5.3-11.el7, RHEL-6.5, qemu-kvm-0.12.1.2-2.415.el6, qemu-kvm-1.5.3-10.el7, qemu-kvm-0.12.1.2-2.414.el6, qemu-kvm-0.12.1.2-2.413.el6, vfio-disable-device-nosnoop, qemu-kvm-1.5.3-9.el7, qemu-kvm-0.12.1.2-2.412.el6, qemu-kvm-1.5.3-8.el7, qemu-kvm-0.12.1.2-2.411.el6, vfio-pci-for-qemu-20131010.0, v1.6.1, vfio-pci-for-qemu-20131003.0, qemu-kvm-0.12.1.2-2.410.el6, qemu-kvm-0.12.1.2-2.409.el6, qemu-kvm-0.12.1.2-2.408.el6, qemu-kvm-0.12.1.2-2.407.el6, qemu-kvm-1.5.3-7.el7, qemu-kvm-0.12.1.2-2.405.el6, qemu-kvm-1.5.3-4.el7, qemu-kvm-0.12.1.2-2.404.el6, qemu-kvm-0.12.1.2-2.403.el6, qemu-kvm-0.12.1.2-2.355.el6_4.9, qemu-kvm-0.12.1.2-2.402.el6, qemu-kvm-1.5.3-3.el7, qemu-kvm-0.12.1.2-2.401.el6, qemu-kvm-0.12.1.2-2.400.el6, qemu-kvm-0.12.1.2-2.399.el6, baseline_for_autotest, qemu-kvm-1.5.3-2.el7, qemu-kvm-0.12.1.2-2.355.el6_4.8, qemu-kvm-1.5.3-1.el7, qemu-1.5.3, v1.5.3, qemu-kvm-0.12.1.2-2.398.el6, qemu-kvm-1.5.2-4.el7, qemu-kvm-0.12.1.2-2.397.el6, v1.6.0, qemu-kvm-0.12.1.2-2.394.el6, qemu-kvm-0.12.1.2-2.393.el6, qemu-kvm-0.12.1.2-2.392.el6, qemu-kvm-0.12.1.2-2.391.el6, qemu-kvm-0.12.1.2-2.390.el6, qom-cpu-for-1.5, qemu-kvm-0.12.1.2-2.389.el6, qemu-kvm-0.12.1.2-2.388.el6, v1.6.0-rc3, qemu-kvm-0.12.1.2-2.355.el6_4.7, qemu-kvm-0.12.1.2-2.387.el6, qemu-kvm-0.12.1.2-2.386.el6, qemu-kvm-1.5.2-3.el7, qemu-kvm-0.12.1.2-2.385.el6, v1.6.0-rc2, qemu-kvm-0.12.1.2-2.384.el6, qemu-kvm-0.12.1.2-2.383.el6, v1.6.0-rc1, qemu-kvm-1.5.2-2.el7, v1.6.0-rc0, qemu-kvm-0.12.1.2-2.382.el6, qemu-kvm-0_12_1_2-2_382_el6, qemu-kvm-1.5.2-1.el7, v1.5.2, qemu-kvm-0.12.1.2-2.381.el6, qemu-kvm-0.12.1.2-2.380.el6, qemu-1.5.2, qemu-kvm-0.12.1.2-2.379.el6, vfio-for-qemu-1.6, qemu-kvm-0.12.1.2-2.378.el6, qemu-kvm-0.12.1.2-2.355.el6_4.6, qemu-kvm-1.5.1-2.el7, qemu-kvm-1.5.1-1.el7, qemu-1.5.1, v1.5.1, qemu-kvm-0.12.1.2-2.377.el6, qemu-kvm-0.12.1.2-2.376.el6, qemu-kvm-0.12.1.2-2.375.el6, qemu-kvm-0.12.1.2-2.374.el6, qemu-kvm-0.12.1.2-2.373.el6, qemu-kvm-0.12.1.2-2.372.el6, qemu-kvm-0.12.1.2-2.371.el6, qemu-kvm-1.5.0-2.el7, v1.4.2, qemu-kvm-0.12.1.2-2.355.el6_4.5, qemu-kvm-1.5.0-1.el7, qemu-kvm-0.12.1.2-2.370.el6, qemu-1.5.0, v1.5.0, v1.5.0-rc3, v1.5.0-rc2, qemu-kvm-0.12.1.2-2.369.el6, qemu-kvm-0.12.1.2-2.368.el6, qemu-kvm-0.12.1.2-2.367.el6, v1.5.0-rc1, qemu-kvm-0.12.1.2-2.366.el6, qemu-kvm-0.12.1.2-2.365.el6, qemu-kvm-0.12.1.2-2.320.el6, qemu-kvm-0.12.1.2-2.364.el6, v1.5.0-rc0, qemu-kvm-0.12.1.2-2.363.el6, qemu-kvm-0.12.1.2-2.355.el6_4.4, qemu-kvm-1.4.0-4.el7, qemu-kvm-0.12.1.2-2.362.el6, qemu-kvm-1.4.0-3.el7, qemu-kvm-0.12.1.2-2.361.el6, v1.4.1, qemu-kvm-0.12.1.2-2.355.el6_4.3, qemu-kvm-0.12.1.2-2.360.el6, qemu-kvm-0.12.1.2-2.359.el6, qemu-kvm-1.4.0-2.el7, vfio-pci-for-qemu-20130401.0, qemu-kvm-0.12.1.2-2.358.el6, qemu-kvm-0.12.1.2-2.357.el6, list, qemu-1.4.0, v1.4.0, v1.4.0-rc2, v1.4.0-rc1, qemu-kvm-0.12.1.2-2.356.el6, v1.4.0-rc0, v1.3.1, RHEL-6.4, qemu-kvm-0.12.1.2-2.355.el6, qemu-kvm-0.12.1.2-2.353.el6, qemu-kvm-0.12.1.2-2.352.el6, qemu-kvm-0.12.1.2-2.351.el6, qemu-kvm-0.12.1.2-2.350.el6, qemu-1.4-vfio-20130109.0, qemu-kvm-0.12.1.2-2.349.el6, qemu-kvm-0.12.1.2-2.348.el6, qemu-kvm-0.12.1.2-2.347.el6, qemu-kvm-0.12.1.2-2.295.el6_3.10, v1.2.2, qemu-kvm-0.12.1.2-2.295.el6_3.9, qemu-kvm-0.12.1.2-2.344.el6, qemu-kvm-0.12.1.2-2.343.el6, vfio-pci-for-qemu-20121210.0, qemu-kvm-0.12.1.2-2.342.el6, qemu-kvm-0.12.1.2-2.340.el6, v1.3.0, qemu-kvm-0.12.1.2-2.339.el6, qemu-kvm-0.12.1.2-2.338.el6, v1.3.0-rc2, v1.3.0-rc1, qemu-kvm-0.12.1.2-2.337.el6, qemu-kvm-0.12.1.2-2.336.el6, v1.3.0-rc0, qemu-kvm-0.12.1.2-2.335.el6, qemu-kvm-0.12.1.2-2.295.el6_3.8, vfio-pci-for-qemu-1.3.0-rc0, qemu-kvm-0.12.1.2-2.295.el6_3.7, qemu-kvm-0.12.1.2-2.295.el6_3.6, qemu-kvm-0.12.1.2-2.334.el6, qemu-kvm-0.12.1.2-2.333.el6, qemu-kvm-0.12.1.2-2.332.el6, qemu-kvm-0.12.1.2-2.331.el6, qemu-kvm-0.12.1.2-2.295.el6_3.5, qemu-kvm-0.12.1.2-2.330.el6, qemu-kvm-0.12.1.2-2.329.el6, vfio-pci-for-qemu-20121017.0, qemu-kvm-0.12.1.2-2.328.el6, qemu-kvm-0.12.1.2-2.295.el6_3.4, qemu-kvm-0.12.1.2-2.327.el6, qemu-kvm-0.12.1.2-2.326.el6, qemu-kvm-0.12.1.2-2.325.el6, qemu-kvm-0.12.1.2-2.324.el6, qemu-kvm-0.12.1.2-2.323.el6, v1.2.1, qemu-kvm-0.12.1.2-2.295.el6_3.3, qemu-kvm-0.12.1.2-2.322.el6.fixed, qemu-kvm-0.12.1.2-2.321.el6.fixed, qemu-kvm-0.12.1.2-2.322.el6, qemu-kvm-0.12.1.2-2.321.el6, vfio-pci-for-qemu-20121008.0, vfio-pci-for-qemu-20121005.0, vfio-pci-for-qemu-20121004.0, qemu-kvm-0.12.1.2-2.319.el6, qemu-kvm-0.12.1.2-2.318.el6, qemu-kvm-0.12.1.2-2.317.el6, vfio-pci-for-qemu-v6, vfio-pci-for-qemu-v5-resend, qemu-kvm-0.12.1.2-2.315.el6, qemu-kvm-0.12.1.2-2.314.el6, vfio-pci-for-qemu-v5, vfio-pci-for-qemu-v4, qemu-kvm-0.12.1.2-2.313.el6, qemu-kvm-1.1.2, qemu-kvm-0.12.1.2-2.312.el6, qemu-kvm-1.2.0, v1.1.2, v1.2.0, qemu-kvm-0.12.1.2-2.311.el6, qemu-kvm-0.12.1.2-2.310.el6, qemu-kvm-0.12.1.2-2.295.el6_3.2, qemu-kvm-0.12.1.2-2.309.el6, v1.2.0-rc3, qemu-kvm-1.2.0-rc2, v1.2.0-rc2, qemu-kvm-0.12.1.2-2.308.el6, qemu-kvm-1.2.0-rc1, v1.2.0-rc1, qemu-kvm-0.12.1.2-2.307.el6, qemu-kvm-0.12.1.2-2.306.el6, v1.2.0-rc0, qemu-kvm-0.12.1.2-2.305.el6, vfio-pci-for-qemu-1.2-v3, qemu-kvm-0.12.1.2-2.304.el6, qemu-kvm-0.12.1.2-2.303.el6, vfio-pci-for-qemu-1.2-v2, qemu-kvm-0.12.1.2-2.302.el6, vfio-pci-for-qemu-1.2, qemu-kvm-0.12.1.2-2.301.el6, qemu-kvm-0.12.1.2-2.300.el6, qemu-kvm-0.12.1.2-2.299.el6, qemu-kvm-0.12.1.2-2.298.el6, qemu-kvm-0.12.1.2-2.297.el6, qemu-kvm-0.12.1.2-2.295.el6_3.1, qemu-kvm-0.12.1.2-2.296.el6, qemu-kvm-1.1.1, v1.1.1, qemu-kvm-1.1.0, v1.1.0, qemu-kvm-1.1-rc4, v1.1.0-rc4, qemu-kvm-1.1-rc3, v1.1.0-rc3, RHEL-6.3, qemu-kvm-0.12.1.2-2.295.el6, RHEL-6.3-Snapshot-4, qemu-kvm-0.12.1.2-2.294.el6, qemu-kvm-1.1-rc2, qemu-kvm-0.12.1.2-2.293.el6, v1.1-rc2, v1.1.0-rc2, v1.1-rc1, RHEL-6.3-Snapshot-3, qemu-kvm-0.12.1.2-2.292.el6, qemu-kvm-0.12.1.2-2.291.el6, v1.1-rc0, RHEL-6.3-Snapshot-2, qemu-kvm-0.12.1.2-2.290.el6, qemu-kvm-0.12.1.2-2.289.el6, qemu-kvm-0.12.1.2-2.288.el6, qemu-kvm-0.12.1.2-2.287.el6, RHEL-6.3-Snapshot-1, qemu-kvm-0.12.1.2-2.286.el6, qemu-kvm-0.12.1.2-2.285.el6, qemu-kvm-0.12.1.2-2.284.el6, qemu-kvm-0.12.1.2-2.283.el6, qemu-kvm-0.12.1.2-2.282.el6, qemu-kvm-0.12.1.2-2.281.el6, qemu-kvm-0.12.1.2-2.280.el6, qemu-kvm-0.12.1.2-2.279.el6, qemu-kvm-0.12.1.2-2.209.el6_2.5, qemu-kvm-0.12.1.2-2.278.el6, qemu-kvm-0.12.1.2-2.277.el6, qemu-kvm-1.0.1, qemu-kvm-0.12.1.2-2.276.el6, qemu-kvm-0.12.1.2-2.275.el6, qemu-kvm-0.12.1.2-2.274.el6, qemu-kvm-0.12.1.2-2.273.el6, RHEL-6.3-Beta-1, qemu-kvm-0.12.1.2-2.272.el6, qemu-kvm-0.12.1.2-2.270.el6, qemu-kvm-0.12.1.2-2.269.el6, qemu-kvm-0.12.1.2-2.268.el6, qemu-kvm-0.12.1.2-2.267.el6, qemu-kvm-0.12.1.2-2.266.el6, RHEL-6.3-Alpha-1, RHEL-6.3-Alpha-2, qemu-kvm-0.12.1.2-2.265.el6, qemu-kvm-0.12.1.2-2.264.el6, qemu-kvm-0.12.1.2-2.263.el6, qemu-kvm-0.12.1.2-2.261.el6, qemu-kvm-0.12.1.2-2.260.el6, qemu-kvm-0.12.1.2-2.259.el6, qemu-kvm-0.12.1.2-2.258.el6, qemu-kvm-0.12.1.2-2.257.el6, qemu-kvm-0.12.1.2-2.256.el6, qemu-kvm-0.12.1.2-2.255.el6, qemu-kvm-0.12.1.2-2.254.el6, qemu-kvm-0.12.1.2-2.253.el6, qemu-kvm-0.12.1.2-2.251.el6, qemu-kvm-0.12.1.2-2.250.el6, qemu-kvm-0.12.1.2-2.249.el6, qemu-kvm-0.12.1.2-2.248.el6, qemu-kvm-0.12.1.2-2.247.el6, qemu-kvm-0.12.1.2-2.246.el6, qemu-kvm-0.12.1.2-2.245.el6, qemu-kvm-0.12.1.2-2.244.el6, qemu-kvm-0.12.1.2-2.243.el6, qemu-kvm-0.12.1.2-2.242.el6, qemu-kvm-0.12.1.2-2.241.el6, qemu-kvm-0.12.1.2-2.240.el6, qemu-kvm-0.12.1.2-2.239.el6, qemu-kvm-0.12.1.2-2.238.el6, qemu-kvm-0.12.1.2-2.237.el6, qemu-kvm-0.12.1.2-2.236.el6, qemu-kvm-0.12.1.2-2.235.el6, qemu-kvm-0.12.1.2-2.234.el6, qemu-kvm-0.12.1.2-2.233.el6, qemu-kvm-0.12.1.2-2.232.el6, qemu-kvm-0.12.1.2-2.231.el6, qemu-kvm-0.12.1.2-2.230.el6, qemu-kvm-0.12.1.2-2.229.el6, qemu-kvm-0.12.1.2-2.228.el6, qemu-kvm-0.12.1.2-2.227.el6, qemu-kvm-0.12.1.2-2.226.el6, qemu-kvm-0.12.1.2-2.225.el6, qemu-kvm-0.12.1.2-2.224.el6, qemu-kvm-0.12.1.2-2.223.el6, v1.0.1, qemu-kvm-0.12.1.2-2.222.el6, qemu-kvm-0.12.1.2-2.221.el6, qemu-kvm-0.12.1.2-2.220.el6, qemu-kvm-0.12.1.2-2.219.el6, qemu-kvm-0.12.1.2-2.209.el6_2.4, qemu-kvm-0.12.1.2-2.218.el6, qemu-kvm-0.12.1.2-2.217.el6, qemu-kvm-0.12.1.2-2.209.el6_2.3, qemu-kvm-0.12.1.2-2.216.el6, qemu-kvm-0.12.1.2-2.215.el6, qemu-kvm-0.12.1.2-2.214.el6, qemu-kvm-0.12.1.2-2.213.el6, qemu-kvm-0.12.1.2-2.212.el6, qemu-kvm-0.12.1.2-2.209.el6_2.2, qemu-kvm-0.12.1.2-2.211.el6
# 5bf13560 11-Dec-2011 malc <av1474@comtv.ru>

Merge branch 'master' of git://git.qemu.org/qemu


Revision tags: qemu-kvm-1.0, v1.0, v1.0-rc4, qemu-kvm-0.12.1.2-2.210.el6, v1.0-rc3
# c580dee4 21-Nov-2011 Stefan Weil <sw@weilnetz.de>

bsd_user: Fix potential null pointer dereference

This bug was spotted by cppcheck.

Using g_try_malloc0 (as does the linux-user code) fixes this.

v2:
Use g_free in bsdload.c, too. Thanks to Peter M

bsd_user: Fix potential null pointer dereference

This bug was spotted by cppcheck.

Using g_try_malloc0 (as does the linux-user code) fixes this.

v2:
Use g_free in bsdload.c, too. Thanks to Peter Maydell for this hint.

Signed-off-by: Stefan Weil <sw@weilnetz.de>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>

show more ...


Revision tags: qemu-kvm-0.12.1.2-2.209.el6_2.1, v1.0-rc2, qemu-kvm-0.12.1.2-2.160.el6_1.9, v1.0-rc1, RHEL-6.2, qemu-kvm-0.12.1.2-2.209.el6, v1.0-rc0, qemu-kvm-0.12.1.2-2.208.el6, qemu-kvm-0.12.1.2-2.207.el6, qemu-kvm-0.12.1.2-2.206.el6, qemu-kvm-0.12.1.2-2.205.el6, qemu-kvm-0.12.1.2-2.204.el6, qemu-kvm-0.12.1.2-2.203.el6, qemu-kvm-0.12.1.2-2.202.el6, qemu-kvm-0.12.1.2-2.201.el6, qemu-kvm-0.12.1.2-2.200.el6, qemu-kvm-0.15.1, qemu-kvm-0.12.1.2-2.199.el6, qemu-kvm-0.12.1.2-2.198.el6, qemu-kvm-0.12.1.2-2.197.el6, v0.15.1, qemu-kvm-0.12.1.2-2.196.el6, qemu-kvm-0.12.1.2-2.195.el6, qemu-kvm-0.12.1.2-2.194.el6, qemu-kvm-0.12.1.2-2.193.el6, qemu-kvm-0.12.1.2-2.192.el6, qemu-kvm-0.12.1.2-2.191.el6, qemu-kvm-0.12.1.2-2.190.el6, qemu-kvm-0.12.1.2-2.189.el6, qemu-kvm-0.12.1.2-2.188.el6, qemu-kvm-0.12.1.2-2.187.el6, qemu-kvm-0.12.1.2-2.186.el6, qemu-kvm-0.12.1.2-2.185.el6, qemu-kvm-0.12.1.2-2.184.el6, qemu-kvm-0.12.1.2-2.183.el6, qemu-kvm-0.12.1.2-2.182.el6, qemu-kvm-0.12.1.2-2.181.el6, qemu-kvm-0.12.1.2-2.180.el6, qemu-kvm-0.12.1.2-2.160.el6_1.8, qemu-kvm-0.12.1.2-2.179.el6, qemu-kvm-0.12.1.2-2.178.el6, qemu-kvm-0.15.0, v0.15.0, v0.15.0-rc2, qemu-kvm-0.12.1.2-2.177.el6, qemu-kvm-0.12.1.2-2.160.el6_1.7, qemu-kvm-0.12.1.2-2.176.el6, qemu-kvm-0.15.0-rc1, v0.15.0-rc1, qemu-kvm-0.12.1.2-2.175.el6, qemu-kvm-0.12.1.2-2.174.el6, qemu-kvm-0.12.1.2-2.173.el6, qemu-kvm-0.15.0-rc0, qemu-kvm-0.12.1.2-2.160.el6_1.6, qemu-kvm-0.12.1.2-2.172.el6, v0.15.0-rc0, qemu-kvm-0.12.1.2-2.160.el6_1.5, qemu-kvm-0.12.1.2-2.160.el6_1.4, qemu-kvm-0.12.1.2-2.171.el6, qemu-kvm-0.12.1.2-2.160.el6_1.3, qemu-kvm-0.12.1.2-2.170.el6, qemu-kvm-0.12.1.2-2.169.el6, qemu-kvm-0.12.1.2-2.168.el6, qemu-kvm-0.12.1.2-2.167.el6, qemu-kvm-0.12.1.2-2.166.el6, qemu-kvm-0.12.1.2-2.160.el6_1.2, qemu-kvm-0.12.1.2-2.160.el6_1, qemu-kvm-0.12.1.2-2.165.el6, qemu-kvm-0.12.1.2-2.164.el6, qemu-kvm-0.12.1.2-2.163.el6, qemu-kvm-0.12.1.2-2.162.el6, qemu-kvm-0.14.1, v0.14.1, qemu-kvm-0.12.1.2-2.161.el6, RHEL-6.1, qemu-kvm-0.12.1.2-2.160.el6, qemu-kvm-0.12.1.2-2.159.el6, qemu-kvm-0.12.1.2-2.158.el6, qemu-kvm-0.12.1.2-2.157.el6, qemu-kvm-0.12.1.2-2.156.el6, qemu-kvm-0.12.1.2-2.155.el6, qemu-kvm-0.12.1.2-2.154.el6, qemu-kvm-0.12.1.2-2.153.el6, qemu-kvm-0.12.1.2-2.152.el6, qemu-kvm-0.12.1.2-2.151.el6, qemu-kvm-0.12.1.2-2.150.el6, qemu-kvm-0.12.1.2-2.113.el6_0.8, qemu-kvm-0.12.1.2-2.149.el6, qemu-kvm-0.12.1.2-2.148.el6, qemu-kvm-0.12.1.2-2.113.el6_0.7, qemu-kvm-0.14.0, qemu-kvm-0.12.1.2-2.147.el6, v0.14.0, qemu-kvm-0.12.1.2-2.146.el6, qemu-kvm-0.12.1.2-2.145.el6, v0.14.0-rc2, qemu-kvm-0.14.0-rc1, qemu-kvm-0.14.0-rc0, qemu-kvm-0.12.1.2-2.144.el6, v0.14.0-rc1, qemu-kvm-0.12.1.2-2.143.el6, qemu-kvm-0.12.1.2-2.142.el6, qemu-kvm-0.12.1.2-2.141.el6, qemu-kvm-0.12.1.2-2.140.el6, qemu-kvm-0.12.1.2-2.139.el6, qemu-kvm-0.12.1.2-2.138.el6, qemu-kvm-0.12.1.2-2.137.el6, qemu-kvm-0.12.1.2-2.136.el6, qemu-kvm-0.12.1.2-2.135.el6, v0.14.0-rc0, qemu-kvm-0.12.1.2-2.134.el6, qemu-kvm-0.12.1.2-2.133.el6, qemu-kvm-0.12.1.2-2.132.el6, qemu-kvm-0.12.1.2-2.131.el6, qemu-kvm-0.12.1.2-2.130.el6, qemu-kvm-0.12.1.2-2.129.el6
# 6107ff12 10-Jan-2011 Michael S. Tsirkin <mst@redhat.com>

Merge remote branch 'origin/master' into pci


# 497aebb9 08-Jan-2011 Aurelien Jarno <aurelien@aurel32.net>

Merge branch 'linux-user-for-upstream' of git://gitorious.org/qemu-maemo/qemu

* 'linux-user-for-upstream' of git://gitorious.org/qemu-maemo/qemu:
Remove dead code for ARM semihosting commandline h

Merge branch 'linux-user-for-upstream' of git://gitorious.org/qemu-maemo/qemu

* 'linux-user-for-upstream' of git://gitorious.org/qemu-maemo/qemu:
Remove dead code for ARM semihosting commandline handling
Fix commandline handling for ARM semihosted executables
linux-user: Fix incorrect NaN detection in ARM nwfpe emulation
softfloat: Implement floatx80_is_any_nan() and float128_is_any_nan()
linux-user: Implement FS_IOC_FIEMAP ioctl
linux-user: Support ioctls whose parameter size is not constant
linux-user: Implement sync_file_range{,2} syscalls

show more ...


Revision tags: qemu-kvm-0.12.1.2-2.113.el6_0.6, qemu-kvm-0.12.1.2-2.128.el6, qemu-kvm-0.12.1.2-2.127.el6, qemu-kvm-0.12.1.2-2.126.el6, qemu-kvm-0.12.1.2-2.113.el6_0.5, qemu-kvm-0.12.1.2-2.125.el6, qemu-kvm-0.12.1.2-2.124.el6, qemu-kvm-0.12.1.2-2.123.el6, qemu-kvm-0.12.1.2-2.122.el6
# 67af42ac 06-Dec-2010 Wolfgang Schildbach <wschi@dolby.com>

Remove dead code for ARM semihosting commandline handling

There are some bits in the code which were used to store the commandline for
the semihosting call. These bits are now write-only and can be

Remove dead code for ARM semihosting commandline handling

There are some bits in the code which were used to store the commandline for
the semihosting call. These bits are now write-only and can be removed.

Signed-off-by: Wolfgang Schildbach <wschi@dolby.com>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Riku Voipio <riku.voipio@iki.fi>

show more ...


Revision tags: qemu-kvm-0.12.1.2-2.121.el6, qemu-kvm-0.12.1.2-2.120.el6, qemu-kvm-0.12.1.2-2.113.el6_0.4, qemu-kvm-0.12.1.2-2.119.el6, qemu-kvm-0.12.1.2-2.118.el6, qemu-kvm-0.12.1.2-2.117.el6, qemu-kvm-0.13.0, v0.13.0, qemu-kvm-0.12.1.2-2.116.el6, qemu-kvm-0.12.1.2-2.113.el6_0.3, qemu-kvm-0.12.1.2-2.113.el6_0.2, qemu-kvm-0.13.0-rc3, v0.13.0-rc3, v0.13.0-rc2, qemu-kvm-0.12.1.2-2.115.el6, qemu-kvm-0.12.1.2-2.114.el6, qemu-kvm-0.12.1.2-2.113.el6_0.1, qemu-kvm-0.13.0-rc1, v0.13.0-rc1, RHEL-6.0, qemu-kvm-0.12.1.2-2.113.el6, qemu-kvm-0.12.1.2-2.112.el6, qemu-kvm-0.12.1.2-2.111.el6, qemu-kvm-0.12.1.2-2.110.el6, qemu-kvm-0.12.1.2-2.109.el6, qemu-kvm-0.12.1.2-2.108.el6, qemu-kvm-0.12.1.2-2.107.el6, qemu-kvm-0.12.1.2-2.106.el6, qemu-kvm-0.12.1.2-2.105.el6, qemu-kvm-0.12.1.2-2.104.el6, qemu-kvm-0.12.1.2-2.103.el6, qemu-kvm-0.12.1.2-2.102.el6, qemu-kvm-0.12.1.2-2.101.el6, v0.13.0-rc0, qemu-kvm-0.12.5, qemu-kvm-0.12.1.2-2.100.el6, qemu-kvm-0.12.1.2-2.99.el6, qemu-kvm-0.12.1.2-2.98.el6, v0.12.5, qemu-kvm-0.12.1.2-2.97.el6, qemu-kvm-0.12.1.2-2.96.el6, qemu-kvm-0.12.1.2-2.95.el6, qemu-kvm-0.12.1.2-2.94.el6, qemu-kvm-0.12.1.2-2.93.el6, qemu-kvm-0.12.1.2-2.92.el6, qemu-kvm-0.12.1.2-2.91.el6, qemu-kvm-0.12.1.2-2.90.el6, qemu-kvm-0.12.1.2-2.89.el6, qemu-kvm-0.12.1.2-2.88.el6, qemu-kvm-0.12.1.2-2.87.el6, qemu-kvm-0.12.1.2-2.86.el6, qemu-kvm-0.12.1.2-2.85.el6, qemu-kvm-0.12.1.2-2.84.el6, qemu-kvm-0.12.1.2-2.83.el6, qemu-kvm-0.12.1.2-2.82.el6, qemu-kvm-0.12.1.2-2.81.el6, qemu-kvm-0.12.1.2-2.80.el6, qemu-kvm-0.12.1.2-2.79.el6, qemu-kvm-0.12.1.2-2.78.el6, qemu-kvm-0.12.1.2-2.77.el6, qemu-kvm-0.12.1.2-2.76.el6, qemu-kvm-0.12.1.2-2.75.el6, qemu-kvm-0.12.1.2-2.74.el6, qemu-kvm-0.12.1.2-2.73.el6, qemu-kvm-0.12.1.2-2.72.el6, qemu-kvm-0.12.1.2-2.71.el6, qemu-kvm-0.12.1.2-2.70.el6, qemu-kvm-0.12.1.2-2.69.el6, qemu-kvm-0.12.1.2-2.68.el6, qemu-kvm-0.12.1.2-2.67.el6, qemu-kvm-0.12.1.2-2.66.el6, qemu-kvm-0.12.1.2-2.65.el6, qemu-kvm-0.12.1.2-2.64.el6, qemu-kvm-0.12.1.2-2.63.el6, qemu-kvm-0.12.1.2-2.62.el6, qemu-kvm-0.12.1.2-2.61.el6, qemu-kvm-0.12.1.2-2.60.el6, qemu-kvm-0.12.1.2-2.59.el6, qemu-kvm-0.12.1.2-2.58.el6, qemu-kvm-0.12.1.2-2.57.el6, qemu-kvm-0.12.1.2-2.56.el6, qemu-kvm-0.12.1.2-2.55.el6, qemu-kvm-0.12.1.2-2.54.el6, qemu-kvm-0.12.1.2-2.53.el6, qemu-kvm-0.12.1.2-2.52.el6, qemu-kvm-0.12.4, qemu-kvm-0.12.1.2-2.51.el6, qemu-kvm-0.12.1.2-2.50.el6, qemu-kvm-0.12.1.2-2.49.el6, v0.12.4, qemu-kvm-0.12.1.2-2.48.el6, qemu-kvm-0.12.1.2-2.47.el6, qemu-kvm-0.12.1.2-2.46.el6, qemu-kvm-0.12.1.2-2.45.el6, qemu-kvm-0.12.1.2-2.44.el6, qemu-kvm-0.12.1.2-2.43.el6, qemu-kvm-0.12.1.2-2.42.el6, qemu-kvm-0.12.1.2-2.40.el6, qemu-kvm-0.12.1.2-2.41.el6, qemu-kvm-0.12.1.2-2.39.el6, qemu-kvm-0.12.1.2-2.38.el6, qemu-kvm-0.12.1.2-2.37.el6, qemu-kvm-0.12.1.2-2.36.el6, qemu-kvm-0.12.1.2-2.35.el6, qemu-kvm-0.12.1.2-2.34.el6, qemu-kvm-0.12.1.2-2.33.el6, qemu-kvm-0.12.1.2-2.32.el6, qemu-kvm-0.12.1.2-2.31.el6, qemu-kvm-0.12.1.2-2.30.el6, qemu-kvm-0.12.1.2-2.29.el6, qemu-kvm-0.12.1.2-2.28.el6, qemu-kvm-0.12.1.2-2.27.el6, qemu-kvm-0.12.1.2-2.26.el6, qemu-kvm-0.12.1.2-2.25.el6, qemu-kvm-0.12.1.2-2.24.el6, qemu-kvm-0.12.3, v0.12.3, qemu-kvm-0.12.1.2-2.18.el6, qemu-kvm-0.12.1.2-2.17.el6, qemu-kvm-0.12.1.2-2.15.el6, qemu-kvm-0.12.1.2-2.16.el6, qemu-kvm-0.12.1.2-2.14.el6, qemu-kvm-0.12.1.2-2.13.el6, qemu-kvm-0.12.1.2-2.12.el6, qemu-kvm-0.12.1.2-2.11.el6, qemu-kvm-0.12.2, qemu-kvm-0.12.1.2-2.10.el6, qemu-kvm-0.12.1.2-2.6.el6, qemu-kvm-0.12.1.2-2.7.el6, qemu-kvm-0.12.1.2-2.8.el6, qemu-kvm-0.12.1.2-2.9.el6, v0.12.2, qemu-kvm-0.12.1.2-2.1.el6, qemu-kvm-0.12.1.2-2.2.el6, qemu-kvm-0.12.1.2-2.3.el6, qemu-kvm-0.12.1.2, qemu-kvm-0.12.1.1, qemu-kvm-0.12.1, v0.12.1, v0.12.0, qemu-kvm-0.12.0-rc2, v0.12.0-rc2, v0.12.0-rc1, v0.12.0-rc0, qemu-kvm-0.11.1, v0.11.1, qemu-kvm-0.11.0, v0.11.0, qemu-kvm-0.11.0-rc2, qemu-kvm-0.11.0-rc2-test1, v0.11.0-rc2, qemu-kvm-0.11.0-rc1, qemu-kvm-0.10.6
# 7cba04f6 01-Aug-2009 Blue Swirl <blauwirbel@gmail.com>

More NULL pointer fixes

Signed-off-by: Blue Swirl <blauwirbel@gmail.com>


12