qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] Re: [PATCH] virtio-console: Have a static instance of virtc


From: Gerd Hoffmann
Subject: [Qemu-devel] Re: [PATCH] virtio-console: Have a static instance of virtconsole
Date: Tue, 08 Sep 2009 16:41:04 +0200
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.1) Gecko/20090814 Fedora/3.0-2.6.b3.fc11 Lightning/1.0pre Thunderbird/3.0b3

On 09/08/09 16:08, Anthony Liguori wrote:

Currently the VirtIOConsole struct is allocated from the call
to virtio_common_init, also doing an UP_CAST implicitly.

Maybe we ought to treat virtio-console like a bus? Do you have any
suggestions Gerd?

i.e. the virtio-console pci devices provides some virtual qdev bus (say vmch), then each port is modeled as separate qdev device for that bus? I think that handles it pretty nicely.

cheers,
  Gerd




reply via email to

[Prev in Thread] Current Thread [Next in Thread]