我想在运行 Debian Wheezy 时使用 kvm 或 xen 启动并运行 Windows 8。实际上我已经在外部 USB 磁盘上安装了 Windows 8,在SATA硬盘上安装了 Debian Wheezy。我正在尝试使用虚拟机管理器。问题是我无法使其正常工作。事实上,我尝试以两种不同的方式启动它,如下所示:
root@localhost:/home/marietto# virt-manager --no-fork
p11-kit: invalid config filename, will be ignored in the future: /etc/pkcs11/modules/gnome-keyring-module
/usr/share/virt-manager/virt-manager.py:306: DeprecationWarning: Importing dbus.glib to use the GLib main loop with dbus-python is deprecated.
Instead, use this sequence:
from dbus.mainloop.glib import DBusGMainLoop
DBusGMainLoop(set_as_default=True)
import dbus.glib
(virt-manager:4796): GConf-WARNING **: Client failed to connect to the D-BUS daemon:
Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
像这样:
marietto@localhost:~$ virt-manager --no-fork
Unable to connect to libvirt.
Verify that the 'libvirtd' daemon is running.
Libvirt URI is: qemu:///system
Traceback (most recent call last):
File "/usr/share/virt-manager/virtManager/connection.py", line 1185, in _open_thread
self.vmm = self._try_open()
File "/usr/share/virt-manager/virtManager/connection.py", line 1167, in _try_open
flags)
File "/usr/lib/python2.7/dist-packages/libvirt.py", line 102, in openAuth
if ret is None:raise libvirtError('virConnectOpenAuth() failed')
libvirtError: Failed to connect socket to '/var/run/libvirt/libvirt-sock': File o directory non esistente
但这在两种情况下都不起作用。你能给我一些解决问题的建议吗?谢谢。