[libvirt] starting vm using virsh somewhat fails

Ricardo Tiago rtiago at gmail.com
Wed Nov 4 11:54:14 UTC 2009

Hi all,

I have started a vm using virsh create domain.xml and it starts for a
second and then its destroyed automatically. When I do xm create -f
<xm cfg> it works fine.

I don't know if this is relevant but

virsh net-list --all
Name                 State      Autostart
default              inactive   yes

virsh net-start default
error: Failed to start network default
error: Failed to open file '/etc/sysconfig/system-config-firewall': No
such file or directory

Can this be the problem? Why do I need /etc/sysconfig/system-config-firewall?

Domain XML Description: (converted from a xm cfg file)
<domain type='xen'>
    <type arch='x86_64' machine='xenpv'>linux</type>
  <clock offset='utc'/>
    <disk type='file' device='disk'>
      <driver name='file'/>
      <source file='/images/fc-6.img'/>
      <target dev='xvda1' bus='xen'/>

More information about the libvir-list mailing list