[pve-devel] applied: [PATCH v3 container] fix invalid device passthrough being added to config

Fiona Ebner f.ebner at proxmox.com
Tue Apr 16 12:56:33 CEST 2024


Am 16.04.24 um 12:47 schrieb Fiona Ebner:
> Am 16.04.24 um 11:27 schrieb Filip Schauer:
>> diff --git a/src/PVE/LXC/Config.pm b/src/PVE/LXC/Config.pm
>> index 5ac1446..408140f 100644
>> --- a/src/PVE/LXC/Config.pm
>> +++ b/src/PVE/LXC/Config.pm
>> @@ -3,7 +3,8 @@ package PVE::LXC::Config;
>>  use strict;
>>  use warnings;
>>  
>> -use Fcntl qw(O_RDONLY);
>> +use Errno qw(ENOENT);
>> +use Fcntl qw(O_RDONLY :mode);
>>  
>>  use PVE::AbstractConfig;
>>  use PVE::Cluster qw(cfs_register_file);
> 
> I dropped the above hunk, because it's a left-over from a previous
> version AFAICT.
> 

And the LXC::Config module did not yet include LXC::Tools, added that
with a follow-up patch.




More information about the pve-devel mailing list