def myDomainEventGraphicsCallback(conn, dom, phase, localAddr, remoteAddr,
                                  authScheme, subject, opaque):
    evf.virEventFilter(VIR_DOMAIN_EVENT_ID_GRAPHICS, -1, phase,
                       dom.UUIDString())
def myDomainEventWatchdogCallback(conn, dom, action, opaque):
    evf.virEventFilter(VIR_DOMAIN_EVENT_ID_WATCHDOG, action, -1,
                       dom.UUIDString())
def myDomainEventIOErrorCallback(conn, dom, srcpath, devalias, action, opaque):
    evf.virEventFilter(VIR_DOMAIN_EVENT_ID_IO_ERROR, action, -1,
                       dom.UUIDString())
def myDomainEventRebootCallback(conn, dom, opaque):
    evf.virEventFilter(VIR_DOMAIN_EVENT_ID_REBOOT, -1, -1, dom.UUIDString())
def myDomainEventRTCChangeCallback(conn, dom, utcoffset, opaque):
    evf.virEventFilter(VIR_DOMAIN_EVENT_ID_RTC_CHANGE, -1, -1,
                       dom.UUIDString())
def myDomainEventCallback(conn, dom, event, detail, opaque):
    evf.virEventFilter(VIR_DOMAIN_EVENT_ID_LIFECYCLE,
                       event, detail, dom.UUIDString())
def myDomainEventCallback(conn, dom, event, detail, opaque):
    evf.virEventFilter(VIR_DOMAIN_EVENT_ID_LIFECYCLE, event, detail,
                       dom.UUIDString())
def myDomainEventDiskChangeCallback(conn, dom, oldSrcPath, newSrcPath, devAlias, reason, opaque):
    evf.virEventFilter(VIR_DOMAIN_EVENT_ID_DISK_CHANGE, -
                       1, -1, dom.UUIDString())
def myDomainEventIOErrorReasonCallback(conn, dom, srcPath, devAlias, action, reason, opaque):
    evf.virEventFilter(
        VIR_DOMAIN_EVENT_ID_IO_ERROR_REASON, -1, -1, dom.UUIDString())
def myDomainEventIOErrorCallback(conn, dom, srcpath, devalias, action, opaque):
    evf.virEventFilter(VIR_DOMAIN_EVENT_ID_IO_ERROR,
                       action, -1, dom.UUIDString())
def myDomainEventGraphicsCallback(conn, dom, phase, localAddr, remoteAddr, authScheme, subject, opaque):
    evf.virEventFilter(VIR_DOMAIN_EVENT_ID_GRAPHICS, -
                       1, phase, dom.UUIDString())
def myDomainEventWatchdogCallback(conn, dom, action, opaque):
    evf.virEventFilter(VIR_DOMAIN_EVENT_ID_WATCHDOG,
                       action, -1, dom.UUIDString())
def myDomainEventRTCChangeCallback(conn, dom, utcoffset, opaque):
    evf.virEventFilter(VIR_DOMAIN_EVENT_ID_RTC_CHANGE, -
                       1, -1, dom.UUIDString())
def myDomainEventRebootCallback(conn, dom, opaque):
    evf.virEventFilter(VIR_DOMAIN_EVENT_ID_REBOOT, -1, -1, dom.UUIDString())
def myDomainEventDiskChangeCallback(conn, dom, oldSrcPath, newSrcPath,
                                    devAlias, reason, opaque):
    evf.virEventFilter(VIR_DOMAIN_EVENT_ID_DISK_CHANGE, -1, -1,
                       dom.UUIDString())
def myDomainEventGenericCallback(conn, dom, opaque):
    evf.virEventFilter(VIR_DOMAIN_EVENT_ID_CONTROL_ERROR, -1, -1,
                       dom.UUIDString())
def myDomainEventIOErrorReasonCallback(conn, dom, srcPath, devAlias, action,
                                       reason, opaque):
    evf.virEventFilter(VIR_DOMAIN_EVENT_ID_IO_ERROR_REASON, -1, -1,
                       dom.UUIDString())
def myDomainEventGenericCallback(conn, dom, opaque):
    evf.virEventFilter(VIR_DOMAIN_EVENT_ID_CONTROL_ERROR, -
                       1, -1, dom.UUIDString())