关于Fedora16下用虚拟机安装Redhat6 ISO等系统报错误“Could not allocate dynamic translator buff”解决方法

本文详细介绍了如何解决在使用QEMU和libvirt集成时遇到的SELinux政策阻止问题,并通过安装KVM内核模块解决了虚拟机在BIOS设置开启的情况下无法正常启动的问题。包括使用特定命令创建selinux模块,重启域,检查虚拟机在BIOS中的设置状态,以及安装dmidecode包来解决虚拟机安装挂起问题。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

详细bug描述见

https://bugzilla.redhat.com/show_bug.cgi?id=753589


Summary from bug:

1. SELinux policy blocks QEMU,disable SELinux or put it into permissive mode,it was not allowing to connect to libvird 

i created a selinux module using following command

[root@localhost ~]# cat /var/log/audit/audit.log | audit2allow -M libvirt

[root@localhost ~]# semodule -i  libvirt.pp

and its simply fixed my issue.

2. restart your domain by running:
virsh --connect qemu:///system start Silver-Surfer


3. CHECK TO MAKE SURE THAT THE
VIRTUAL MACHINE SETTING IN THE BIOS IS TURNED ON!!!! 

4. make sure that the kvm-intel or -adm kernel module is
loaded
# modprobe kvm_intel 
FATAL: Error inserting kvm_intel
(/lib/modules/3.1.2-1.fc16.x86_64/kernel/arch/x86/kvm/kvm-intel.ko): Operation
not supported

Also, make sure that the /dev/kvm is in the filesystem too. 

Also, I found another problem that I had to fix... And this was in the
/var/log/libvirt/libvirtd.log file.. When I tried to install a guest, it got
hung up.. and got this message...

 virSysinfoRead:465 : internal error Failed to find path for dmidecode binary

Yep.. had to install that package dmidecode, once I did that, then the guests
can be installed. 

Jon



评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值