qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: "Andreas Färber" <afaerber@suse.de>
To: Cornelia Huck <cornelia.huck@de.ibm.com>
Cc: "Peter Maydell" <peter.maydell@linaro.org>,
	aliguori@us.ibm.com, "Evgeny Voevodin" <e.voevodin@samsung.com>,
	"Mark Burton" <mark.burton@greensocs.com>,
	qemu-devel@nongnu.org, agraf@suse.de,
	"KONRAD Frédéric" <fred.konrad@greensocs.com>
Subject: Re: [Qemu-devel] Virtio refactoring.
Date: Wed, 14 Nov 2012 00:00:01 +0100	[thread overview]
Message-ID: <50A2D0F1.5050209@suse.de> (raw)
In-Reply-To: <20121113163242.613b3d07@BR9GNB5Z>

Am 13.11.2012 16:32, schrieb Cornelia Huck:
> On Tue, 13 Nov 2012 15:27:57 +0100
> KONRAD Frédéric <fred.konrad@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

      parent reply	other threads:[~2012-11-13 23:14 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-11-13 14:27 [Qemu-devel] Virtio refactoring KONRAD Frédéric
2012-11-13 15:32 ` Cornelia Huck
2012-11-13 16:31   ` KONRAD Frédéric
2012-11-13 18:09     ` Cornelia Huck
2012-11-15 10:32       ` KONRAD Frédéric
2012-11-15 12:05         ` Cornelia Huck
2012-11-13 23:00   ` Andreas Färber [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=50A2D0F1.5050209@suse.de \
    --to=afaerber@suse.de \
    --cc=agraf@suse.de \
    --cc=aliguori@us.ibm.com \
    --cc=cornelia.huck@de.ibm.com \
    --cc=e.voevodin@samsung.com \
    --cc=fred.konrad@greensocs.com \
    --cc=mark.burton@greensocs.com \
    --cc=peter.maydell@linaro.org \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).