[CentOS-virt] virsh error: driver is not whitelisted
Marco Aurelio L. Gomes
mgomes at ncc.unesp.br
Wed Apr 19 19:24:19 UTC 2017
As you suggested, I build the qemu-kvm-ev package from the SRPM, modify
the configure script to include the vvfat driver to the whitelist,
install the new binaries and now the instance could start.
Thanks for your help!
NCC - UNESP
On 2017-04-19 13:52, Johnny Hughes wrote:
> On 04/19/2017 10:00 AM, Marco Aurelio L. Gomes wrote:
>> I'm using virsh to instance a VM in my environment, but I'm running on
>> some issues.
>> I got the following error:
>> error: Failed to create domain from domain.xml
>> error: internal error: qemu unexpectedly closed the monitor:
>> 2017-04-17T17:00:37.012369Z qemu-kvm: -drive
>> Driver 'vvfat' is not whitelisted
>> If I comment the disk that cause this error, the instance starts
>> error. Is there a way to whitelist this vvfat driver to instance this
>> And the strange thing about this error is that when I check the
>> available drives, there is vvfat in the list:
>> /usr/libexec/qemu-kvm -drive format=?
>> Supported formats: ftps http null-aio null-co file quorum blkverify
>> vvfat blkreplay qed raw qcow2 bochs dmg vmdk parallels vhdx vpc https
>> sheepdog host_cdrom ssh host_device nbd gluster qcow iscsi rbd tftp
>> vdi blkdebug luks cloop
>> Here some information about the environment:
>> cat /etc/redhat-release
>> CentOS Linux release 7.3.1611 (Core)
>> virsh --version
>> /usr/libexec/qemu-kvm --version
>> QEMU emulator version 2.6.0 (qemu-kvm-ev-2.6.0-28.el7_3.6.1),
>> (c) 2003-2008 Fabrice Bellard
>> Thanks in advance for the help
> If you look here:
> The things supported by qemu-img and qemu are not necessarily the same.
> If you look at the last qemu-kvm.spec file, you can see what is set to
> rw and ro:
> So, those listed files are the only ones that will work.
> You would need to recompile the qemu-kvm RPMs after modifying those
> whitelist lines in the spec file if you want to add things to the
> CentOS-virt mailing list
> CentOS-virt at centos.org
More information about the CentOS-virt