Re: [libvirt] Create a new VM from an existent image?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Jun Koi wrote:
> On Fri, Jul 17, 2009 at 10:42 PM, Cole Robinson<crobinso@xxxxxxxxxx> wrote:
>> Jun Koi wrote:
>>> Hi,
>>>
>>> To use libvirt, I am strying to use virt-install to create a new VM
>>> from an existent (KVM) VM image. I did the following steps:
>>>
>>> 1) run libvirtd with "libvirtd -d" (I use the latest libvirt git tree)
>>>
>>> 2) Run virt-install (0.400.3) with my existent image in img/img.winxp
>>>
>>> # virt-install --import -n winxp -f img/img.xp3 --vnc --hvm
>>> --accelerate --ram 800
>>>
>> That looks fine.
>>
>>> However, this step returns error like:
>>>
>>> "ERROR    Could not find usable default libvirt connection."
>>>
>> If 'virsh --connect qemu:///system' doesn't work, you probably didn't
>> configure your libvirt install correctly.
>>
> 
> But it works! So the problem stays elsewhere.
> 
> Do you have any suggestion?
> 

Hmm, then you probably need this patch to virtinst, since our URI detection
likely isn't as thorough as libvirt:

http://hg.et.redhat.com/cgi-bin/hg-virt.cgi/applications/virtinst--devel/rev/030fbc6df74f

- Cole

--
Libvir-list mailing list
Libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]