Skip to content
This repository was archived by the owner on May 12, 2021. It is now read-only.
This repository was archived by the owner on May 12, 2021. It is now read-only.

Remove dev from pciDeviceMap when device is unplugged #729

@darfux

Description

@darfux

Which feature do you think can be improved?

According to kata-containers/runtime#2008, the agent needs to remove the dev from pciDeviceMap when device is unplugged. Otherwise getDeviceName will not block until ready when a dev with reused index is plugged.

How can it be improved?
Delete uEv.DevPath from pciDeviceMap when recieving remove uevent.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementImprovement to an existing featureneeds-reviewNeeds to be assessed by the team.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions