Skip to contentSkip to conversation

NIC doesn't work with "pci=nomsi" in grub.conf

Qemu-devel Yongjie Ren 1 participant 4 messages Mar 7, 2011 – Apr 12, 2011

lore
Share & tools
lore
#0 lore raw

Public bug reported:

qemu-kvm Commit:27f368604a3d27ca4ddac0f62a6928bb93cdacd5
NIC doesn't work with "pci=nomsi" in grub.conf. Neither static assignment nor hot-plug assignment works. And when using qemu-kvm's commit 08bb9f6b1a5d8f4f5dd5bafad2876067797cb8b4, qemu doesn't have this problem.

Reproduce steps:
1.build and install qemu-kvm
2.plug off a NIC device from host (BDF of NIC: 13:00.0)
3.start a guest (grub.conf has a configuration "pci=nomsi") :
qemu-system-x86_64 -m 512 -smp 2 -device pci_assign,host=13:00.0 -hda /share/ia32e-rhel5u5.img
4.[Guest] dhclient
The NIC assigned before cannot get an IP address. It doesn't work.

** Affects: qemu
Importance: Undecided
Status: New

Signature · 22 lines
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/730441

Title:
  NIC doesn't work with "pci=nomsi" in grub.conf

Status in QEMU:
  New

Bug description:
  qemu-kvm Commit:27f368604a3d27ca4ddac0f62a6928bb93cdacd5
  NIC doesn't work with "pci=nomsi" in grub.conf.  Neither static assignment nor hot-plug assignment works.
  And when using qemu-kvm's commit 08bb9f6b1a5d8f4f5dd5bafad2876067797cb8b4, qemu doesn't have this problem.

  Reproduce steps:
  1.build and install qemu-kvm
  2.plug off a NIC device from host  (BDF of NIC: 13:00.0)
  3.start a guest (grub.conf has a configuration "pci=nomsi") : 
    qemu-system-x86_64  -m 512 -smp 2 -device pci_assign,host=13:00.0 -hda /share/ia32e-rhel5u5.img
  4.[Guest] dhclient     
  The NIC assigned before cannot get an IP address. It doesn't work.
#1 lore raw

kvm commit: b35049715d619c9badaea07dec766787b433facf qemu-kvm commit: 27f368604a3d27ca4ddac0f62a6928bb93cdacd5

And the dmesg info of the guest is attached. You may search "Failed to initialize MSI interrupts" in this dmesg.

** Attachment added: "dmesg_nomsi"
https://bugs.launchpad.net/qemu/+bug/730441/+attachment/1891136/+files/dmesg_nomsi.txt

Signature · 22 lines
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/730441

Title:
  NIC doesn't work with "pci=nomsi" in grub.conf

Status in QEMU:
  New

Bug description:
  qemu-kvm Commit:27f368604a3d27ca4ddac0f62a6928bb93cdacd5
  NIC doesn't work with "pci=nomsi" in grub.conf.  Neither static assignment nor hot-plug assignment works.
  And when using qemu-kvm's commit 08bb9f6b1a5d8f4f5dd5bafad2876067797cb8b4, qemu doesn't have this problem.

  Reproduce steps:
  1.build and install qemu-kvm
  2.plug off a NIC device from host  (BDF of NIC: 13:00.0)
  3.start a guest (grub.conf has a configuration "pci=nomsi") : 
    qemu-system-x86_64  -m 512 -smp 2 -device pci_assign,host=13:00.0 -hda /share/ia32e-rhel5u5.img
  4.[Guest] dhclient     
  The NIC assigned before cannot get an IP address. It doesn't work.
#2 lore raw
In reply to Yongjie Ren

this bug is fixed in latest commit.
kvm.git Commit:b35049715d619c9badaea07dec766787b433facf qemu-kvm Commit:27f368604a3d27ca4ddac0f62a6928bb93cdacd5

** Changed in: qemu
Status: New => Fix Committed

Signature · 22 lines
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/730441

Title:
  NIC doesn't work with "pci=nomsi" in grub.conf

Status in QEMU:
  Fix Committed

Bug description:
  qemu-kvm Commit:27f368604a3d27ca4ddac0f62a6928bb93cdacd5
  NIC doesn't work with "pci=nomsi" in grub.conf.  Neither static assignment nor hot-plug assignment works.
  And when using qemu-kvm's commit 08bb9f6b1a5d8f4f5dd5bafad2876067797cb8b4, qemu doesn't have this problem.

  Reproduce steps:
  1.build and install qemu-kvm
  2.plug off a NIC device from host  (BDF of NIC: 13:00.0)
  3.start a guest (grub.conf has a configuration "pci=nomsi") : 
    qemu-system-x86_64  -m 512 -smp 2 -device pci_assign,host=13:00.0 -hda /share/ia32e-rhel5u5.img
  4.[Guest] dhclient     
  The NIC assigned before cannot get an IP address. It doesn't work.
#3 lore raw
In reply to Yongjie Ren

** Changed in: qemu
Status: Fix Committed => Fix Released

Signature · 22 lines
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/730441

Title:
  NIC doesn't work with "pci=nomsi" in grub.conf

Status in QEMU:
  Fix Released

Bug description:
  qemu-kvm Commit:27f368604a3d27ca4ddac0f62a6928bb93cdacd5
  NIC doesn't work with "pci=nomsi" in grub.conf.  Neither static assignment nor hot-plug assignment works.
  And when using qemu-kvm's commit 08bb9f6b1a5d8f4f5dd5bafad2876067797cb8b4, qemu doesn't have this problem.

  Reproduce steps:
  1.build and install qemu-kvm
  2.plug off a NIC device from host  (BDF of NIC: 13:00.0)
  3.start a guest (grub.conf has a configuration "pci=nomsi") : 
    qemu-system-x86_64  -m 512 -smp 2 -device pci_assign,host=13:00.0 -hda /share/ia32e-rhel5u5.img
  4.[Guest] dhclient     
  The NIC assigned before cannot get an IP address. It doesn't work.