Public bug reported:

I am running KVM on a Dell  PowerEdge R510 server with 10.04.2. The
server has 2 Intel quad port Ethernet cards and 2 Broadcom NICs.

root@kvm01:~# uname -a
Linux kvm01 2.6.32-30-server #59-Ubuntu SMP Tue Mar 1 22:46:09 UTC 2011 x86_64 
GNU/Linux
root@kvm01:~# lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 10.04.2 LTS
Release:        10.04
Codename:       lucid

I disabled apparmor!

When I try to add a physical network card (eth6 for example) to a VM I
get the following error messages:

Traceback (most recent call last):
  File "/usr/share/virt-manager/virtManager/engine.py", line 588, in run_domain
    vm.startup()
  File "/usr/share/virt-manager/virtManager/domain.py", line 150, in startup
    self._backend.create()
  File "/usr/lib/python2.6/dist-packages/libvirt.py", line 300, in create
    if ret == -1: raise libvirtError ('virDomainCreate() failed', dom=self)
libvirtError: monitor socket did not show up.: Connection refused

/var/log/libvirt/qemu/VM01.log:

LC_ALL=C PATH=/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/sbin:/sbin:/bin 
QEMU_AUDIO_DRV=none /usr/bin/kvm -S -M pc-0.12 -enable-kvm -m 1024 -smp 1 -name 
VM01 -uuid 6605d7ea-8a19-1cd0-89a1-9ad29d3a6ec8 -chardev 
socket,id=monitor,path=/var/lib/libvirt/qemu/VM01.monitor,server,nowait 
-monitor chardev:monitor -localtime -boot c -drive 
file=/storage/vms/VirtualMachines/VM01.img,if=virtio,index=0,boot=on,format=qcow2
 -drive if=ide,media=cdrom,index=2,format=raw -net 
nic,macaddr=52:54:00:06:a3:e4,vlan=0,model=virtio,name=virtio.0 -net 
tap,fd=57,vlan=0,name=tap.1 -net 
nic,macaddr=52:54:00:24:99:45,vlan=1,name=nic.0 -net 
tap,fd=58,vlan=1,name=tap.1 -chardev pty,id=serial0 -serial chardev:serial0 
-parallel none -usb -vnc 127.0.0.1:2 -vga cirrus -pcidevice host=0b:00.1 
char device redirected to /dev/pts/3
pci_add_option_rom: failed to find romfile "pxe-virtio.bin"
pci_add_option_rom: failed to find romfile "pxe-rtl8139.bin"
device: 0b:00.1: driver="pci-assign" host="0b:00.1"
No IOMMU found.  Unable to assign device "0b:00.1"
Failed to deassign device "0b:00.1" : Invalid argument
Error initializing device pci-assign

Without the physical hardware the VM starts normally. Assigning USB
(storage) devices as physical devices also works fine.

I am adding the physical hardware via virt-manager in the corresponding
menus.

** Affects: libvirt (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to libvirt in Ubuntu.
https://bugs.launchpad.net/bugs/741706

Title:
  could not add physical hardware (ethernet card)

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs

Reply via email to