On Thu, Nov 15, 2018 at 12:04:33PM +0100, Fabiano Fidêncio wrote: > One of the requests that came from KubeVirt is that would be really nice > if we could expose Guest supported features. > > In order to do so, I came up with this *prototype* and I'd like to ask > for some review of the schema before I actually start implementing > something on libosinfo side. > > One example of how it'll look like is: > <os> > <features> > <feature removed="true">device-hotplug</feature> > <feature>cpu-hotplug</feature> > <feature>NUMA</feature> > </features> > </os> In general our documentation for the osinfo schema is poor to non-existant. If we start adding features like this, however, I think it is important that we explicitly document what each one means as clearly as possible. eg 'device-hotplug' presumably refers to PCI device hotplug, but we should be clear it just means the OS is capable of supporting it. It doesn't mean its actually guaranteed to work. eg if either QEMU or kernel is booted with "noapci" it won't work. I'd be ok with the documentation simply comprising XML comments in the RNG schema Regards, Daniel -- |: https://berrange.com -o- https://www.flickr.com/photos/dberrange :| |: https://libvirt.org -o- https://fstop138.berrange.com :| |: https://entangle-photo.org -o- https://www.instagram.com/dberrange :| _______________________________________________ Libosinfo mailing list Libosinfo@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libosinfo