Spice branches cleanup

Tuesday, May 9, 2017

Spent most of my day on Spice branches cleanup.

Checked with Christophe Fergeau about patches that had been ack'ed but not pushed yet. I was not too sure about the process.

Checkced that I still don't have access to freedesktop repositories. Just wait. In the meantime, publish on GitLab or GitHub.

Added some extra cleanup derived from my work on macOS.

Fixed a typo in my post about 3D-accelerated guests. The problem also existed on this labook April 6 entry, where I had lifted the faulty code from.

Wrote an anwer on Quora to the question "What happens to older programmers"

Still having issues with my Fedora-25 guest on Turbo. If I enable 3D acceleration, the guest stops. Hmm. Now, even if I disable 3D acceleration, it still seems to stop the same way.

To see the guest console, you need to:

  • Boot the guest, block it at the boot menu (it has to be on for the next step)
  • Launch virsh console f25-turbo to connect to guest console
  • Edit the boot entry to add console=ttyS0 to boot entry

This does not help much though:

         Starting Load/Save Random Seed...
[    5.069110] RPC: Registered named UNIX socket transport module.
[    5.070972] RPC: Registered udp transport module.
[    5.071754] RPC: Registered tcp transport module.
[    5.072554] RPC: Registered tcp NFSv4.1 backchannel transport module.
[  OK  ] Started Create Static Device Nodes in /dev.
         Starting udev Kernel Device Manager...
[  OK  ] Started Load/Save Random Seed.
[    5.170029] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[    5.302810] piix4_smbus 0000:00:01.3: SMBus Host Controller at 0x700, revision 0
[    5.356811] [drm] Initialized
[  OK  ] Mounted NFSD configuration filesystem.
[  OK  ] Started udev Kernel Device Manager.
[  OK  ] Found device /dev/disk/by-uuid/7b7d6716-597f-488e-9e4e-53f44b56550b.
[  OK  ] Found device /dev/disk/by-uuid/fea96608-9957-4804-9536-08f68b543d6a.
[  OK  ] Found device /dev/disk/by-uuid/ebe81bec-2ab8-419f-91df-fd6afd7c532f.
[  OK  ] Found device /dev/ttyS0.
         Activating swap /dev/disk/by-uuid/e...c-2ab8-419f-91df-fd6afd7c532f...
[  OK  ] Started Monitoring of LVM2 mirrors,...ng dmeventd or progress polling.
[    5.595753] Adding 2180092k swap on /dev/vda2.  Priority:-1 extents:1 across:2180092k FS
[  OK  ] Activated swap /dev/disk/by-uuid/ebe81bec-2ab8-419f-91df-fd6afd7c532f.
[  OK  ] Reached target Swap.
         Mounting Temporary Directory...
G[    5.974388] [drm] pci: virtio-vga detected at 0000:00:02.0
[    5.977291] ppdev: user-space parallel port driver
[    5.982841] [drm] virgl 3d acceleration enabled
[    5.983764] [drm] virtio vbuffers: 288 bufs, 192B each, 54kB total.
[    5.985158] [TTM] Zone  kernel: Available graphics memory: 1023428 kiB
[    5.985829] [TTM] Initializing pool allocator
[    5.986259] [TTM] Initializing DMA pool allocator
[    5.986750] [drm] number of scanouts: 1
[    5.987107] [drm] number of cap sets: 1

Nothing after that, the guest silently dies.

Ah, I need to return both the graphics and video sections in the configuration file to non-3D state for the guest to boot. Strange. I still get some errors, notably this:

[FAILED] Failed to start Flush Journal to Persistent Storage.

But after a long while, the guest comes up.

The Mac ran out of memory. Safari Networking was using 31GB of memory!