Bug 514472 - dumpxml/edit should never show dev='vnet%d'
Summary: dumpxml/edit should never show dev='vnet%d'
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: libvirt
Version: 11
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Daniel Veillard
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-07-29 09:42 UTC by Gianluca Sforna
Modified: 2009-07-29 11:55 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-07-29 09:47:26 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Gianluca Sforna 2009-07-29 09:42:04 UTC
While diagnosing bug 514228 it was suggested to use virsh to edit the VM's config and remove the <target> line from:

    <interface type='bridge'>
     <mac address='54:52:00:49:73:9a'/>
     <source bridge='br0'/>
     <target dev='vnet%d'/>
   </interface>

which I did. The problem is that after restarting the guest the line is back in the config file.

libvirt-0.6.2-13.fc11.x86_64

Comment 1 Daniel Berrangé 2009-07-29 09:47:26 UTC
This is intended behaviour. We expose the configured NIC backend device in the XML whenever it is available.

Removing this line yourself should not have impacted any functional behaviour, since libvirt already ignores any requested device whose name starts with the string 'vnet'.

Comment 2 Mark McLoughlin 2009-07-29 11:55:48 UTC
Huh?

How does it make sense for libvirt to include 'vnet%d' in dumpxml output?


Note You need to log in before you can comment on or make changes to this bug.