kvm: libkvm: change the logging functions to be able to reset the log bit
commit8b264be918b824beb3272860ef7432239bda501c
authorAvi Kivity <avi@redhat.com>
Fri, 10 Oct 2008 18:13:12 +0000 (10 20:13 +0200)
committerAvi Kivity <avi@redhat.com>
Fri, 10 Oct 2008 18:20:12 +0000 (10 20:20 +0200)
tree58c2e3235576772536823d06548dfbcaec6f8dfb
parent3aad55b72cd5ec669e730b20cc3b79ef80a07852
kvm: libkvm: change the logging functions to be able to reset the log bit

currently, the memory logging functions aren't able to clear flags, and they
don't maintain the slot flags field correctly.  Fix by passing a mask which
indicates which bits are to be set or reset.

Signed-off-by: Avi Kivity <avi@redhat.com>
kvm/libkvm/libkvm.c