[libvirt] Interface type 'direct' - giving error.

Kumar L Srikanth-B22348 B22348 at freescale.com
Thu Mar 25 11:15:00 UTC 2010

Hi Daniel,
I am trying to create an interface with the type 'direct' with 'vepa'
I assigned an ip '' to the eth2 interface of the host machine.
My domain XML format is shown below.

<domain type='lxc' id='1'>
      <clock offset='utc'/>
        <filesystem type='mount'>
          <source dir='/root/lxc/fedora_fresh'/>
          <target dir='/'/>
        <interface type='direct'>
          <source dev='eth2' mode='vepa'/>
        <console type='pty' />

When I am trying to define the domain, I am getting the following error:

virsh # define /root/lxc_devel/fedora.xml
error: Failed to define domain from /root/lxc_devel/fedora.xml
error: internal error unknown interface type 'direct'

Can you please let me know the problem here.


More information about the libvir-list mailing list