[libvirt] [PATCH 19/21] Start of support for QEMU JSON based monitor protocol

Paolo Bonzini pbonzini at redhat.com
Mon Oct 26 10:15:22 UTC 2009


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




More information about the libvir-list mailing list