[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] Virtio refactoring.
From: |
Andreas Färber |
Subject: |
Re: [Qemu-devel] Virtio refactoring. |
Date: |
Wed, 14 Nov 2012 00:00:01 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:16.0) Gecko/20121025 Thunderbird/16.0.2 |
Am 13.11.2012 16:32, schrieb Cornelia Huck:
> On Tue, 13 Nov 2012 15:27:57 +0100
> KONRAD Frédéric <address@hidden> 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