kvm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [Bug 43328] New: VT-d/SR-IOV doesn't work in guest
@ 2012-06-01  7:22 bugzilla-daemon
  2012-06-01  7:23 ` [Bug 43328] " bugzilla-daemon
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: bugzilla-daemon @ 2012-06-01  7:22 UTC (permalink / raw)
  To: kvm

https://bugzilla.kernel.org/show_bug.cgi?id=43328

           Summary: VT-d/SR-IOV doesn't work in guest
           Product: Virtualization
           Version: unspecified
    Kernel Version: 3.4.0
          Platform: All
        OS/Version: Linux
              Tree: Mainline
            Status: NEW
          Severity: high
          Priority: P1
         Component: kvm
        AssignedTo: virtualization_kvm@kernel-bugs.osdl.org
        ReportedBy: yongjie.ren@intel.com
                CC: avi@redhat.com
        Regression: No


Environment:
------------
Host OS (ia32/ia32e/IA64):ia32e
Guest OS (ia32/ia32e/IA64):ia32e
Guest OS Type (Linux/Windows):Linux
kvm.git Commit:b48b2c3e50433ff6f7e46186daa7f986bd960215
qemu-kvm Commit:18a188f66237e7b38fc8133d3862e5904c0e7ffb
Host Kernel Version:3.4.0
Hardware:WSM-EP, Romley-EP


Bug detailed description:
--------------------------
Assign a VF or normal NIC to the guest, the guest cannot get IP address.
Note:1. assign the VF of  Intel 82576 NIC or 82599 NIC, the guest cannot get IP
     2. hot plug a VF to the guest, the guest cannot get IP
     3. assign a PF to the guest, the guest cannot get IP.


kvm(next) + qemu-kvm   =  result
b48b2c3e + 18a188f6   =  bad 
322728e5 + 18a188f6   =  good



Reproduce steps:
----------------
1. ./pcistub.sh -h 08:10.0   ( to hide a device)
2. qemu-system-x86_64 -m 512 -device pci-assign,host=08:10.0 -net none -hda
rhel6u1.qcow

Current result:
----------------
The guest cannot get IP

Expected result:
----------------
The guest can get IP

Basic root-causing log:
----------------------
[root@vt-snb9 ~]# qemu-system-x86_64 -m 512 -device pci-assign,host=08:10.0
-net none -hda rhel6u1.qcow 
VNC server running on `::1:5900'
assigned_dev_enable_msix: assign irq: Invalid argument
fail to set MSI-X entry number for MSIX! Invalid argument
assigned_dev_update_msix_mmio: Invalid argument
fail to set MSI-X entry number for MSIX! Invalid argument
assigned_dev_update_msix_mmio: Invalid argument

-- 
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug 43328] VT-d/SR-IOV doesn't work in guest
  2012-06-01  7:22 [Bug 43328] New: VT-d/SR-IOV doesn't work in guest bugzilla-daemon
@ 2012-06-01  7:23 ` bugzilla-daemon
  2012-06-01  7:24 ` bugzilla-daemon
                   ` (6 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: bugzilla-daemon @ 2012-06-01  7:23 UTC (permalink / raw)
  To: kvm

https://bugzilla.kernel.org/show_bug.cgi?id=43328





--- Comment #1 from Jay Ren <yongjie.ren@intel.com>  2012-06-01 07:23:46 ---
Created an attachment (id=73483)
 --> (https://bugzilla.kernel.org/attachment.cgi?id=73483)
guest lspci log

-- 
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug 43328] VT-d/SR-IOV doesn't work in guest
  2012-06-01  7:22 [Bug 43328] New: VT-d/SR-IOV doesn't work in guest bugzilla-daemon
  2012-06-01  7:23 ` [Bug 43328] " bugzilla-daemon
