redirect console to file and restore user owner on domain destroy

2022-11-18 Thread Darragh Bailey
Hi, I'm generating some domain XML to have the serial console output sent to a file for subsequent debug after the domain is no longer running. I'm noticing that the file ends up being owned by root with permissions of 600. I expected that it would need to be owned by root when the VM was running

Fwd: Libvirt slow after a couple of months uptime

2022-11-18 Thread André Malm
Further investigating this it indeed seems like libvirtd is stuck in a busy-loop in the event loop. It repeatedly reads and writes from fd 10; read(10, "\2\0\0\0\0\0\0\0", 16)    = 8 write(10, "\1\0\0\0\0\0\0\0", 8)    = 8 fd 10 being; 10u  a_inode   0,14    0  128