Package: libvirt0
Version: 0.7.1-2
Severity: normal

Hello.

Correct me if I'm wrong, but as far as I can see libvirt is responsible for
creating virtual interfaces for virtualization. Unfortunatelly it doesn't
work.

I tried to creat virtual machine this way:

(r...@france)~#virt-install -n devel -r 512 --disk 
path=/home/virtual/devel,size=5
ERROR    Virtual network 'default' has not been started.
Traceback (most recent call last):
  File "/usr/bin/virt-install", line 929, in <module>
    main()
  File "/usr/bin/virt-install", line 753, in main
    options.nonetworks, guest)
  File "/usr/bin/virt-install", line 319, in get_networks
    map(lambda kwargs: cli.get_network(kwargs, guest), net_kwargs)
  File "/usr/bin/virt-install", line 319, in <lambda>
    map(lambda kwargs: cli.get_network(kwargs, guest), net_kwargs)
  File "/usr/lib/pymodules/python2.5/virtinst/cli.py", line 551, in get_network
    n = VirtualNetworkInterface(**net_kwargs)
  File "/usr/lib/pymodules/python2.5/virtinst/VirtualNetworkInterface.py", line 
67, in __init__
    self.network = network
  File "/usr/lib/pymodules/python2.5/virtinst/VirtualNetworkInterface.py", line 
117, in set_network
    "started.") % newnet)
ValueError: Virtual network 'default' has not been started.
(r...@france)~#

I found that libvirt daemon uses /etc/qemu/* files and there is some 
definition of default interface so I suppose that libvirt should set up
it basing on that.

Am I right? 

Or is there some way to start that virtual network? If yes then documentation
should say something about that.

/etc/libvirt/libvirtd.conf seems to have some network related options, but
it looks like some management stuff.

regards
fEnIo

-- 
  ,''`.  Bartosz Fenski | mailto:fe...@debian.org | pgp:0x13fefc40 | irc:fEnIo
 : :' :       32-050 Skawina - Glowackiego 3/15 - malopolskie v. - Poland
 `. `'           phone:+48602383548 | proud Debian maintainer and user
   `-            http://fenski.pl | xmpp:fe...@jabber.org | rlu:172001

Attachment: signature.asc
Description: Digital signature

Reply via email to