quickemu-project / quickemu

Quickly create and run optimised Windows, macOS and Linux virtual machines
MIT License
9.91k stars 438 forks source link

feat: Please display the active resolution in the startup summary #1196

Closed popey closed 2 months ago

popey commented 2 months ago

Expected behavior

Sometimes, I start VMs in all manner of random resolutions, and when I look at the output, I can't tell which resolution is being used.

Please add something that tells me the resolution of this run to the summary on launch.

e.g.

 - Display:  NONE, virtio-gpu, GL (on), VirGL (off)
 - Resolution: 3840x2160

Actual behavior

Quickemu 4.9.4 using /usr/bin/qemu-system-x86_64 v8.2.2
 - Host:     Ubuntu 24.04 LTS running Linux 6.8 (ziggy)
 - CPU:      AMD Ryzen 7 PRO 6860Z with Radeon Graphics
 - CPU VM:   1 Socket(s), 4 Core(s), 2 Thread(s), 8G RAM
 - BOOT:     EFI (Linux), OVMF (/usr/share/OVMF/OVMF_CODE_4M.fd), SecureBoot (off).
 - Disk:     ubuntu-24.04/disk.qcow2 (16G)
             Just created, booting from ubuntu-24.04/ubuntu-24.04-desktop-amd64.iso
 - Boot ISO: ubuntu-24.04/ubuntu-24.04-desktop-amd64.iso
 - Display:  NONE, virtio-gpu, GL (on), VirGL (off)
 - Sound:    intel-hda
 - ssh:      On host:  ssh user@localhost -p 22220
 - SPICE:    On host:  spicy --title "ubuntu-24.04" --port 5930 --spice-shared-dir /home/alan/
 - WebDAV:   On guest: dav://localhost:9843/
 - 9P:       On guest: sudo mount -t 9p -o trans=virtio,version=9p2000.L,msize=104857600 Public-alan ~/alan
 - smbd:     On guest: smb://10.0.2.4/qemu
 - Network:  User (virtio-net)
 - Monitor:  On host:  nc -U "ubuntu-24.04/ubuntu-24.04-monitor.socket"
             or     :  socat -,echo=0,icanon=0 unix-connect:ubuntu-24.04/ubuntu-24.04-monitor.socket
 - Serial:   On host:  nc -U "ubuntu-24.04/ubuntu-24.04-serial.socket"
             or     :  socat -,echo=0,icanon=0 unix-connect:ubuntu-24.04/ubuntu-24.04-serial.socket
 - Process:  Starting ubuntu-24.04.conf as ubuntu-24.04 (534968)

Thanks!