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

Backport 1.7#1685

Merged
egernst merged 2 commits intokata-containers:stable-1.7from
egernst:backport-1.7
May 15, 2019
Merged

Backport 1.7#1685
egernst merged 2 commits intokata-containers:stable-1.7from
egernst:backport-1.7

Conversation

@egernst
Copy link
Member

@egernst egernst commented May 15, 2019

  • include nemu configuration adjustments
  • network namespace propagation fix

mcastelino and others added 2 commits May 15, 2019 09:29
Network namespace needs to be propagated if available at
createSandbox()

Fixes: kata-containers#1664

Signed-off-by: Manohar Castelino <manohar.r.castelino@intel.com>
- For initial offering of virtiofsd, hugepages are required
- use the qemu hypervisor type for configuration template
- decrease virtiofs cache size from 8192 to 1024, to better support
running with virtio-fs on smaller machines while hugepages are required.
- For initial experimental release, utilize virtio-serial instead of
vsock

Fixes: kata-containers#1662

Signed-off-by: Eric Ernst <eric.ernst@intel.com>
Copy link
Contributor

@mcastelino mcastelino left a comment

Choose a reason for hiding this comment

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

LGTM

But I feel we should add support for #1657 for virtiofsd.
If not our density will go down with virtiofsd.

DEFSHAREDFS := virtio-9p
DEFSHAREDFS_NEMU := virtio-fs
DEFVIRTIOFSDAEMON := $(VIRTIOFSDBINDIR)/virtiofsd
DEFVIRTIOFSDAEMON := $(VIRTIOFSDBINDIR)/virtiofsd-x86_64
Copy link
Contributor

Choose a reason for hiding this comment

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

@ganeshmaharaj @egernst did we not add support for file backed non huge page for virtiofsd.
Do you plan to add that as a subsequent PR

#1657

Copy link
Member Author

Choose a reason for hiding this comment

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

I wish we had that now, but it isn't ready yet for 1.7. TBH, I'm not sure if this would be a fair candidate for stable releases of 1.7, but definitely will enhance the usability. Perhaps since this is an experimental feature...

Copy link
Contributor

Choose a reason for hiding this comment

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

Yup. That is the next thing in our pipe. Given this feature is experimental and also the fact that file backend seems to have too many criterion to satisfy, it might be better to run it through rigorous testing before we land it.

@egernst
Copy link
Member Author

egernst commented May 15, 2019

/test

@egernst egernst merged commit 194f320 into kata-containers:stable-1.7 May 15, 2019
@egernst egernst deleted the backport-1.7 branch June 26, 2020 05:32
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.

4 participants