[libvirt-users] dumpxml removes portion from network descritiption

Thomas Stein
Thu, 19 Jun 2014 11:47:20 -0000

Hello.

I have a strange error with one of my VMs. If i use dumpxml to save a VM
description the source part of the network part is missing. This prevents
redifining the machine from the dumped xml file:

This is how it looks before dumpxml:

    <interface type='bridge'>
      <mac address='52:54:00:34:a1:56'/>

      <model type='virtio'/>
      <address type='pci' domain='0x0000' bus='0x00'
slot='0x03'
function='0x0'/>
    </interface>


And afterwards:

    <interface type='bridge'>
      <mac address='52:54:00:34:a1:56'/>
      <target dev='vnet6'/>
      <model type='virtio'/>
      <alias name='net0'/>
      <address type='pci' domain='0x0000' bus='0x00'
slot='0x03'
function='0x0'/>
    </interface>

Someone has an idea whats causing this? Is there a special option maybe?

thanks and best regards
t.