[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [PATCH v3 6/7] pcie_sriov: Reuse SR-IOV VF device instances
From: |
Minwoo Im |
Subject: |
RE: [PATCH v3 6/7] pcie_sriov: Reuse SR-IOV VF device instances |
Date: |
Tue, 13 Feb 2024 17:51:08 +0900 |
> -----Original Message-----
> From: qemu-block-bounces+minwoo.im.dev=gmail.com@nongnu.org <qemu-block-
> bounces+minwoo.im.dev=gmail.com@nongnu.org> On Behalf Of Akihiko Odaki
> Sent: Monday, February 12, 2024 7:21 PM
> To: Philippe Mathieu-Daudé <philmd@linaro.org>; Michael S. Tsirkin
> <mst@redhat.com>; Marcel Apfelbaum <marcel.apfelbaum@gmail.com>; Alex
> Williamson <alex.williamson@redhat.com>; Cédric Le Goater <clg@redhat.com>;
> Paolo Bonzini <pbonzini@redhat.com>; Daniel P. Berrangé <berrange@redhat.com>;
> Eduardo Habkost <eduardo@habkost.net>; Sriram Yagnaraman
> <sriram.yagnaraman@est.tech>; Jason Wang <jasowang@redhat.com>; Keith Busch
> <kbusch@kernel.org>; Klaus Jensen <its@irrelevant.dk>
> Cc: qemu-devel@nongnu.org; qemu-block@nongnu.org; Akihiko Odaki
> <akihiko.odaki@daynix.com>
> Subject: [PATCH v3 6/7] pcie_sriov: Reuse SR-IOV VF device instances
>
> Disable SR-IOV VF devices by reusing code to power down PCI devices
> instead of removing them when the guest requests to disable VFs. This
> allows to realize devices and report VF realization errors at PF
> realization time.
>
> Signed-off-by: Akihiko Odaki <akihiko.odaki@daynix.com>
Hello Akihiko,
I think this patch fixes the issue reported in [1]. The latest master branch
also causes an object-related assertion error when we enable VF(s) and disable
through sysfs over and over again (at least twice). But this issue is also
fixed with your patch.
**
ERROR:../qom/object.c:753:object_finalize: assertion failed: (obj->parent ==
NULL)
Bail out! ERROR:../qom/object.c:753:object_finalize: assertion failed:
(obj->parent == NULL)
Klaus,
If this patchset is applied, I think [1] can be dropped. What do you think?
Thanks,
[1]
https://lore.kernel.org/qemu-devel/20240109022953epcms2p54550dcfc9f831a515206513ae98e7511@epcms2p5/
- Re: [PATCH v3 2/7] hw/pci: Determine if rombar is explicitly enabled, (continued)
- [PATCH v3 3/7] vfio: Avoid inspecting option QDict for rombar, Akihiko Odaki, 2024/02/12
- [PATCH v3 4/7] hw/qdev: Remove opts member, Akihiko Odaki, 2024/02/12
- [PATCH v3 5/7] pcie_sriov: Validate NumVFs, Akihiko Odaki, 2024/02/12
- [PATCH v3 6/7] pcie_sriov: Reuse SR-IOV VF device instances, Akihiko Odaki, 2024/02/12
- [PATCH v3 7/7] pcie_sriov: Release VFs failed to realize, Akihiko Odaki, 2024/02/12
- Message not available
- RE: [PATCH v3 6/7] pcie_sriov: Reuse SR-IOV VF device instances,
Minwoo Im <=