RE: messed up with xml-files and configuration of a VM - SOLVED

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

 




> -----Original Message-----
> From: kvm-owner@xxxxxxxxxxxxxxx
> [mailto:kvm-owner@xxxxxxxxxxxxxxx] On Behalf Of Lentes, Bernd
> Sent: Tuesday, November 20, 2012 5:14 PM
> To: KVM-ML (kvm@xxxxxxxxxxxxxxx)
> Subject: messed up with xml-files and configuration of a VM
>
> Hi,
>
> first, i'm new to kvm. I'm running KVM on a sles 11 sp2,
> kernel 3.0.13-0.27-default. My guest is an Ubuntu 12.0.4 LTS 64bit.
> The guest has attached a CDROM, using an iso-file from a
> CIFS-Share. I detached it with the virtual machine manager (0.9.0).
> I don't see the cd-rom anymore in the virtual machine
> manager. But when i try to start the vm, it complains about
> the missing iso-file.
> Why ? I detached it.
> When i like to have a look in the xml-files of the guest, i
> found three ! One in /var/lib/kvm/images, one in
> /etc/libvirt/qemu and one in /etc/kvm/vm.
> Which one should i use to configure the vm ? In the one in
> /etc/libvirt/qemu the cifs-share isn't mentioned any longer,
> in the other two it is still.
> Is it possible to configure the vm editing one of the XML-files ?
> Or shall i use virsh ? Using virsh, does the vm has to be
> stopped or can i edit the configuration for a running vm ?
> Why three xml-files ? Why is detaching with the virtual
> machine manager not working ?
>
> Thanks for any inspiration.
>
>
Hi,

i found it myself:
http://wiki.libvirt.org/page/FAQ#What_is_the_.27virsh_edit.27_command_and_how_do_I_use_it.3F suggests to change configuration using "virsh edit".

I solved the problem with the iso-file reconnecting again the iso-file and disconnecting it afterwards. Now the vm is starting properly.


Bernd

Helmholtz Zentrum München
Deutsches Forschungszentrum für Gesundheit und Umwelt (GmbH)
Ingolstädter Landstr. 1
85764 Neuherberg
www.helmholtz-muenchen.de
Aufsichtsratsvorsitzende: MinDir´in Bärbel Brumme-Bothe
Geschäftsführer: Prof. Dr. Günther Wess und Dr. Nikolaus Blum
Registergericht: Amtsgericht München HRB 6466
USt-IdNr: DE 129521671
��.n��������+%������w��{.n�����o�^n�r������&��z�ޗ�zf���h���~����������_��+v���)ߣ�

[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux