Re: [PATCH v2] drivers/virt/vSMP: new driver
From: Czerwacki, Eial
Date: Wed Sep 07 2022 - 02:11:52 EST
>On Thu, Aug 25, 2022 at 06:24:02AM +0000, Czerwacki, Eial wrote:
>> --- /dev/null
>> +++ b/drivers/virt/vsmp/Kconfig
>> @@ -0,0 +1,11 @@
>> +# SPDX-License-Identifier: GPL-2.0-only
>> +config VSMP
>> + tristate "vSMP Guest Support"
>> + depends on SYS_HYPERVISOR && X86_64 && PCI
>> + help
>> + Support for vSMP Guest Driver.
>> +
>> + This driver allows information gathering of data from the vSMP hypervisor when
>> + running on top of a vSMP-based hypervisor.
>> +
>> + If unsure, say no.
>
>In wanting to test this out, I tried it but this depends line is wrong,
>you have to set SYS_HYPERVISOR, you can not depend on it otherwise your
>code will never be selected :(
>
>How did you test this?
>
>thanks,
>
>greg k-h
as you pointed out another mail thread, I've made a mistake and developed the code on the a kernel which isn't mainline, my apologies, this patch should be dropped until I generate a new patch which is based on mainline kernel.
Eial