Re: [PATCH v3] Enhance kvmconfig

From: Paolo Bonzini
Date: Mon May 09 2016 - 11:16:45 EST




On 09/05/2016 17:04, Andrey Utkin wrote:
> From: Andrey Utkin <andrey_utkin@xxxxxxxxxxxx>
>
> "make defconfig kvmconfig" is supposed to end up with usable kernel for
> KVM guest. In practice, it won't work for e.g. Hetzner VPS (KVM-based)
> unless you add these options.
>
> Signed-off-by: Andrey Utkin <andrey_utkin@xxxxxxxxxxxx>
> ---
> v3: dropped VIRTIO_MMIO stuff as suggested by Paolo Bonzini. Tested.
>
> arch/x86/configs/kvm_guest.config | 3 +++
> 1 file changed, 3 insertions(+)
>
> diff --git a/arch/x86/configs/kvm_guest.config b/arch/x86/configs/kvm_guest.config
> index f9affcc..9906505 100644
> --- a/arch/x86/configs/kvm_guest.config
> +++ b/arch/x86/configs/kvm_guest.config
> @@ -26,3 +26,6 @@ CONFIG_VIRTIO_NET=y
> CONFIG_9P_FS=y
> CONFIG_NET_9P=y
> CONFIG_NET_9P_VIRTIO=y
> +CONFIG_SCSI_LOWLEVEL=y
> +CONFIG_SCSI_VIRTIO=y
> +CONFIG_VIRTIO_INPUT=y
>

I can queue this in the KVM tree. Will take a few days probably, though.

Paolo