Skip to contentSkip to conversation

converting pci-assign to qerror_report()?

Qemu-devel Laszlo Ersek 1 participant 1 message Dec 17, 2013

lore
Share & tools
lore
#0 lore raw

Hi Anthony,

I'm thinking about converting the error reporting in assigned_initfn() [hw/i386/kvm/pci-assign.c] from error_report() to qerror_report[_err]().

Internally I might use error propagation, but I don't intend to convert pci-assign from qdev to QOM / true realizefn. (I intend to *re*-try error propagation up to and thru device_add even less.) So internal errors wouldn't propagate out of assigned_initfn(), I'd probably consume them there with qerror_report_err().

Considering your earlier message

https://lists.nongnu.org/archive/html/qemu-devel/2012-02/msg03102.html

will you NAK such a patch?

(I'll note that this is not a *new* QMP function.)

Thanks!
Laszlo