[libvirt] [PATCH 0/6] RFC: qemu: virtio-{non-}transitional support

Andrea Bolognani abologna at redhat.com
Wed Jan 16 14:07:07 UTC 2019


On Wed, 2019-01-16 at 11:13 +0000, Daniel P. Berrangé wrote:
> On Wed, Jan 16, 2019 at 12:01:00PM +0100, Andrea Bolognani wrote:
> > Based on what I can recall from my own, more recent, attempt at
> > fixing the mess, the main blocker was that in order to keep
> > accepting all existing configurations you'd basically have to
> > still store the model as a string and only at a later time
> > convert it to an enum.
> 
> The enum should cover all existing reasonably expected configs. Sure I
> imagine we might miss a few, especially for obscure architectures or
> hypervisors, but that would just be bugs to be fixed

Until we've fixed said bugs, guests using such models would just
disappear though, wouldn't they? That doesn't sound acceptable.

And defining even the incomplete enum would require someone to
be familiar with all drivers in order to know which models are
commonly used, or at all available.

-- 
Andrea Bolognani / Red Hat / Virtualization




More information about the libvir-list mailing list