Re: [libvirt] RFC: Check if the host device is assignable earlier

2012-09-25 Thread Osier Yang
On 2012年09月25日 00:32, Eric Blake wrote: On 09/23/2012 10:29 PM, Osier Yang wrote: Hi, I think we already got enough bugs which are about try to assign a host device, then it fails for not assignable, clearly this try and then fails approach is not nice. The reason for not assignable can be

Re: [libvirt] RFC: Check if the host device is assignable earlier

2012-09-24 Thread Eric Blake
On 09/23/2012 10:29 PM, Osier Yang wrote: Hi, I think we already got enough bugs which are about try to assign a host device, then it fails for not assignable, clearly this try and then fails approach is not nice. The reason for not assignable can be various. E.g. * IOMMU or AMD-V is

[libvirt] RFC: Check if the host device is assignable earlier

2012-09-23 Thread Osier Yang
Hi, I think we already got enough bugs which are about try to assign a host device, then it fails for not assignable, clearly this try and then fails approach is not nice. The reason for not assignable can be various. E.g. * IOMMU or AMD-V is not enabled/supported * platform doesn't