[libvirt] Currently in freeze for 0.8.8, rc2 available

Justin Clift jclift at redhat.com
Mon Feb 14 11:30:13 UTC 2011


On 14/02/2011, at 9:58 PM, Daniel P. Berrange wrote:
> It is a broken enum declaration in the header libvirt-qemu.h:
> 
> enum {
>    VIR_DOMAIN_QEMU_MONITOR_COMMAND_DEFAULT = 0,
>    VIR_DOMAIN_QEMU_MONITOR_COMMAND_HMP     = (1 << 0), /* cmd is in HMP */
> } virDomainQemuMonitorCommandFlags;
> 
> 
> There is a missing 'typedef' keyword there before 'enum', so instead of
> defining a type, it is defining a variable :-(

Thanks Daniel (Berrange), that's perfect, it really was that simple. :)  (whew!)

Just submitted the simple 1 line fix adding "typedef" before the enum,
and it works on OSX now.  (still working on F13 too, no breakage caused)

Daniel (Veillard) do you reckon it's worth knocking out a 0.8.8rc3 quickly
or something?

Regards and best wishes,

Justin Clift




More information about the libvir-list mailing list