On Wed, May 24, 2017 at 04:40:33PM +0300, Roman Storozhenko wrote: > 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? Unfortunately that's not possible, nor can we notify the guest of resizes on the client end. Honestly the 'virsh console' is best used only in emergencies when the VM doesn't boot. Any other time it is better to just use SSH, which correctly deals with resizing consoles. Regards, Daniel -- |: https://berrange.com -o- https://www.flickr.com/photos/dberrange :| |: https://libvirt.org -o- https://fstop138.berrange.com :| |: https://entangle-photo.org -o- https://www.instagram.com/dberrange :| _______________________________________________ libvirt-users mailing list libvirt-users@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvirt-users