Re: want to access the page file of VM from host on Xen platform

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


[re-adding the list, so others may benefit from the answers]

On 02/09/2012 02:00 PM, Irfan Ahmed wrote:
> thanks Eric.  Just for clarification, if the page is swaped out from RAM to HDD, will virDomainMemoryPeek functionalso retrive the block of size 'size' from that too or it is only restricted to the pages exist in RAM.

virDomainMemoryPeek is limited to reading what is in the guest's RAM.
As I said earlier, if you are interested in reading what is in the
guest's disk, you might find libguestfs to be a more powerful tool.

> 
> 
> Is there any example program that uses virDomainMemoryPeek function.

Alas, no one has yet wired up virsh to call virDomainMemoryPeek (patches
welcome), and I don't personally have any example programs that use it.
 Rich Jones might have some better ideas (as both author of libguestfs,
and as the implementer of virDomainMemoryPeek).

-- 
Eric Blake   eblake@xxxxxxxxxx    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature


[Virt Tools]     [Lib OS Info]     [Fedora Users]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]

Powered by Linux

Google
  Web www.spinics.net