On 10/23/2009 03:05 PM, Daniel P. Berrange wrote:
+ if (mon->json) + ret = qemuMonitorJSONSystemPowerdown(mon); + else + ret = qemuMonitorTextSystemPowerdown(mon);
Why not make a vtable? Paolo -- Libvir-list mailing list Libvir-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvir-list