[libvirt-users] How to set guest console size in libvirt configuration options?

Roman Storozhenko romeusmeister at gmail.com
Wed May 24 13:40:33 UTC 2017


Hello, everybody

I use virsh to run my VM and QEMU as a hypervisor. 
When I connect to it, it shows me a console with a some predefined size.
I know that I am able to update grub configuration to pass the correct
size as a kernel command line option or use stty something like:

stty rows 62 cols 213

and it's resizes correctly.

But is there any way to define the console's size  outside the guest, in
the VM's configuration?





---
Thanks in advance,
Roman Storozhenko




More information about the libvirt-users mailing list