KVM Virsh Console To Physical Console?

Home » CentOS » KVM Virsh Console To Physical Console?
CentOS 2 Comments

I’m preparing to virtualize a Windows server onto a Linux system under virsh. Initial results are looking good, but an issue that’s come up is the need to log into the Linux system prior to being able to access the Windows system for updates.

Is there a way to “connect” the virsh console directly to a physical Linux terminal?

EG: Ctl+Alt+F8 to access the Windows virsh console for Windows Server

Thank you

Ben Smith

2 thoughts on - KVM Virsh Console To Physical Console?

  • You could do something like “openvt virsh console mywindowsvm”, which would run “virsh” on the first unused VT.  (Assuming you’ve set up serial console support in the VM.)  That seems like it’s not a great solution in general, since it doesn’t scale up to many VMs

  • Il 12/02/22 00:33, Lists ha scritto:

    Hi, I’m in late.

    If you are using virsh, you are using libvirt. From what I know you can connect a virt-manager (and probably cockpit) to te libvirtd of the host system (where the Guest runs) from another workstation using virt-manager or cockpit via browser.

    Hope that helps