@ 2012-06-01  7:24 ` bugzilla-daemon
  2012-06-01  7:25 ` bugzilla-daemon
                   ` (5 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: bugzilla-daemon @ 2012-06-01  7:24 UTC (permalink / raw)
  To: kvm

https://bugzilla.kernel.org/show_bug.cgi?id=43328





--- Comment #2 from Jay Ren <yongjie.ren@intel.com>  2012-06-01 07:24:09 ---
Created an attachment (id=73484)
 --> (https://bugzilla.kernel.org/attachment.cgi?id=73484)
host lspci log

-- 
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug 43328] VT-d/SR-IOV doesn't work in guest
  2012-06-01  7:22 [Bug 43328] New: VT-d/SR-IOV doesn't work in guest bugzilla-daemon
  2012-06-01  7:23 ` [Bug 43328] " bugzilla-daemon
  2012-06-01  7:24 ` bugzilla-daemon
@ 2012-06-01  7:25 ` bugzilla-daemon
  2012-06-01  7:25 ` bugzilla-daemon
                   ` (4 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: bugzilla-daemon @ 2012-06-01  7:25 UTC (permalink / raw)
  To: kvm

https://bugzilla.kernel.org/show_bug.cgi?id=43328





--- Comment #3 from Jay Ren <yongjie.ren@intel.com>  2012-06-01 07:25:22 ---
Created an attachment (id=73485)
 --> (https://bugzilla.kernel.org/attachment.cgi?id=73485)
guest dmesg log

-- 
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug 43328] VT-d/SR-IOV doesn't work in guest
  2012-06-01  7:22 [Bug 43328] New: VT-d/SR-IOV doesn't work in guest bugzilla-daemon
                   ` (2 preceding siblings ...)
  2012-06-01  7:25 ` bugzilla-daemon
@ 2012-06-01  7:25 ` bugzilla-daemon
  2012-07-25 19:36 ` bugzilla-daemon
                   ` (3 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: bugzilla-daemon @ 2012-06-01  7:25 UTC (permalink / raw)
  To: kvm

https://bugzilla.kernel.org/show_bug.cgi?id=43328





--- Comment #4 from Jay Ren <yongjie.ren@intel.com>  2012-06-01 07:25:47 ---
Created an attachment (id=73486)
 --> (https://bugzilla.kernel.org/attachment.cgi?id=73486)
host dmesg log

-- 
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug 43328] VT-d/SR-IOV doesn't work in guest
  2012-06-01  7:22 [Bug 43328] New: VT-d/SR-IOV doesn't work in guest bugzilla-daemon
                   ` (3 preceding siblings ...)
  2012-06-01  7:25 ` bugzilla-daemon
@ 2012-07-25 19:36 ` bugzilla-daemon
  2012-08-10  6:53 ` bugzilla-daemon
                   ` (2 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: bugzilla-daemon @ 2012-07-25 19:36 UTC (permalink / raw)
  To: kvm

https://bugzilla.kernel.org/show_bug.cgi?id=43328


Florian Mickler <florian@mickler.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |florian@mickler.org




--- Comment #5 from Florian Mickler <florian@mickler.org>  2012-07-25 19:36:03 ---
A patch referencing this bug report has been merged in Linux v3.5-rc7:

commit a76beb14123a69ca080f5a5425e28b786d62318d
Author: Alex Williamson <alex.williamson@redhat.com>
Date:   Mon Jul 9 10:53:22 2012 -0600

    KVM: Fix device assignment threaded irq handler

-- 
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug 43328] VT-d/SR-IOV doesn't work in guest
  2012-06-01  7:22 [Bug 43328] New: VT-d/SR-IOV doesn't work in guest bugzilla-daemon
                   ` (4 preceding siblings ...)
  2012-07-25 19:36 ` bugzilla-daemon
@ 2012-08-10  6:53 ` bugzilla-daemon
  2012-08-10  6:55 ` bugzilla-daemon
  2012-08-10  6:57 ` bugzilla-daemon
  7 siblings, 0 replies; 9+ messages in thread
From: bugzilla-daemon @ 2012-08-10  6:53 UTC (permalink / raw)
  To: kvm

https://bugzilla.kernel.org/show_bug.cgi?id=43328


Jay Ren <yongjie.ren@intel.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |CODE_FIX




-- 
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug 43328] VT-d/SR-IOV doesn't work in guest
  2012-06-01  7:22 [Bug 43328] New: VT-d/SR-IOV doesn't work in guest bugzilla-daemon
                   ` (5 preceding siblings ...)
  2012-08-10  6:53 ` bugzilla-daemon
@ 2012-08-10  6:55 ` bugzilla-daemon
  2012-08-10  6:57 ` bugzilla-daemon
  7 siblings, 0 replies; 9+ messages in thread
From: bugzilla-daemon @ 2012-08-10  6:55 UTC (permalink / raw)
  To: kvm

https://bugzilla.kernel.org/show_bug.cgi?id=43328


Jay Ren <yongjie.ren@intel.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |VERIFIED




--- Comment #6 from Jay Ren <yongjie.ren@intel.com>  2012-08-10 06:55:12 ---
I verified it based on Linux v3.5 tag. As comment #5 said, this bug has been
fixed.
Marked it as "verified".

-- 
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug 43328] VT-d/SR-IOV doesn't work in guest
  2012-06-01  7:22 [Bug 43328] New: VT-d/SR-IOV doesn't work in guest bugzilla-daemon
                   ` (6 preceding siblings ...)
  2012-08-10  6:55 ` bugzilla-daemon
@ 2012-08-10  6:57 ` bugzilla-daemon
  7 siblings, 0 replies; 9+ messages in thread
From: bugzilla-daemon @ 2012-08-10  6:57 UTC (permalink / raw)
  To: kvm

https://bugzilla.kernel.org/show_bug.cgi?id=43328


Jay Ren <yongjie.ren@intel.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|VERIFIED                    |CLOSED




--- Comment #7 from Jay Ren <yongjie.ren@intel.com>  2012-08-10 06:57:48 ---
Verified, so let's close it.

-- 
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2012-08-10  6:57 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-06-01  7:22 [Bug 43328] New: VT-d/SR-IOV doesn't work in guest bugzilla-daemon
2012-06-01  7:23 ` [Bug 43328] " bugzilla-daemon
2012-06-01  7:24 ` bugzilla-daemon
2012-06-01  7:25 ` bugzilla-daemon
2012-06-01  7:25 ` bugzilla-daemon
2012-07-25 19:36 ` bugzilla-daemon
2012-08-10  6:53 ` bugzilla-daemon
2012-08-10  6:55 ` bugzilla-daemon
2012-08-10  6:57 ` bugzilla-daemon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).