On Wed, Sep 10, 2014 at 12:59:35PM +0200, Paolo Bonzini wrote: > Il 10/09/2014 14:02, Michael S. Tsirkin ha scritto: > > That's not too hard: we need two types that only > > differ in the vmstate. > > Use the correct one to create the device depending > > on the pc type. > > > > Put in that light, we definitely did create new > > devices while keeping old ones around for > > compatibility. > > Do you have an example? I can think of one that we did in RHEL (hda) > but it was never upstream. > > Paolo
Well the whole PC machine is exactly like this, isn't it? Also, xen plans to do something similar for igd passthrough, and I plan to do something similar for virtio 1.0. stdvga is somewhat similar. -- MST