
On 9/10/21 4:20 PM, Daniel P. Berrangé wrote:
On Thu, Sep 09, 2021 at 03:52:45PM +0000, Puscasu, Felix wrote:
Hello Libvirt team,
<snip/>
We generally like to take code in smaller chunks, rather than a big bang adding everything at once. Our general minimum bar for hypervisor drivers has only required a handful of APIs to be implemented. Something perhaps covering the virsh comands nodeinfo, capabilities, list, define, start, getxml, destroy. This lets you get info about the hypervisor, and do a very basic VM create and teardown.
There was new hypervisor added fairly recently (CloudHypervisor) and I think you can take an inspiration on what needs to be done in general to add a new driver. Also it is perfectly okay to say that a driver is experimental for now. Michal