New issue
Advanced search Search tips

Issue 834273 link

Starred by 4 users

Issue metadata

Status: Fixed
Owner:
Closed: May 2018
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 1
Type: Bug



Sign in to add a comment

update aarch64 VM kernel to support containers

Project Member Reported by sonnyrao@chromium.org, Apr 18 2018

Issue description

Tracking bug to land changes to the guest kernel needed for lxc
 
Project Member

Comment 1 by bugdroid1@chromium.org, Apr 28 2018

Labels: merge-merged-chromeos-4.14
The following revision refers to this bug:
  https://chromium.googlesource.com/chromiumos/third_party/kernel/+/9de7994548b81537d99aa2b85da548cce7ef2c45

commit 9de7994548b81537d99aa2b85da548cce7ef2c45
Author: Sonny Rao <sonnyrao@chromium.org>
Date: Sat Apr 28 01:04:46 2018

CHROMIUM: config: arm vm config: enable more virtio drivers

Make the arm and x86 guest kernel's the same for virtio drivers.

BUG= chromium:834273 
TEST=manual test starting container on kevin

Change-Id: Ic3a49924e61732eca01f736ae68aeb97a1106e83
Signed-off-by: Sonny Rao <sonnyrao@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/1031566
Reviewed-by: Stephen Barber <smbarber@chromium.org>

[modify] https://crrev.com/9de7994548b81537d99aa2b85da548cce7ef2c45/arch/arm64/configs/chromiumos-container-vm-arm64_defconfig

Project Member

Comment 2 by bugdroid1@chromium.org, Apr 28 2018

The following revision refers to this bug:
  https://chromium.googlesource.com/chromiumos/third_party/kernel/+/14dbedf75f5b372d9ede89997fe13f38eb0050f1

commit 14dbedf75f5b372d9ede89997fe13f38eb0050f1
Author: Sonny Rao <sonnyrao@chromium.org>
Date: Sat Apr 28 01:04:48 2018

CHROMIUM: config: arm vm: add VETH and TUN/TAP

We need CONFIG_VETH and TUN/TAP configs to run containers.

BUG= chromium:834273 
TEST=manual test starting container on kevin

Change-Id: I5cacc64f8f93102933c60a69f6c9a7b689f2071b
Signed-off-by: Sonny Rao <sonnyrao@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/1031567
Reviewed-by: Stephen Barber <smbarber@chromium.org>

[modify] https://crrev.com/14dbedf75f5b372d9ede89997fe13f38eb0050f1/arch/arm64/configs/chromiumos-container-vm-arm64_defconfig

Project Member

Comment 3 by bugdroid1@chromium.org, Apr 28 2018

The following revision refers to this bug:
  https://chromium.googlesource.com/chromiumos/third_party/kernel/+/eaa4a296a7588ac521dd2a6f23148c3b7475dbd5

commit eaa4a296a7588ac521dd2a6f23148c3b7475dbd5
Author: Sonny Rao <sonnyrao@chromium.org>
Date: Sat Apr 28 01:04:49 2018

CHROMIUM: config: arm vm: disable symlink restrictions

LXC makes use of symlinks on the stateful partition, so we need to
disable that restriction on the guest kernel.  This also matches the
VM guest kernel configuration on x86.

BUG= chromium:834273 
TEST=manual test on kevin launching containers

Change-Id: I76b2b6162528dd1999b19d67b187a87b09b1a283
Signed-off-by: Sonny Rao <sonnyrao@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/1031568
Reviewed-by: Stephen Barber <smbarber@chromium.org>

[modify] https://crrev.com/eaa4a296a7588ac521dd2a6f23148c3b7475dbd5/arch/arm64/configs/chromiumos-container-vm-arm64_defconfig

Project Member

Comment 4 by bugdroid1@chromium.org, Apr 28 2018

The following revision refers to this bug:
  https://chromium.googlesource.com/chromiumos/third_party/kernel/+/434596971551eebe526cc5b9dd26817a7b0090e2

commit 434596971551eebe526cc5b9dd26817a7b0090e2
Author: Sonny Rao <sonnyrao@chromium.org>
Date: Sat Apr 28 01:04:51 2018

CHROMIUM: config: arm vm enable POSIX_MQUEUE

Lxd wants to use posix multi-queue support, so let's turn that on.

BUG= chromium:834273 
TEST=manual test on kevin

Change-Id: I220412e21688c70985689ea88001f4f6a40d73a8
Signed-off-by: Sonny Rao <sonnyrao@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/1031569
Reviewed-by: Stephen Barber <smbarber@chromium.org>

[modify] https://crrev.com/434596971551eebe526cc5b9dd26817a7b0090e2/arch/arm64/configs/chromiumos-container-vm-arm64_defconfig

Project Member

Comment 5 by bugdroid1@chromium.org, Apr 28 2018

The following revision refers to this bug:
  https://chromium.googlesource.com/chromiumos/third_party/kernel/+/68f9d21d0c8091c785ff89ed402b17c4bd7081fe

commit 68f9d21d0c8091c785ff89ed402b17c4bd7081fe
Author: Sonny Rao <sonnyrao@chromium.org>
Date: Sat Apr 28 01:04:53 2018

CHROMIUM: config: arm vm:  add cgroup configs

The containers want to use a few more cgroups, this makes the ARM vm
config match x86 for cgroups.

BUG= chromium:834273 
TEST=manual test on kevin, launch container

Change-Id: Ib6fb62e6f9c570479e5fa0139bb770c6d207fab5
Signed-off-by: Sonny Rao <sonnyrao@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/1031610
Reviewed-by: Stephen Barber <smbarber@chromium.org>

