Comment 1 for bug 1923865

Revision history for this message
Joshua Powers (powersj) wrote :

Per LP: #1915571 as soon as I set console=ttyS0 in the kernel cmdline, the image is able to boot in qemu with output to the console. As such, I think this is really a duplicate of bug LP: #1915571.

To test this out I downloaded the image, modified /boot/grub/grub.cfg to remove quiet and add "console=ttyS0", and then booted the image with:

qemu-system-x86_64 \
  -cpu host -machine type=q35,accel=kvm -m 2048 \
  -nographic \
  -snapshot \
  -netdev id=net00,type=user,hostfwd=tcp::2222-:22 \
  -device virtio-net-pci,netdev=net00 \
  -drive if=virtio,format=qcow2,file=xenial-server-cloudimg-amd64-disk.img \
  -drive if=virtio,format=raw,file=seed.img

Prior to this change, I did not get any output to the console and it appeared like the image was not booting.

I'll mark this as incomplete for now. Thoughts?