我正在尝试使用VirtualBox作为虚拟化解决方案开始使用libvirt.我安装了所有东西,VirtualBox本身在使用他们的VBoxHeadless命令时正在运行.但是,libvirt无法连接到VirtualBox:
# virsh -c vbox:///session
libvir: error : could not connect to vbox:///session
error: failed to connect to the hypervisor
Run Code Online (Sandbox Code Playgroud)
我在libvirt文档中找不到任何提示,指出在使用virsh之前是否必须进行任何特定于域的配置.
有人有提示吗?或者甚至更好,也许是一个从头开始使用libvirt,virsh或它的API(我后来的目标)的方法.