Skip to content

[enhancement] Allow libvirt to show the CRC console by default #4972

@kpouget

Description

@kpouget

Currently, on Linux, CRC starts the VM with stdio serial and console.

The libvirt VM creation could be updated to use pty, so that virsh console crc works out of the box.

The XML should look like this for the console to work:

    <serial type='pty'>
      <target type='isa-serial' port='0'>
        <model name='isa-serial'/>
      </target>
    </serial>
    <console type='pty'>
      <target type='serial' port='0'/>
    </console>

(s/type='stdio'/type='pty')

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions