Just updated to Ubuntu 23.04 Lunar Lobster. I run it without desktop UI. Every time I run “virsh start”, the screen gets locked up. Everything else including the VM works absolutely fine. I can ssh to the host and remote to the guest without problem. I am just not able to see any output from the physical screen. I don’t have this issue in Ubuntu 22.04. Here is the output of dmesg.
I believe the culprit is “Console: switching to colour dummy device 80x25”. I don’t know why it happens and how to prevent it happening.
It is not related to hardware passthrough. Yes, I also tested it with a VM without any hardware passthrough, same issue.
[Sat Apr 22 23:25:43 2023] audit: type=1400 audit(1682220343.263:97): apparmor="STATUS" operation="profile_load" profile="unconfined" name="libvirt-e3b05049-8201-4447-a4b3-b310220cc5bd" pid=11028 comm="apparmor_parser"
[Sat Apr 22 23:25:43 2023] audit: type=1400 audit(1682220343.347:98): apparmor="STATUS" operation="profile_replace" profile="unconfined" name="libvirt-e3b05049-8201-4447-a4b3-b310220cc5bd" pid=11031 comm="apparmor_parser"
[Sat Apr 22 23:25:43 2023] audit: type=1400 audit(1682220343.447:99): apparmor="STATUS" operation="profile_replace" profile="unconfined" name="libvirt-e3b05049-8201-4447-a4b3-b310220cc5bd" pid=11035 comm="apparmor_parser"
[Sat Apr 22 23:25:43 2023] VFIO - User Level meta-driver version: 0.3
[Sat Apr 22 23:25:43 2023] Console: switching to colour dummy device 80x25
[Sat Apr 22 23:25:43 2023] vfio-pci 0000:01:00.0: vgaarb: changed VGA decodes: olddecodes=io+mem,decodes=io+mem:owns=none
[Sat Apr 22 23:25:43 2023] vfio_pci: add [10de:2782[ffffffff:ffffffff]] class 0x000000/00000000
[Sat Apr 22 23:25:43 2023] vfio_pci: add [10de:22bc[ffffffff:ffffffff]] class 0x000000/00000000
[Sat Apr 22 23:25:43 2023] xhci_hcd 0000:14:00.0: remove, state 4
[Sat Apr 22 23:25:43 2023] usb usb9: USB disconnect, device number 1
[Sat Apr 22 23:25:43 2023] xhci_hcd 0000:14:00.0: USB bus 9 deregistered
[Sat Apr 22 23:25:43 2023] xhci_hcd 0000:14:00.0: remove, state 1
[Sat Apr 22 23:25:43 2023] usb usb2: USB disconnect, device number 1
[Sat Apr 22 23:25:43 2023] usb 2-6: USB disconnect, device number 2
[Sat Apr 22 23:25:43 2023] usb 2-7: USB disconnect, device number 3
[Sat Apr 22 23:25:43 2023] usb 2-8: USB disconnect, device number 4
[Sat Apr 22 23:25:43 2023] usb 2-9: USB disconnect, device number 5
[Sat Apr 22 23:25:43 2023] xhci_hcd 0000:14:00.0: USB bus 2 deregistered
[Sat Apr 22 23:25:44 2023] audit: type=1400 audit(1682220344.403:100): apparmor="STATUS" operation="profile_replace" profile="unconfined" name="libvirt-e3b05049-8201-4447-a4b3-b310220cc5bd" pid=11082 comm="apparmor_parser"
[Sat Apr 22 23:25:44 2023] audit: type=1400 audit(1682220344.491:101): apparmor="STATUS" operation="profile_replace" info="same as current profile, skipping" profile="unconfined" name="libvirt-e3b05049-8201-4447-a4b3-b310220cc5bd" pid=11087 comm="apparmor_parser"
[Sat Apr 22 23:25:45 2023] vfio-pci 0000:03:11.7: enabling device (0000 -> 0002)
[Sat Apr 22 23:25:45 2023] vfio-pci 0000:01:00.0: vfio_ecap_init: hiding ecap 0x1e@0x258
[Sat Apr 22 23:25:45 2023] vfio-pci 0000:01:00.0: vfio_ecap_init: hiding ecap 0x19@0x900
[Sat Apr 22 23:25:45 2023] vfio-pci 0000:01:00.0: vfio_ecap_init: hiding ecap 0x26@0xc1c
[Sat Apr 22 23:25:45 2023] vfio-pci 0000:01:00.0: vfio_ecap_init: hiding ecap 0x27@0xd00
[Sat Apr 22 23:25:45 2023] vfio-pci 0000:01:00.0: vfio_ecap_init: hiding ecap 0x25@0xe00
[Sat Apr 22 23:25:46 2023] vfio-pci 0000:01:00.1: vfio_ecap_init: hiding ecap 0x25@0x160
[Sat Apr 22 23:25:49 2023] vfio-pci 0000:14:00.0: AMD-Vi: Event logged [IO_PAGE_FAULT domain=0x002d address=0xe8700 flags=0x0000]
[Sat Apr 22 23:26:03 2023] ixgbe 0000:03:00.1 eth11: VF Reset msg received from vf 7
[Sat Apr 22 23:26:03 2023] ixgbe 0000:03:00.1 eth11: VF Reset msg received from vf 7