[PATCH] powerpc: Add KVM guest defconfig
Satheesh Rajendran
sathnaga at linux.vnet.ibm.com
Tue Nov 13 14:43:03 AEDT 2018
On Mon, Nov 12, 2018 at 11:24:08PM +1100, Michael Ellerman wrote:
> Satheesh Rajendran <sathnaga at linux.vnet.ibm.com> writes:
>
> > On Thu, Nov 08, 2018 at 04:23:07PM -0200, Breno Leitao wrote:
> >> hi Satheesh,
> >>
> >> On 11/08/2018 03:08 AM, sathnaga at linux.vnet.ibm.com wrote:
> >> > --- /dev/null
> >> > +++ b/arch/powerpc/configs/guest.config
> >> > @@ -0,0 +1,14 @@
> >> > +CONFIG_VIRTIO_BLK=y
> >> > +CONFIG_VIRTIO_BLK_SCSI=y
> >> > +CONFIG_SCSI_VIRTIO=y
> >> > +CONFIG_VIRTIO_NET=y
> >> > +CONFIG_NET_FAILOVER=y
> >> > +CONFIG_VIRTIO_CONSOLE=y
> >> > +CONFIG_VIRTIO=y
> >> > +CONFIG_VIRTIO_PCI=y
> >> > +CONFIG_KVM_GUEST=y
> >> > +CONFIG_EPAPR_PARAVIRT=y
> >> > +CONFIG_XFS_FS=y
> >>
> >> Why a guest kernel needs to have XFS integrated in the core image? I am
> >> wondering if it is a requirement from another CONFIG_ option.
> >
> > Idea is to have a working config which would boot guest without initramfs,
> > other FS(like EXT4) is already integrated in the core image,
> > thought this would be helpful for distributions, which default XFS as root disk.
>
> Maybe we should switch XFS_FS to Y in ppc64_defconfig ?
Sure, makes sense, will send it for ppc64_defconfig instead.
Inaddition, Have few more symbols to be enabled for cgroups,
memhotplug,numa balancing.
I guess these symbols can also go to ppc64_defconfig itself?.
i.e,
CONFIG_CGROUP_SCHED=y
CONFIG_MEMCG=y
CONFIG_CGROUP_SCHED=y
CONFIG_CGROUP_FREEZER=y
CONFIG_CGROUP_DEVICE=y
CONFIG_CGROUP_CPUACCT=y
CONFIG_CGROUP_PERF=y
CONFIG_MEMORY_HOTPLUG=y
CONFIG_MEMORY_HOTREMOVE=y
CONFIG_NUMA_BALANCING=y
Thanks!
-Satheesh.
>
> cheers
>
More information about the Linuxppc-dev
mailing list