Re: how to manage KVM guests with libvirt ?

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

 



On Mon, Jun 1, 2009 at 9:41 AM, Riccardo Veraldi
<Riccardo.Veraldi@xxxxxxxxxxxx> wrote:
> Hello,
> I have always created my guests by hand with qemu-kvm syntax.
> Is there a way to control and manage KVM guests with libvirt without being
> forced to create the guest with virtmanager or with virtsh ?

i'm doing this, after seeing the managment tools available with
libvirt.  the easiest way is to write an XML that describes what you
already know how to do with command line.  there are still a couple of
missing options (most notably cache=none, and getting to the command
console); but you should be able to get it to work.

virt-install is a nice hack for installing well-behaved linux distros;
but for windows (where you have to pick exactly which features to
expose at different steps of the install), it's easier to do on the
command line and write the needed XML after that.

one tip, if you choose to allow libvirt to manage an LVM storage pool,
it's better not to create/destroy LVs manually.  use virsh for that or
just don't tell libvirt about your LVM.  i had a couple of host
crashes when the libvirt view of the storage got inconsistent with
reality.


-- 
Javier
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[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