qemu-kvm篇

问题1:系统centos6.5,qemu-kvm编译安装,configure时报error: Error:libpci check failed Disable KVM Device Assignment capability

解决:yum install pciutils-devel

问题2:系统fedora19,qemu-1.6.2带spice支持编译安装,configure –enable-spice时报错: ERROR:User requested feature spice configure was not able to find it

解决:yum install spice-server-devel spice-protocol spice-server

问题3:找寻centos对应的qemu-kvm源码包

解决:http://vault.centos.org/6.5/updates/Source/SPackages/

问题4:centos6.5上安装的node,不支持动态快照,查看log报错: libvirtError:unsupported configuration:reuse is not supported with this QEMU binary

解决:centos上的qemu-kvm不支持动态快照,要安装rhel上的qemu,下载对应版本的qemu-kvm-rhev,qemu-kvm-rhev-tools,qemu-img-rhev

一般问题篇:

问题1:系统fedora19,yum update时出现metadata file does not match checksum

解决:
/etc/yum.conf加上http_caching=none
yum clean all  
yum clean metadata  
yum makecache

如果还是不行,比如遇到adobe更新不了,使用yum update –disablerepo=adobe-linux-x86_64避免更新adobe

问题2:src.rpm包安装时报错:warning:user mockbuild does not exist - using root

解决:useradd -s /sbin/nologin mockbuild

问题3:Device does not seem to be present

解决:rm /etc/udev/rules.d/70-persistent-net.rules

问题4:虚拟机开机报错:Inodes that were part of a corrupted orphan linked list found

解决:fsck -y -c