From: Bandan Das <bsd@redhat.com>
To: Paolo Bonzini <pbonzini@redhat.com>
Cc: linux-kernel@vger.kernel.org, kvm@vger.kernel.org,
alex.williamson@redhat.com
Subject: Re: [PATCH] kvm: x86: default legacy PCI device assignment support to "n"
Date: Thu, 04 Jun 2015 10:31:21 -0400 [thread overview]
Message-ID: <jpgy4jzk0jq.fsf@redhat.com> (raw)
In-Reply-To: <1433405164-2484-1-git-send-email-pbonzini@redhat.com> (Paolo Bonzini's message of "Thu, 4 Jun 2015 10:06:04 +0200")
Paolo Bonzini <pbonzini@redhat.com> writes:
> VFIO has proved itself a much better option than KVM's built-in
> device assignment. It is mature, provides better isolation because
> it enforces ACS, and even the userspace code is being tested on
> a wider variety of hardware these days than the legacy support.
>
> Disable legacy device assignment by default.
Shouldn't we mark it as Deprecated then ?
Bandan
> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
> ---
> arch/x86/kvm/Kconfig | 7 ++++---
> 1 file changed, 4 insertions(+), 3 deletions(-)
>
> diff --git a/arch/x86/kvm/Kconfig b/arch/x86/kvm/Kconfig
> index 413a7bf9efbb..a0f06a5947c5 100644
> --- a/arch/x86/kvm/Kconfig
> +++ b/arch/x86/kvm/Kconfig
> @@ -88,13 +88,14 @@ config KVM_MMU_AUDIT
> config KVM_DEVICE_ASSIGNMENT
> bool "KVM legacy PCI device assignment support"
> depends on KVM && PCI && IOMMU_API
> - default y
> + default n
> ---help---
> Provide support for legacy PCI device assignment through KVM. The
> kernel now also supports a full featured userspace device driver
> - framework through VFIO, which supersedes much of this support.
> + framework through VFIO, which supersedes this support and provides
> + better security.
>
> - If unsure, say Y.
> + If unsure, say N.
>
> # OK, it's a little counter-intuitive to do this, but it puts it neatly under
> # the virtualization menu.
next prev parent reply other threads:[~2015-06-04 14:31 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-06-04 8:06 [PATCH] kvm: x86: default legacy PCI device assignment support to "n" Paolo Bonzini
2015-06-04 14:31 ` Bandan Das [this message]
2015-06-04 14:33 ` Paolo Bonzini
2015-06-04 14:47 ` Alex Williamson
2015-06-04 14:48 ` Bandan Das
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=jpgy4jzk0jq.fsf@redhat.com \
--to=bsd@redhat.com \
--cc=alex.williamson@redhat.com \
--cc=kvm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=pbonzini@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox