Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: XEN devices included in kernel even if not XEN



Manuel Bouyer <bouyer%antioche.eu.org@localhost> writes:

> On Tue, Dec 21, 2021 at 07:44:59AM -0800, Paul Goyette wrote:
>> I've noticed that device drivers listed in arch/xen/conf/files.xen
>> (or, at least, most of those devices) seem to be included in kernel
>> even if not using XEN.  Shouldn't all those devices be conditional?
>> 
>> # sysctl -a | grep driver | tr ',' '\n' | grep 'x[be]*'
>> ...
>>  [141 -1 xenevt]
>>  [142 142 xbd]
>>  [143 -1 xencons]
>
> I think this lists all the known major numbers for the $MACHINE, I don't think
> it means that the driver is actually loaded.


... and a PVHVM guest can use the GENERIC kernel, but will want the Xen
devices too.




-- 
Brad Spencer - brad%anduin.eldar.org@localhost - KC8VKS - http://anduin.eldar.org


Home | Main Index | Thread Index | Old Index