On 08/05/2011 06:30 PM, Anthony Liguori wrote:
-    isa_bus_new(&s->qdev);
+    EbusState *s = container_of(pci_dev, EbusState, pci_dev);


DO_UPCAST() is the qdev macro for this.


Fixed.

--
error compiling committee.c: too many arguments to function


Reply via email to