[Pkg-libvirt-maintainers] Bug#520088: virt-manager: adding additional network adapter - inconsistency between libvirt and xend
Andreas Unterkircher
unki at netshadow.at
Tue Mar 17 09:52:15 UTC 2009
Package: virt-manager
Version: 0.6.0-6
Severity: normal
I created a new guest via virt-manager. When the wizard asks for, I
configured a shared physical device for the initial network adapter.
Then I added another network adapter, this time one for a virtual
network. When I finished this wizard, in the hardware-tab of
virt-manager, the new network adapter replaced the menu-entry of
the existing one. The previous network adapter is no longer
visible or manageable with in virt-manager.
The XML dump by virsh now just shows up one network adapter (see
below). While in xend's domain file in /var/lib/xend/domains,
there are indeed two network adapters:
(device
(vif
(bridge br0)
(mac 00:16:36:4a:4d:9a)
(script vif-bridge)
(uuid a1664761-2c3e-75dd-e524-291fb21291f0)
(backend 0)
)
)
(device
(vif
(bridge virbr1)
(mac 00:16:36:50:c5:6b)
(script vif-bridge)
(uuid 2190565d-760a-4018-1c93-1d79af07b074)
(backend 0)
)
)
And also within the running guest, two network adapters are there.
Regards,
Andreas
* XML dump via virsh
<domain type='xen' id='41'>
<name>dc-vmtest-30</name>
<uuid>dea7ffa5-8aa1-b0d9-ecd0-27a96ac7658a</uuid>
<memory>2097152</memory>
<currentMemory>524288</currentMemory>
<vcpu>1</vcpu>
<os>
<type>hvm</type>
<loader>/usr/lib/xen/boot/hvmloader</loader>
<boot dev='hd'/>
</os>
<features>
<acpi/>
<apic/>
<pae/>
</features>
<clock offset='localtime'/>
<on_poweroff>destroy</on_poweroff>
<on_reboot>restart</on_reboot>
<on_crash>restart</on_crash>
<devices>
<emulator>/usr/lib64/xen/bin/qemu-dm</emulator>
<disk type='file' device='disk'>
<driver name='file'/>
<source file='/srv/guests/bunch1/dc-vmtest-30.img'/>
<target dev='hda' bus='ide'/>
</disk>
<interface type='bridge'>
<mac address='00:16:36:17:ef:05'/>
<source bridge='virbr0'/>
<target dev='vif41.2'/>
</interface>
<serial type='pty'>
<source path='/dev/pts/2'/>
<target port='0'/>
</serial>
<console type='pty' tty='/dev/pts/2'>
<source path='/dev/pts/2'/>
<target port='0'/>
</console>
<input type='tablet' bus='usb'/>
<input type='mouse' bus='ps2'/>
<graphics type='vnc' port='5902' autoport='no' listen='127.0.0.1' keymap='en-us'/>
</devices>
</domain>
-- System Information:
Debian Release: 5.0
APT prefers stable
APT policy: (990, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.26-1-xen-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages virt-manager depends on:
ii libatk1.0-0 1.22.0-1 The ATK accessibility toolkit
ii libc6 2.7-18 GNU C Library: Shared libraries
ii libcairo2 1.6.4-7 The Cairo 2D vector graphics libra
ii libglib2.0-0 2.16.6-1 The GLib library of C routines
ii libgtk2.0-0 2.12.11-4 The GTK+ graphical user interface
ii libpango1.0-0 1.20.5-3 Layout and rendering of internatio
ii librsvg2-common 2.22.2-2lenny1 SAX-based renderer library for SVG
ii python-dbus 0.82.4-2 simple interprocess messaging syst
ii python-glade2 2.12.1-6 GTK+ bindings: Glade support
ii python-gnome2 2.22.0-1 Python bindings for the GNOME desk
ii python-gtk-vnc 0.3.8-2 A VNC viewer widget for GTK+ (Pyth
ii python-gtk2 2.12.1-6 Python bindings for the GTK+ widge
ii python-libvirt 0.4.6-10 libvirt Python bindings
ii python-urlgrabber 3.1.0-4 A high-level cross-protocol url-gr
ii python-vte 1:0.16.14-4 Python bindings for the VTE widget
ii python2.5 2.5.2-15 An interactive high-level object-o
ii virtinst 0.400.0-7 Programs to create and clone virtu
Versions of packages virt-manager recommends:
ii hal 0.5.11-8 Hardware Abstraction Layer
ii libvirt-bin 0.4.6-10 the programs for the libvirt libra
Versions of packages virt-manager suggests:
ii virt-viewer 0.0.3-2 Displaying the graphical console o
-- no debconf information
More information about the Pkg-libvirt-maintainers
mailing list