]> git.ipfire.org Git - thirdparty/qemu.git/commit
ppc/pegasos2: Fix spurious warning with -bios
authorBALATON Zoltan <balaton@eik.bme.hu>
Thu, 15 Jul 2021 16:50:44 +0000 (18:50 +0200)
committerDavid Gibson <david@gibson.dropbear.id.au>
Thu, 29 Jul 2021 00:59:49 +0000 (10:59 +1000)
commit6ebc0048dd8ff93c2847739599afa630f3d9dabd
treee7c14cd1c25b14fc79ce35a3f9ac8b4dcb5006b2
parent69ea12b19a15ae006521cd5cc0f627f27f738746
ppc/pegasos2: Fix spurious warning with -bios

The -append option is currently not compatible with -bios (as we don't
yet emulate nvram so we can only put it in the environment with VOF).
Therefore a warning is printed if -append is used with -bios but
because the default value of kernel_cmdline seems to be an empty
string instead of NULL this warning was printed even without -append
when -bios is used. Only print warning if -append is given.

Signed-off-by: BALATON Zoltan <balaton@eik.bme.hu>
Message-Id: <483ac599a1407b766179aaea2794aed60cc09f53.1626367844.git.balaton@eik.bme.hu>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
hw/ppc/pegasos2.c