Skip to content
This repository has been archived by the owner on Jan 20, 2022. It is now read-only.

Add support for hot-plugging IBM Adjunct Processor (AP) devices #134

Merged
merged 1 commit into from
Aug 19, 2020
Merged

Add support for hot-plugging IBM Adjunct Processor (AP) devices #134

merged 1 commit into from
Aug 19, 2020

Conversation

Jakob-Naucke
Copy link
Member

This adds ExecuteAPVFIOMediatedDeviceAdd to qemu/qmp.go, which executes a hot-plug for an IBM Adjunct Processor (AP) VFIO device (kernel doc here).
See also Issue #491 in the Kata Containers project.

/cc @alicefr

Fixes: #133

If this LGTY in general, I'd create a Do-Not-Merge re-vendoring PR in Kata first to ensure compatibility.

@alicefr
Copy link
Member

alicefr commented Aug 6, 2020

I already reviewed @Jakob-Naucke's PR. This is LGTM for me.

Copy link

@devimc devimc left a comment

Choose a reason for hiding this comment

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

thanks @Jakob-Naucke

@coveralls
Copy link

coveralls commented Aug 12, 2020

Coverage Status

Coverage increased (+0.1%) to 80.807% when pulling 4d6f225 on Jakob-Naucke:vfio-ap-mdev into 547a851 on intel:master.

Copy link
Collaborator

@jodh-intel jodh-intel left a comment

Choose a reason for hiding this comment

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

Thanks @Jakob-Naucke.

lgtm

@Jakob-Naucke
Copy link
Member Author

GoVMM's Travis succeeded (somehow not visible in GitHub yet?) and the re-vendoring tests in Kata succeeded except for two that always seem to fail recently (see PR #496 and issue #505 in Kata). @jodh-intel @devimc would you rather wait for one or both of them to be fixed or do you think this could be merged?

@devimc
Copy link

devimc commented Aug 17, 2020

@Jakob-Naucke travis is very unstable, I restarted the job and now it's failing (sorry for that), I raised a PR to fix it (#137) but I'm also working to rid of travis and use github actions.

@devimc
Copy link

devimc commented Aug 18, 2020

@Jakob-Naucke please rebase this, you will need this change #137

Add ExecuteAPVFIOMediatedDeviceAdd to qmp.go, which executes a hotplug
for an IBM Adjunct processor (AP) VFIO device (see also
https://www.kernel.org/doc/html/latest/s390/vfio-ap.html )
Also includes the respective unittest and adds the VfioAP DeviceDriver
constant to qemu.go.

Pushing again due to incidental CI failure

Fixes: #133

Signed-off-by: Jakob-Naucke <jakob.naucke@ibm.com>
Reviewed-by: alicefr <afrosi@redhat.com>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add support for hot-plugging IBM Adjunct Processor (AP) devices
5 participants