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

           Summary: The smp_affinity cannot work correctly when PCI
                    passthrough device using msi/msi-x with KVM
           Product: Virtualization
           Version: unspecified
    Kernel Version: 3.7-rc6
          Platform: All
        OS/Version: Linux
              Tree: Mainline
            Status: NEW
          Severity: normal
          Priority: P1
         Component: kvm
        AssignedTo: virtualization_...@kernel-bugs.osdl.org
        ReportedBy: yiliker...@gmail.com
                CC: kvm@vger.kernel.org
        Regression: No


1: passthrough a netcard (Brodcom BCM5716S) to the guest os

2: ifup the netcard, the card will use msi-x interrupt default, and close the
irqbalance service

3:  echo 4 > cat /proc/irq/NETCARDIRQ/smp_affinity, so we assume the vcpu2
handle the irq.

4: we have set <vcpupin vcpu='2' cpuset='1'/> and set the irq kvm:pci-bus to
the pcpu1 on the host.

we think this configure will reduce the ipi interrupt when inject interrupt to
the guest os. but this irq is not only handle on vcpu2. it is not expect。

-- 
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
You are watching the assignee of the bug.--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to