Only VNC_{{DIS,}CONNECTED,INITIALIZED} and SPICE_INITIALIZED events are
documented to support server/auth field and even there it is marked as
optional. Emit "" auth scheme in case QEMU didn't send it.
authScheme = virJSONValueObjectGetString(server, "auth");
if (!authScheme) {
- VIR_WARN("missing auth scheme in graphics event");
- return;
+ /* not all events are required to contain auth scheme */
+ VIR_DEBUG("missing auth scheme in graphics event");
+ authScheme = "";
}
localFamily = virJSONValueObjectGetString(server, "family");