Re: Searching the swapfile of a kvm/qemu image

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Apr 04, 2016 at 11:53:45PM -0400, Sean McLinden wrote:
> I am wondering if there are any serious downsides to doing a string search of a running KVM/QEMU swap partition on the host? I understand that mounting the OS (Linux) file systems can be a problem, but what about the swap partition of a live guest?

Keep in mind that the contents of the swap partition can change at any
time.  I don't know the details of the swap on-disk layout, but if you
need to read from multiple non-contiguous sectors you have a race
condition where you might read part old and part new contents.

What are you trying to achieve?

Stefan

Attachment: signature.asc
Description: PGP signature


[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux