I am not sure, if I should answer to this, but this can be solved by recompiling Linux headers with editing kernel configuration: add CONFIG_HOTPLUG_CPU=y
this would help your problem, and jailhouse might work, but you might face a problem of Jailhouse adding no virtual devices. You can check this by lspci before and after jailhouse enable command. I have one question regarding your 5.10 kernel. I tried compiling it on 5.10, but I had different error, so I was using 5.3 and had no PCI devices, then upgraded to 5.4 and I got back the PCI devices, but as I said Jailhouse still cannot add virtual PCI device Best regards, Moustafa Noufale On Wednesday, 10 November 2021 at 14:46:03 UTC+1 [email protected] wrote: > On 10.11.21 13:05, Andrea Marchetta wrote: > > hi, i'm currently using the 5.10 version of jailhouse enabling linux and > > the master branch of jailhouse. when trying to compile jailhouse in the > > linux kernel i get the following error: > > error: implicit declaration of > > function ‘remove_cpu’ [-Werror=implicit-function-declaration] > > 243 | err = remove_cpu(cpu); > > | ^~~~~~~~~~ > > error: implicit declaration of > > function ‘add_cpu’ [-Werror=implicit-function-declaration] > > 272 | if (!cpu_online(cpu) && add_cpu(cpu) == 0) > > | ^~~~~~~ > > cc1: some warnings being treated as errors > > > > any clue what's the issue? > > > > You want master/next, not the (meanwhile serious old) last release. > > Jan > > -- > Siemens AG, T RDA IOT > Corporate Competence Center Embedded Linux > -- You received this message because you are subscribed to the Google Groups "Jailhouse" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jailhouse-dev/f3c70343-1f25-4540-ad1f-b0831d31dabdn%40googlegroups.com.
