qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] FLR capability hidden in VF config space


From: rukhsana ansari
Subject: Re: [Qemu-devel] FLR capability hidden in VF config space
Date: Thu, 23 Feb 2012 09:25:25 +0530

Hello,
 
Was wondering whether someone could shed some light on the issue below.
Without FLR exposed in the VF, VF reset via FLR cannot be initiated from the guest.
Appreciate any pointers.
 
Thanks,
Rukhsana
On Wed, Feb 15, 2012 at 2:54 PM, rukhsana ansari <address@hidden> wrote:
Hi,

The following code snippet (line 1457, function:assigned_device_pci_cap_init()  file: hw/device-assignment.c)
from the latest qemu-kvm git (qemu-kvm-devel: 1.0.50)  implies that FLR capability is unset for VF that is assigned to a guest:

        /* device capabilities: hide FLR */
        devcap = pci_get_long(pci_dev->config + pos + PCI_EXP_DEVCAP);
        devcap &= ~PCI_EXP_DEVCAP_FLR;
        pci_set_long(pci_dev->config + pos + PCI_EXP_DEVCAP, devcap);


However the SR-IOV spec mandates VF FLR.
Could someone explain the reason for unsetting the FLR bit in the PCI Express device capabilities register of the VF?

Thanks
-Rukhsana




reply via email to

[Prev in Thread] Current Thread [Next in Thread]