On 20/09/2016 16:58, Daniel P. Berrange wrote:
> > As I've said in my earlier reply - libvirt will *NOT*
support passing
> > arbitrary vendor specific parameters as a blob via the XML. Everything
> > that appears in the XML must be *fully* specified and explicitly
> > represented in the XML as a distinct attribute or element.
>
> Are generic key/value attributes (e.g. a <attribute> element) acceptable?
Only if libvirt has a known list of valid attribute key names upfront.
We don't want to just blindly expose arbitary vendor specific keys exposed
by the kernel. Libvirt's job is to ensure the XML representation is vendor
portable
Ok, then I guess vendor-specific mdev parameters are out completely. Or
could they be added under a separate namespace, like QEMU passthrough?
Paolo