Re: [PATCH] kvm: x86: default legacy PCI device assignment support to "n"

Alex Williamson
2015-06-04T14:47:21Z

On Thu, 2015-06-04 at 16:33 +0200, Paolo Bonzini wrote:
>
> On 04/06/2015 16:31, Bandan Das wrote:
> > > 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 ?
>
> Yes, good idea! You mean just " (DEPRECATED)" after the string, right?

The ioctls should probably also be listed as deprecated in
Documentation/virtual/kvm/api.txt. There's also
Documentation/ABI/obsolete if we intend to remove the code eventually.