[et-mgmt-tools] KVM: praise for F7 virt-manager, virsh, automatically starting guests
prime.provogue at gmail.com
Sun Jun 17 16:39:13 UTC 2007
On 6/17/07, Daniel P. Berrange <berrange at redhat.com> wrote:
> On Sat, Jun 16, 2007 at 05:57:09PM -0700, Adam Monsen wrote:
> > First of all, the improved virt-manager that comes with Fedora 7 is
> > awesome! By simply clicking through the UI and exploring a bit I was
> > able to learn how to create a functional bridged network to the LAN my
> > host is on. I know naught about networking and this has traditionally
> > been the most painful aspect for me when I was playing with
> > virtualization some time ago.
> Great - glad its working well for you !
> > 1. Should virsh work with KVM in Fedora 7? When I run virsh I get only
> > "virsh: error: failed to connect to the hypervisor"
> You need to explicitly tell virsh to connect to QEMU/KVM since it
> defaults to Xen.
> virsh --connect qemu:///system
Can you please edit the man page of virsh and put on some e.g --connect
strings over there. I know there are not too much like only kvm and xen are
there but that is usually the first place everyone looks for before going
> export VIRSH_DEFAULT_CONNECT_URI=qemu:///system
> > 2. What is the canonical/"out of the box" way to start a KVM-based
> > guest when the host system boots? I'm fine with "just use
> > /etc/rc.local" or whatever if the infrastructure isn't in place yet
> > (if so, what command should I run?). But it would be nice to be able
> > to manage the guest from virt-manager after starting it up from a
> > script somehow.
> We've not hooked up autostart to the virt-manager UI yet, in the meantime
> you can use virsh like this:
> virsh autostart [vm name]
> Th VM will be started by the libvirt daemon at boot time.
> |=- Red Hat, Engineering, Emerging Technologies, Boston. +1 978 392 2496
> |=- Perl modules: http://search.cpan.org/~danberr/
> |=- Projects: http://freshmeat.net/~danielpb/
> |=- GnuPG: 7D3B9505 F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B
> 9505 -=|
> et-mgmt-tools mailing list
> et-mgmt-tools at redhat.com
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the et-mgmt-tools