qemu: Fix starting of VMs with empty CDROM drives
Since 24e5cafb (thankfully unreleased) when a VM with an empty disk drive would be started the code would call stat() on NULL path as a check was missing from the callback rendering machines unstartable. Report success when the path is empty (denoting an empty drive).
Showing
想要评论请 注册 或 登录