xen/sysvinit: add hvc0 console only if not there already
xen/sysvinit: add hvc0 console only if not there already

The base inittab recipe is creating inittab entries for consoles listed
in SERIAL_CONSOLES.
For qemu, this contains "115200,hvc0" so an entry is created in inittab
for it.
Prevent to create a second entry if hvc0 is present in SERIAL_CONSOLES.

On qemuarm, this solves issues with the console when starting on top of
Xen as dom0.

Signed-off-by: Bertrand Marquis <758fa4a2e90c17073199e531f16e0e5c319bb7a0@arm.com>
Signed-off-by: Bruce Ashfield <284cc737d174a260eec2a2a6324a304f84b1ae0f@gmail.com>

lgirdk/meta-virtualization,lgirdk/meta-virtualization,lgirdk/meta-virtualization,lgirdk/meta-virtualization,lgirdk/meta-virtualization