[libvirt] FW: Creating multiple network interfaces in libvirt Domain.

Kumar L Srikanth-B22348 B22348 at freescale.com
Thu Apr 29 04:13:55 UTC 2010


Hi All,

Can anybody please help me in the issue?

 

Regards,

Srikanth.

 

From: Kumar L Srikanth-B22348 
Sent: Wednesday, April 28, 2010 4:47 PM
To: 'Daniel P. Berrange'
Subject: FW: Creating multiple network interfaces in libvirt Domain.

 

Also, can you please let me know, how can I create multiple interfaces
in the guest domain using Domain XML?

 

Regards,

Srikanth.

 

From: Kumar L Srikanth-B22348 
Sent: Wednesday, April 28, 2010 2:26 PM
To: 'berrange at redhat.com'
Cc: 'libvir-list at redhat.com'
Subject: Creating multiple network interfaces in libvirt Domain.

 

Hi,

I want to create a Domain with two interfaces. I am using LXC hypervisor
in the libvirt.

My domain XML is shown below:

<domain type='lxc' id='1'>

  <name>srikanth_vm2</name>

    <memory>500000</memory>

      <os>

          <type>exe</type>

          <init>/bin/sh</init>

      </os>

      <vcpu>1</vcpu>

      <clock offset='utc'/>

      <on_poweroff>destroy</on_poweroff>

      <on_reboot>restart</on_reboot>

      <on_crash>destroy</on_crash>

      <devices>

        <emulator>/usr/libexec/libvirt_lxc</emulator>

        <filesystem type='mount'>

          <source dir='/root/lxc/fedora1'/>

          <target dir='/'/>

        </filesystem>

        <interface type='network'>

          <source network='default'/>

        </interface>

        <interface type='network'>

          <source network='default'/>

        </interface>

        <console type='pty' />

      </devices>

</domain>

 

I am able to define the Domain. But, I am not able to start the Domain.
While starting the domain, I am getting the following error:

 

error: Failed to start domain srikanth_vm2

error: internal error Failed to create veth device pair: 512

 

Can you please let me know where I am going wrong?

 

Regards,

Srikanth.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20100429/412f9566/attachment-0001.htm>


More information about the libvir-list mailing list