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

kata-check: require kvm modules for amd64 #1986

Merged
merged 2 commits into from
Aug 29, 2019

Conversation

marcov
Copy link
Contributor

@marcov marcov commented Aug 20, 2019

KVM modules are required when using QEMU or firecracker.

Fixes: #1985

Signed-off-by: Marco Vedovati mvedovati@suse.com

},
kernelModvhostvsock: {
desc: msgKernelVirtioVhostVsock,
required: false,
Copy link

Choose a reason for hiding this comment

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

missing required: true, ?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

vosck is not required, and by default required is false, so I just removed the line as it's redundant.

Copy link

Choose a reason for hiding this comment

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

I didn't know that by default it's false, can we keep it explicit?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

That's how Go works, but I am happy to set it explicitly to false if this gives more clarity.

Copy link

Choose a reason for hiding this comment

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

thanks @marcov

KVM/vhost modules are required when using QEMU or firecracker.

Fixes: kata-containers#1985

Signed-off-by: Marco Vedovati <mvedovati@suse.com>
@marcov
Copy link
Contributor Author

marcov commented Aug 20, 2019

/test

1 similar comment
@marcov
Copy link
Contributor Author

marcov commented Aug 22, 2019

/test

@codecov
Copy link

codecov bot commented Aug 22, 2019

Codecov Report

Merging #1986 into master will increase coverage by 0.05%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #1986      +/-   ##
==========================================
+ Coverage   52.01%   52.06%   +0.05%     
==========================================
  Files         107      107              
  Lines       14352    14348       -4     
==========================================
+ Hits         7465     7471       +6     
+ Misses       5999     5994       -5     
+ Partials      888      883       -5

Add a test for the checkKernelModules returned error count value.

Signed-off-by: Marco Vedovati <mvedovati@suse.com>
@marcov
Copy link
Contributor Author

marcov commented Aug 23, 2019

/test

@marcov
Copy link
Contributor Author

marcov commented Aug 29, 2019

All tests are good, but we need a pair of reviews :-)

Calling in the usual folks 😁 @jodh-intel @grahamwhaley @devimc @jcvenegas

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 @marcov

@jodh-intel jodh-intel merged commit a1e0a4c into kata-containers:master Aug 29, 2019
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.

kvm kernel modules not set as required for amd64
3 participants