qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] QEMU patch to allow VM introspection via libvmi


From: Valerio Aimale
Subject: Re: [Qemu-devel] QEMU patch to allow VM introspection via libvmi
Date: Fri, 23 Oct 2015 08:48:20 -0600
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:38.0) Gecko/20100101 Thunderbird/38.3.0



On 10/23/15 2:18 AM, Daniel P. Berrange wrote:
[...]
It can't today, but just because it creates a temporary file inside
mem-path and unlinks it immediately after opening a file descriptor. We
could make memory-backend-file also accept a full filename as argument,
or add a mechanism to let QEMU send the open file descriptor to a QMP
client.
Valerio, would an command line option to share guest memory suffice, or
does it have to be a monitor command?  If the latter, why?
IIUC, libvmi wants to be able to connect to arbitrary pre-existing
running KVM instances on the host. As such I think it cannot assume
anything about the way they have been started, so requiring they
be booted with a special command line arg looks impractical for this
scenario.

Regards,
Daniel
Daniel, you are correct. libvmi knows of QEMU/KVM VMs only via libvirt/virsh. The scenario would work if libvmi was able to query, via qmp command, the path of the shared memory map.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]