Re: [PATCH] virt-host-validate: Rework calling of driver validation

2024-07-11 Thread Ján Tomko
On a Thursday in 2024, Michal Privoznik wrote: It all started with me looking at the --help output which also printed "bhyve" as supported hypervisor type. It did not say it is a supported hypervisor type, it merely listed it as a supported option. I don't think we need this patch. It works as

[PATCH] virt-host-validate: Rework calling of driver validation

2024-07-11 Thread Michal Privoznik
It all started with me looking at the --help output which also printed "bhyve" as supported hypervisor type. Well, it's not on my Linux machine. To resolve this, I'm just creating a static array of { "$driver", callback() } pairs and iterating over it. The array is then initialized at compile time