RE: KVM-Qemu could not open disk image

"[email protected]" <[email protected]> Tue, 15 Jul 2014 11:25:27 +0200
Newsgroups gmane.linux.redhat.general
Message-ID <80004E449FAD984ABBAF9939B1F8798701CF0DCA5AA9@MBXVS04.hosting01.active24.com>
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: [email protected] [[email protected]] On Behalf Of Aaron Siegel [[email protected]]
Sent: Tuesday, July 15, 2014 02:32
To: [email protected]
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:[email protected]?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

-- 
redhat-list mailing list
unsubscribe mailto:[email protected]?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list