Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion testcloud/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ def DATA_DIR(self, value):

# Extra cmdline args for the qemu invocation.
# Customize as needed :)
CMD_LINE_ARGS = []
CMD_LINE_ARGS = ["-append", "console=tty0 console=ttyS0,115200n8"]
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should go into the libvirt vm template instead of the default qemu args.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hmmm, I checked with the current implement, it works, if I add <cmdline>console=tty0 console=ttyS0,115200n8</cmdline> to generate of domain_configuration.py, it failed:

libvirt: QEMU Driver error : internal error: process exited while connecting to monitor: 2025-11-27T22:45:27.103873Z qemu-system-x86_64: -append only allowed with -kernel option
  Instance startup failed, retrying in 5 seconds...
  libvirt: QEMU Driver error : internal error: process exited while connecting to monitor: 2025-11-27T22:45:32.170500Z qemu-system-x86_64: -append only allowed with -kernel option

any clue on how to fix it? 😐

CMD_LINE_ENVS = {}

# Extra coreos cmdline args for the qemu invocation.
Expand Down