Eric Blake
2012-Apr-19 21:36 UTC
[libvirt-users] Creating Domain and moving a kvm disk under libvirt control
On 04/19/2012 04:28 PM, James Allsopp wrote:> Hi, > I'm trying to start using libvirt on my debian machine, but am having > some issues. Regardless of using command-line or gui interface with > virt-manager, building the virtual machine stalls on 0 with no > indication of why it has stopped working. How do I go about fixing this > or diagnosing this problem.You aren't giving us much to go on. Have you looked at the troubleshooting wiki page, to see if any of those symptoms appear to match your situation? http://wiki.libvirt.org/page/Troubleshooting What versions of libvirt and qemu-kvm do you have installed? What command line are you executing when you hit your failure? Have you looked for log files, such as /var/log/libvirt/qemu/$dom.log, for clues?> > Also I've a .img file that work s with KVM, would there be anyway to > import it for use with libvirt?Yes, virt-manager can reuse an existing disk instead of creating new storage when using it to wire up a domain. Another idea is to create a domain using a scratch image location, then use 'virsh edit' and look for the <disk> designation of that location, and edit it to point instead to your pre-existing .img file. -- Eric Blake eblake at redhat.com +1-919-301-3266 Libvirt virtualization library http://libvirt.org -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 620 bytes Desc: OpenPGP digital signature URL: <http://listman.redhat.com/archives/libvirt-users/attachments/20120419/ebb652f5/attachment.sig>
James Allsopp
2012-Apr-19 22:28 UTC
[libvirt-users] Creating Domain and moving a kvm disk under libvirt control
Hi, I'm trying to start using libvirt on my debian machine, but am having some issues. Regardless of using command-line or gui interface with virt-manager, building the virtual machine stalls on 0 with no indication of why it has stopped working. How do I go about fixing this or diagnosing this problem. Also I've a .img file that work s with KVM, would there be anyway to import it for use with libvirt? Thanks James
Possibly Parallel Threads
- Linear least squares fit with errors in both x and y values.
- problem when using qemu 2.0.0 + libvirt 1.2.6
- Re: [libvirt] libvirt external disk-only snapshot will pause the VM?
- libvirt external disk-only snapshot will pause the VM?
- How to attach USB disk to specified USB controller in domian?