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

qemu: create vm directory before launching qemu#548

Merged
devimc merged 2 commits intokata-containers:masterfrom
bergwolf:cleanup
Aug 3, 2018
Merged

qemu: create vm directory before launching qemu#548
devimc merged 2 commits intokata-containers:masterfrom
bergwolf:cleanup

Conversation

@bergwolf
Copy link
Member

@bergwolf bergwolf commented Aug 3, 2018

Right now we create it in createsandbox and it would
create the vm dir unnecessarily for fetchsandbox() and
it ends up leaving an empty vm dir behind even after
DeleteSandbox.

Fixes: #547

It looks to be left over due to merge conflicts.

Signed-off-by: Peng Tao <bergwolf@gmail.com>
Right now we create it in `createsandbox` and it would
create the vm dir unnecessarily for fetchsandbox() and
it ends up leaving an empty vm dir behind even after
DeleteSandbox.

Fixes: kata-containers#547

Signed-off-by: Peng Tao <bergwolf@gmail.com>
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.

lgtm

@katacontainersbot
Copy link
Contributor

PSS Measurement:
Qemu: 167466 KB
Proxy: 4138 KB
Shim: 8884 KB

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

@jodh-intel
Copy link

jodh-intel commented Aug 3, 2018

lgtm

Approved with PullApprove

@opendev-zuul
Copy link

opendev-zuul bot commented Aug 3, 2018

Build succeeded (third-party-check pipeline).

@codecov
Copy link

codecov bot commented Aug 3, 2018

Codecov Report

Merging #548 into master will increase coverage by 0.02%.
The diff coverage is 0%.

@@            Coverage Diff             @@
##           master     #548      +/-   ##
==========================================
+ Coverage   66.84%   66.87%   +0.02%     
==========================================
  Files          85       85              
  Lines        9110     9107       -3     
==========================================
  Hits         6090     6090              
+ Misses       2386     2383       -3     
  Partials      634      634

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.

lgtm

@devimc devimc merged commit dec385a into kata-containers:master Aug 3, 2018
@egernst egernst mentioned this pull request Aug 22, 2018
@sboeuf sboeuf added enhancement Improvement to an existing feature stable-candidate labels Sep 12, 2018
@bergwolf bergwolf deleted the cleanup branch September 13, 2018 03:25
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

enhancement Improvement to an existing feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants