Am 13.11.2012 16:32, schrieb Cornelia Huck: > On Tue, 13 Nov 2012 15:27:57 +0100 > KONRAD Frédéric <fred.kon...@greensocs.com> wrote: >> * Introduce a new VirtioBus ( same way as scsi-bus.c ), with >> VirtIODevice >> interface : >> -> callback to completely abstract the VirtioDevice from >> VirtioPCI. >> -> for the queue, load/save the queue/config, features, ..., >> other ? >> * Add a VirtioBus to the VirtioPCIProxy. ( virtio-pci.c ) : >> -> moving all to the newer callback. >> * For each of the virtio-device : ( virtio-x.c ) >> -> making a separate class for virtio-x which is a VirtioDevice. >> -> making a virtio-x-pci which has a virtio-x. >> * Create virtio-mmio ( virtio-mmio.c ). >> >> Is it the right approach ? Do I miss something ? > > What of the alias handling? Can this be killed once everything has been > converted?
AFAIU yes, but we may need to add new aliases for the long versions (virtio-blk-pci) instead. ;) Andreas -- SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer; HRB 16746 AG Nürnberg