• M
    Audit VM start/stop/suspend/resume · a8b5f9bd
    Miloslav Trmač 提交于
    Most operations are audited at the libvirtd level; auditing in
    src/libvirt.c would result in two audit entries per operation (one in
    the client, one in libvirtd).
    
    The only exception is a domain stopping of its own will (e.g. because
    the user clicks on "shutdown" inside the interface).  There can often be
    no client connected at the time the domain stops, so libvirtd does not
    have any virConnectPtr object on which to attach an event watch.  This
    patch therefore adds auditing directly inside the qemu driver (other
    drivers are not supported).
    a8b5f9bd
remote.c 233.8 KB