KVM-Qemu could not open disk image

postmaster at ronno.nl postmaster at ronno.nl
Tue Jul 15 09:25:27 UTC 2014


It looks there is a typo in the "/var/lib/libvirt/images/test.img"

Maybe a " ' " to much or less.

Kind regards,

Ron de Kuijer

________________________________________
From: redhat-list-bounces at redhat.com [redhat-list-bounces at redhat.com] On Behalf Of Aaron Siegel [admin at siegel-tech.net]
Sent: Tuesday, July 15, 2014 02:32
To: redhat-list at redhat.com
Subject: KVM-Qemu could not open disk image

Hello

I have installed an evaluation of RHEL 7.  I receive an error when
trying to install a virtual machine using virt-manager. I receive the
following errow when KVM is initiated:

Unable to complete install: 'internal error: process exited while
connecting to monitor: qemu-kvm: -drive
file=/var/lib/libvirt/images/test.img,if=none,id=drive-ide0-0-0,format=raw,cache=none: could not open disk image /var/lib/libvirt/images/test.img: Could not open file: Invalid argument
'

Traceback (most recent call last):
  File "/usr/share/virt-manager/virtManager/asyncjob.py", line 100, in
cb_wrapper
    callback(asyncjob, *args, **kwargs)
  File "/usr/share/virt-manager/virtManager/create.py", line 1925, in
do_install
    guest.start_install(False, meter=meter)
  File "/usr/share/virt-manager/virtinst/Guest.py", line 1143, in
start_install
    noboot)
  File "/usr/share/virt-manager/virtinst/Guest.py", line 1211, in
_create_guest
    dom = self.conn.createLinux(start_xml or final_xml, 0)
  File "/usr/lib64/python2.7/site-packages/libvirt.py", line 2892, in
createLinux
    if ret is None:raise libvirtError('virDomainCreateLinux() failed',
conn=self)
libvirtError: internal error: process exited while connecting to
monitor: qemu-kvm: -drive
file=/var/lib/libvirt/images/test.img,if=none,id=drive-ide0-0-0,format=raw,cache=none: could not open disk image /var/lib/libvirt/images/test.img: Could not open file: Invalid argument

I have edited the user and group in the /etc/libvirt/qemu.conf file to
different and chown the directory /var/lib/libvirt/qemu. I have also
allowed rw to everyone to the entire /var/lib/libvirt directory. Nothing
is working.

--
redhat-list mailing list
unsubscribe mailto:redhat-list-request at redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list




More information about the redhat-list mailing list