Research Article

Leveraging KVM Events to Detect Cache-Based Side Channel Attacks in a Virtualization Environment

Algorithm 3

Flush + Flush.
procedure FlushFlush (addr, thr)
accessed =
while (true) do
= time
flush (addr)
= time
if tx > thr then
accessedā€Š. append
else
accessedā€Š. append
end if
wait
end while
return accessed
end procedure