|
From: | KONRAD Frédéric |
Subject: | Re: [Qemu-devel] [PATCH] virtio-balloon: fix dynamic properties. |
Date: | Fri, 12 Apr 2013 10:36:27 +0200 |
User-agent: | Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/20130311 Thunderbird/17.0.4 |
On 12/04/2013 10:29, Peter Maydell wrote:
On 11 April 2013 23:38, <address@hidden> wrote:From: KONRAD Frederic <address@hidden> To keep compatibility with the old virtio-balloon-x, add the dynamic properties to virtio-balloon-pci and virtio-balloon-ccw.Does the approach I suggested on IRC where virtio-balloon-pci's property set/get callbacks just set/get the property on virtio-balloon via the public interface not work? Having to expose virtio-balloon's callback functions seems a bit of an encapsulation violation... thanks -- PMM
Oh, I didn't understand that like that. What do you mean by the public interface?I thought you wanted two set/get callbacks which call directly virtio-balloon callbacks.
Thanks, Fred
[Prev in Thread] | Current Thread | [Next in Thread] |