<div dir="ltr"><div>I used to have QEMU/KVM and Virtual Machine Manager running on ubuntu 16.04 and used to start my VM from crontab as:</div><div><br></div><div>@reboot sleep 30 && virsh start <span>WINDOWS10</span></div><div><br></div><div>After upgrading to ubuntu 18.04 this stopped working, with error:</div><div><br></div><div>error: failed to get domain '<span>WINDOWS10</span>'<br>
error: Domain not found: no domain with matching name '<span>WINDOWS10</span>'</div><div><br></div><div>Running command as "virsh start <span>WINDOWS10</span>" works fine.</div><div><br></div><div>I am trying to use Virtual Machine Manager to autostart my VM and it simply does not work.</div><div><br></div><div>Here is more info on the VM:</div><div><br></div><div>virsh dominfo WINDOWS10<br>Id:             2<br>Name:           WINDOWS10<br>UUID:           32faf348-f54e-445a-90cc-e64d28d9d396<br>OS Type:        hvm<br>State:          running<br>CPU(s):         4<br>CPU time:       4846.0s<br>Max memory:     8192000 KiB<br>Used memory:    8192000 KiB<br>Persistent:     yes<br>Autostart:      enable<br>Managed save:   no<br>Security model: apparmor<br>Security DOI:   0<br>Security label: libvirt-32faf348-f54e-445a-90cc-e64d28d9d396 (enforcing)</div><div><br></div><div>Sounds like a bug to me.<br></div><div>Any help appreciated.<br> </div></div>