[modify] https://crrev.com/68f9d21d0c8091c785ff89ed402b17c4bd7081fe/arch/arm64/configs/chromiumos-container-vm-arm64_defconfig

Project Member

Comment 6 by bugdroid1@chromium.org, Apr 28 2018

The following revision refers to this bug:
  https://chromium.googlesource.com/chromiumos/third_party/kernel/+/1f7f53215b07e81bb344cedbf143bdd13a959faa

commit 1f7f53215b07e81bb344cedbf143bdd13a959faa
Author: Sonny Rao <sonnyrao@chromium.org>
Date: Sat Apr 28 01:04:54 2018

CHROMIUM: config: arm vm config add netfilter stuff

Make the netfliter configs match x86.

BUG= chromium:834273 
TEST=manual test on kevin

Change-Id: I70d61eb24d7ffd5a469c41cc8e4800347b171ac6
Signed-off-by: Sonny Rao <sonnyrao@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/1031611
Reviewed-by: Stephen Barber <smbarber@chromium.org>

[modify] https://crrev.com/1f7f53215b07e81bb344cedbf143bdd13a959faa/arch/arm64/configs/chromiumos-container-vm-arm64_defconfig

Project Member

Comment 7 by bugdroid1@chromium.org, Apr 28 2018

The following revision refers to this bug:
  https://chromium.googlesource.com/chromiumos/third_party/kernel/+/164b7e4c710bd35a1ec2e4f7b4346d9c67135860

commit 164b7e4c710bd35a1ec2e4f7b4346d9c67135860
Author: Sonny Rao <sonnyrao@chromium.org>
Date: Sat Apr 28 01:04:56 2018

CHROMIUM: config: arm vm: enable softlockup detector

This is enabled in the x86 guest config and is reasonable to have for
arm as well.

BUG= chromium:834273 
TEST=manual test on kevin

Change-Id: I93db5495e91eff7458ab9061bf88641354a49d7b
Signed-off-by: Sonny Rao <sonnyrao@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/1031612
Reviewed-by: Stephen Barber <smbarber@chromium.org>

[modify] https://crrev.com/164b7e4c710bd35a1ec2e4f7b4346d9c67135860/arch/arm64/configs/chromiumos-container-vm-arm64_defconfig

Project Member

Comment 8 by bugdroid1@chromium.org, Apr 28 2018

The following revision refers to this bug:
  https://chromium.googlesource.com/chromiumos/third_party/kernel/+/5ad0b979a882aaf7ea4ae6499ccb8177cadcbfab

commit 5ad0b979a882aaf7ea4ae6499ccb8177cadcbfab
Author: Sonny Rao <sonnyrao@chromium.org>
Date: Sat Apr 28 01:04:57 2018

CHROMIUM: config: arm vm: enable CONFIG_RANDOMIZE_BASE

This is enabled on the x86 guest config and is reasonable for arm as
well.

BUG= chromium:834273 
TEST=manual test on kevin

Change-Id: I1ffeeabe000145e3e7f9a4a6234e337bcee9f1df
Signed-off-by: Sonny Rao <sonnyrao@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/1031613
Reviewed-by: Stephen Barber <smbarber@chromium.org>

[modify] https://crrev.com/5ad0b979a882aaf7ea4ae6499ccb8177cadcbfab/arch/arm64/configs/chromiumos-container-vm-arm64_defconfig

Project Member

Comment 9 by bugdroid1@chromium.org, Apr 28 2018

The following revision refers to this bug:
  https://chromium.googlesource.com/chromiumos/third_party/kernel/+/5744307aa2d2452f39fccea05d0a0720ce9dcb6f

commit 5744307aa2d2452f39fccea05d0a0720ce9dcb6f
Author: Sonny Rao <sonnyrao@chromium.org>
Date: Sat Apr 28 01:04:59 2018

CHROMIUM: config: arm vm: disable CONFIG_FB

Not needed on a guest kernel without real devices.

BUG= chromium:834273 
TEST=manual test on kevin

Change-Id: I664e9d44c8004f52f552a3ebba3e2014fb97dc45
Signed-off-by: Sonny Rao <sonnyrao@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/1031614
Reviewed-by: Stephen Barber <smbarber@chromium.org>

[modify] https://crrev.com/5744307aa2d2452f39fccea05d0a0720ce9dcb6f/arch/arm64/configs/chromiumos-container-vm-arm64_defconfig

Project Member

Comment 10 by bugdroid1@chromium.org, Apr 28 2018

The following revision refers to this bug:
  https://chromium.googlesource.com/chromiumos/third_party/kernel/+/0078a44f0faaa57b8ba5524bb8c3453ebcd5660b

commit 0078a44f0faaa57b8ba5524bb8c3453ebcd5660b
Author: Sonny Rao <sonnyrao@chromium.org>
Date: Sat Apr 28 01:05:00 2018

CHROMIUM: config: arm vm: disable CONFIG_I2C

This is not needed for a guest kernel without real devices.

BUG= chromium:834273 
TEST=manual test on kevin

Change-Id: I1bca0d79b68729f86d131eb8bf8856990790278e
Signed-off-by: Sonny Rao <sonnyrao@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/1031615
Reviewed-by: Stephen Barber <smbarber@chromium.org>

[modify] https://crrev.com/0078a44f0faaa57b8ba5524bb8c3453ebcd5660b/arch/arm64/configs/chromiumos-container-vm-arm64_defconfig

Status: Fixed (was: Started)

Sign in to add a comment