On 08/03/2014 10:22 PM, Richard W.M. Jones wrote: > Confusingly real ARM hardware can have either PC-like 8250 devices, > which the Linux kernel calls /dev/ttyS0, or ARM-only PL011-based > /dev/ttyAMA0. > > qemu can emulate either, but the default for `-M virt' is the PL011 > so /dev/ttyAMA0. > > Change the warning message so it uses ttyAMA0 instead. > --- > virt-install | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/virt-install b/virt-install > index 0f09153..fdd8d9d 100755 > --- a/virt-install > +++ b/virt-install > @@ -358,10 +358,13 @@ def _show_nographics_warnings(options, guest): > return > > serial_arg = "console=ttyS0" > + serial_arm_arg = "console=ttyAMA0" > virtio_arg = "console=hvc0" > console_type = None > if guest.conn.is_test() or guest.conn.is_qemu(): > console_type = serial_arg > + if guest.os.arch.startswith("arm") or guest.os.arch == "aarch64": > + console_type = serial_arm_arg > if guest.get_devices("console")[0].target_type == "virtio": > console_type = virtio_arg > > ACK and pushed, thanks! - Cole _______________________________________________ virt-tools-list mailing list virt-tools-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/virt-tools-list