On 10/30/2009 02:09 PM, Anthony Liguori wrote:

Okay, let's get more clever then and do:

#define QERR_DEV_NFOUND "{ 'code': 404, 'name': %s}"

So we can do:

qemu_error_structured(QERR_DEV_NFOUND, driver);

Such that we still get printf style parameter checking.

That's clever indeed. :-) But no more clever than other things in qemu, I think I like it. :-)

Paolo


Reply via email to