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

virtcontainers: fix the issue of cleanup the vm's path #544

Merged
merged 1 commit into from
Aug 2, 2018

Conversation

lifupan
Copy link
Member

@lifupan lifupan commented Aug 2, 2018

To use the filepath.Join() instead of the simple
string append method to form the file path, otherwise
it will lose the "/" between the two parts.

Fixes #543.

Signed-off-by: Fupan Li lifupan@gmail.com

To use the filepath.Join() instead of the simple
string append method to form the file path, otherwise
it will lose the "/" between the two parts.

Fixes kata-containers#543.

Signed-off-by: Fupan Li <lifupan@gmail.com>
Copy link
Member

@bergwolf bergwolf left a comment

Choose a reason for hiding this comment

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

Good spot! Thanks!

@jodh-intel
Copy link
Contributor

jodh-intel commented Aug 2, 2018

Nice!

lgtm

Approved with PullApprove

@katacontainersbot
Copy link
Contributor

PSS Measurement:
Qemu: 169714 KB
Proxy: 4054 KB
Shim: 8836 KB

Memory inside container:
Total Memory: 2043464 KB
Free Memory: 2003132 KB

Copy link
Contributor

@grahamwhaley grahamwhaley left a comment

Choose a reason for hiding this comment

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

Excellent cleanup. I'd spotted stuff being left in vm, but had not gotten around to adding the sanity check to the mega soak test and then reporting/tracking it down yet!
lgtm

@grahamwhaley
Copy link
Contributor

I've kicked centos-7.4 CI to rebuild, as it looked like a network error.

@opendev-zuul
Copy link

opendev-zuul bot commented Aug 2, 2018

Build failed (third-party-check pipeline) integration testing with
OpenStack. For information on how to proceed, see
http://docs.openstack.org/infra/manual/developers.html#automated-testing

@codecov
Copy link

codecov bot commented Aug 2, 2018

Codecov Report

Merging #544 into master will not change coverage.
The diff coverage is 0%.

@@           Coverage Diff           @@
##           master     #544   +/-   ##
=======================================
  Coverage   66.54%   66.54%           
=======================================
  Files          94       94           
  Lines        9678     9678           
=======================================
  Hits         6440     6440           
  Misses       2546     2546           
  Partials      692      692

@jshachm
Copy link
Member

jshachm commented Aug 2, 2018

LGTM Good catch~

@jodh-intel
Copy link
Contributor

Ignoring openstack CI fail. All else is green, so merging...

@jodh-intel jodh-intel merged commit 04fa125 into kata-containers:master Aug 2, 2018
@egernst egernst mentioned this pull request Aug 22, 2018
@sboeuf sboeuf added bug Incorrect behaviour stable-candidate labels Sep 12, 2018
zklei pushed a commit to zklei/runtime that referenced this pull request Jun 13, 2019
For now, update interface in agent will fail when hot-add
nic to a running containers on arm64 as rescan pci bus will
occur between uf and bf of shpc hotplug interrupt handling.

Another problem is that the rootBusPath will be
"/devices/platform/4010000000.pcie/pci0000:00" on arm64.

To enable hot-add nic on arm64, rootBusPath should be changed here
and shpc hotplug should be disabled in guest kernel.

This patch just change rootBusPath.

Fixes: kata-containers#544
Signed-off-by: Jianyong Wu <jianyong.wu@arm.com>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Incorrect behaviour
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

7 participants