> Instead of enabling all features by default, we could query which > features are supported by the hypervisor on this host and enable only > those. > > To query supported features get the HvPartitionPropertyProcessorFeatures > property via HvCallGetPartitionProperty (with HV_PARTITION_ID_SELF). > > I think this would be more robust. This is what Cloud Hypervisor (well, > technically, the mshv crate) does. >
that makes sense, I'll adjust that part in a v2 thanks, magnus
