diff options
| author | Markus Armbruster | 2010-02-17 18:07:48 +0100 |
|---|---|---|
| committer | Markus Armbruster | 2010-03-16 16:55:05 +0100 |
| commit | d9346e81de83a99ac20d94d6598ae927895cb9ef (patch) | |
| tree | eadd1088a094b82ef3d901a83efb1e407ca164d5 /linux-user/linuxload.c | |
| parent | pc: Fix error reporting for -boot once (diff) | |
| download | qemu-d9346e81de83a99ac20d94d6598ae927895cb9ef.tar.gz qemu-d9346e81de83a99ac20d94d6598ae927895cb9ef.tar.xz qemu-d9346e81de83a99ac20d94d6598ae927895cb9ef.zip | |
pc: Factor common code out of pc_boot_set() and cmos_init()
Code duplicated in commit 0ecdffbb. The two versions are similar, but
not identical:
* cmos_init() reports errors to stderr, pc_boot_set() via
qemu_error(). The latter is fine for both, so pick that for the
common code.
* cmos_init() obeys fd_bootchk, pc_boot_set() ignores it. Make it a
parameter of the common code.
Diffstat (limited to 'linux-user/linuxload.c')
0 files changed, 0 insertions, 0 deletions
