安装了关于qmue,kvm,virt-manager所有的包
celt-0.5.1.3.tar.gz
qcairo-1.8.7.1-git74d6b5.tar.bz2
qemu-0.14.0.tar.gz
qpixman-0.13.3-git20090127.tar.bz2
spice-0.8.1.tar.bz2
spice-protocol-0.8.0.tar.bz2
配置了虚拟网络
在libvirt软件包安装完成之后,会默认配置一个虚拟的网络桥接设备virbr0。它提供了一个虚拟网络供guest使用(通过NAT转发,提供从guest到外部网络-outbound的通讯)。其默认ip地址为192.168.122.x。
如果要获得完整的网络访问(inbound/outbound),进行如下配置(可选):
sudo apt-get install bridge-utils
sudo vi /etc/network/interfaces
内容如下:
auto lo
iface lo inet loopback
# 添加以下部分
auto eth0
iface eth0 inet dhcp
auto br0
iface br0 inet dhcp
bridge_ports eth0
bridge_fd 9
bridge_hello 2
bridge_maxage 12
bridge_stp off
重启网络
sudo /etc/init.d/networking restart
检测网络配置
ifconfig
用virt-manager启动
最后报错了,很苦恼阿!请大家看看问题处在那里!
无法完成安装:'unsupported configuration: spicevmc not supported in this QEMU binary'
Traceback (most recent call last):
File "/usr/share/virt-manager/virtManager/asyncjob.py", line 44, in cb_wrapper
callback(asyncjob, *args, **kwargs)
File "/usr/share/virt-manager/virtManager/create.py", line 1899, in do_install
guest.start_install(False, meter=meter)
File "/usr/lib/pymodules/python2.7/virtinst/Guest.py", line 1223, in start_install
noboot)
File "/usr/lib/pymodules/python2.7/virtinst/Guest.py", line 1291, in _create_guest
dom = self.conn.createLinux(start_xml or final_xml, 0)
File "/usr/lib/python2.7/dist-packages/libvirt.py", line 1686, in createLinux
if ret is None:raise libvirtError('virDomainCreateLinux() failed', conn=self)
libvirtError: unsupported configuration: spicevmc not supported in this QEMU binary
ubuntu11.10创建虚拟机使用spice支持--总有这样那样的问题
-
- 帖子: 1
- 注册时间: 2012-03-01 14:27
-
- 帖子: 46
- 注册时间: 2011-10-31 12:00
-
- 帖子: 22
- 注册时间: 2005-05-29 14:55
Re: ubuntu11.10创建虚拟机使用spice支持--总有这样那样的问题
需要64位的Ubuntu,
- wtry
- 帖子: 923
- 注册时间: 2009-03-18 9:26
Re: ubuntu11.10创建虚拟机使用spice支持--总有这样那样的问题
我的arch
virt-manage
从来都没能用过!
现在想折腾vde……
virt-manage
从来都没能用过!
现在想折腾vde……