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

Bandan Das
2015-06-04T14:48:37Z

Paolo Bonzini <pbonzini@redhat.com> writes:

> 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?

Yeah, that is what I meant. The "Help" message does mention VFIO as the
newer option. Sometimes, seeing the word "DEPRECATED" makes one rethink if they
really need to enable it.

> Paolo