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

[WIP] Break the hypervisor dependency from the endpoint interface #1233

Closed
wants to merge 2 commits into from

Conversation

sameo
Copy link

@sameo sameo commented Feb 13, 2019

Fixes: #1209

Samuel Ortiz added 2 commits February 13, 2019 14:44
We are going to convert the Endpoint interface to have it return Devices
instead of relying on the hypervisor interface itself.

Fixes: kata-containers#1209

Signed-off-by: Samuel Ortiz <[email protected]>
Removing and adding devices only take a types.Device argument.

Fixes: kata-containers#1209

Signed-off-by: Samuel Ortiz <[email protected]>
addDevice(devInfo interface{}, devType types.DeviceType) error
hotplugAddDevice(devInfo interface{}, devType types.DeviceType) (interface{}, error)
hotplugRemoveDevice(devInfo interface{}, devType types.DeviceType) (interface{}, error)
addDevice(types.Device) error
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you elaborate how this change will help decouple the hypervisor from the endpoint dependency?
From what I understand here, we're simply moving the device info as part of the device structure itself, but the detection of the device types such as Endpoint is still happening inside each hypervisor implementation, right?

@jodh-intel
Copy link
Contributor

Ping @kata-containers/runtime - ...!

@jodh-intel
Copy link
Contributor

@sameo - one file conflict to resolve.

@amshinde
Copy link
Member

The Attach() for an endpoint stills invokes the hypervisor. How does this break the dependency on the hypervisor package?

@raravena80
Copy link
Member

@sameo any updates? Ping. Thx!

@raravena80
Copy link
Member

@sameo nudge

@raravena80
Copy link
Member

@sameo any updates? Thx.

@egernst egernst added needs-rebase PR contains conflicts which need resolving needs-help Request for extra help (technical, resource, etc) stale Issue or PR was not updated in a timely fashion do-not-merge PR has problems or depends on another labels Jun 11, 2019
@raravena80
Copy link
Member

Any takers? 😄

@raravena80
Copy link
Member

Revisiting, any takers? 😄

@raravena80
Copy link
Member

Any takers?

Your weekly Kata herder.

@raravena80
Copy link
Member

Ping for any takers 😄

@raravena80
Copy link
Member

Ping 😄

Kata Herder.

@raravena80
Copy link
Member

@jodh-intel this is old, should we close this and move the work to 2.0?

@fidencio
Copy link
Member

fidencio commented May 3, 2021

As this PR is marked as do-not-merge, we're assuming it won't make for the final 1.13.0 release, thus we're closing it.
In case you feel this has been wrongly closed, please, feel free to re-open it.

@fidencio fidencio closed this May 3, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
do-not-merge PR has problems or depends on another needs-help Request for extra help (technical, resource, etc) needs-rebase PR contains conflicts which need resolving stale Issue or PR was not updated in a timely fashion
Projects
None yet
Development

Successfully merging this pull request may close these issues.

virtcontainers: Endpoints and hypervisor dependency
7 participants