try virsh -c qemu:///system instead of just virsh ..
sven
"John Lagrue" <jlagrue(a)gmail.com>
Sent by: fedora-xen-bounces(a)redhat.com
09/05/2007 10:15 AM
To
"Daniel P. Berrange" <berrange(a)redhat.com>
cc
fedora-xen(a)redhat.com
Subject
Re: [Fedora-xen] virt-manager failure
On 05/09/07, Daniel P. Berrange <berrange(a)redhat.com> wrote:
On Tue, Sep 04, 2007 at 11:07:34PM +0100, John Lagrue wrote:
> On 04/09/07, John Lagrue <jlagrue(a)gmail.com> wrote:
> > On 04/09/07, Richard W.M. Jones <rjones(a)redhat.com> wrote:
> > > John Lagrue wrote:
> > > > TRying to create a guest using virt-manager on Fedora 7. Upon
clicking
> > > > "Finish" I get this error:
> > > >
> > > > Unable to complete install '<class
'libvirt.libvirtError'>
> > > > virDomainCreateLinux() failed Failed to add tap interface
'vnet0' to
> > > > bridge 'virbr0' : No such device
> > > >
> > > > Any thoughts?
> > >
> > > What type of networking did you select?
> > >
> > > Is there any further detail in:
> > > /root/.virt-manager/virt-manager.log
> > > /var/log/xen/xend.log
> > > /var/log/xen/xend-debug.log
> > >
> >
> > I selected Virtual Network, default device. There doesn't seem to be
> > anything informative in the virt-manager log file, other than the
> > traceback.
> >
> > I don't use Xen, so those logs don't exist.
> >
> > It would seem to me to be saying that the virbr0 device doesn't
exist;
> > how can I check if it does?
> >
> > JDL
> >
>
> It does indeed seem that virbr0 doesn't exist. Is there something that
> I haven't installed? I only want qemu-kvm, as Xen isn't a viable
> option for me.
virbr0 is (supposed to be) created automatically by libvirt. If it does
not
exist there are a couple of things to check
# virsh net-list --all
Name State Autostart
-----------------------------------------
default active yes
If that shows it active, then try restarting it with
virsh net-destroy default
virsh net-start default
If net-list didn't show it, then it may be deleted or not created in the
first place. You can re-create it with
virsh net-define /usr/share/libvirt/networks/default.xml
virsh net-autostart default
virsh net-start default
Unfortunately, all I get is this:
# virsh net-list --all
error: failed to connect to the hypervisor
error: no valid connection
--
Fedora-xen mailing list
Fedora-xen(a)redhat.com
https://www.redhat.com/mailman/listinfo/fedora-xen