qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH 7/8] virtio-vga: v1


From: Paolo Bonzini
Subject: Re: [Qemu-devel] [PATCH 7/8] virtio-vga: v1
Date: Thu, 21 Nov 2013 07:17:17 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130923 Thunderbird/17.0.9

Il 21/11/2013 04:12, Dave Airlie ha scritto:
> I'm not sure what that buys me here, I need the virtio-vga to attach
> the vga ops the first console that the virtio-gpu registers, it can't
> be a separate console, and since virtio-gpu initialises before
> virtio-vga I can't tell it to not register the console.

If you make a base class, the ops can be registered in the base class
and they just call a method in the base class.  The default
implementation of the method can be virtio-gpu's, but virtio-vga can
override them and make them go to either the virtio-gpu implementation
or the VGA implementation.

Paolo



reply via email to

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