Re: [libvirt] [PATCH v3 3/3] Honor blacklist for modprobe command

2014-02-04 Thread Ján Tomko
On 01/30/2014 06:50 PM, John Ferlan wrote: https://bugzilla.redhat.com/show_bug.cgi?id=1045124 When loading modules, libvirt does not honor the modprobe blacklist. Use the new virKModLoad() API in order to attempt load with blacklist check. Use the new virKModIsBlacklisted() API to check if

Re: [libvirt] [PATCH v3 3/3] Honor blacklist for modprobe command

2014-02-04 Thread John Ferlan
On 02/04/2014 06:06 AM, Ján Tomko wrote: On 01/30/2014 06:50 PM, John Ferlan wrote: https://bugzilla.redhat.com/show_bug.cgi?id=1045124 When loading modules, libvirt does not honor the modprobe blacklist. Use the new virKModLoad() API in order to attempt load with blacklist check. Use the

Re: [libvirt] [PATCH v3 3/3] Honor blacklist for modprobe command

2014-02-04 Thread Ján Tomko
On 02/04/2014 03:29 PM, John Ferlan wrote: On 02/04/2014 06:06 AM, Ján Tomko wrote: On 01/30/2014 06:50 PM, John Ferlan wrote: +VIR_FREE(errbuf); +goto cleanup; } goto recheck; } +/* If we know failure was because of blacklist,

Re: [libvirt] [PATCH v3 3/3] Honor blacklist for modprobe command

2014-02-04 Thread John Ferlan
On 02/04/2014 10:10 AM, Ján Tomko wrote: On 02/04/2014 03:29 PM, John Ferlan wrote: On 02/04/2014 06:06 AM, Ján Tomko wrote: On 01/30/2014 06:50 PM, John Ferlan wrote: +VIR_FREE(errbuf); +goto cleanup; } goto recheck; } +/* If

Re: [libvirt] [PATCH v3 3/3] Honor blacklist for modprobe command

2014-02-04 Thread Ján Tomko
On 02/04/2014 04:29 PM, John Ferlan wrote: On 02/04/2014 10:10 AM, Ján Tomko wrote: On 02/04/2014 03:29 PM, John Ferlan wrote: On 02/04/2014 06:06 AM, Ján Tomko wrote: On 01/30/2014 06:50 PM, John Ferlan wrote: +VIR_FREE(errbuf); +goto cleanup; }

[libvirt] [PATCH v3 3/3] Honor blacklist for modprobe command

2014-01-30 Thread John Ferlan
https://bugzilla.redhat.com/show_bug.cgi?id=1045124 When loading modules, libvirt does not honor the modprobe blacklist. Use the new virKModLoad() API in order to attempt load with blacklist check. Use the new virKModIsBlacklisted() API to check if the failure to load was due to the blacklist