[libvirt] MemoryPeek() is slow

Richard W.M. Jones rjones at redhat.com
Thu Jul 23 07:27:38 UTC 2009


On Thu, Jul 23, 2009 at 01:36:30PM +0900, Jun Koi wrote:
> For now, I want to improve the situation on QEMU (thus, KVM) first.
> One obvious way is to transfer data directly from QEMU driver to QEMU
> using a particular IPC. How about having an Unix domain socket for
> this purpose?
> 
> I imagine that we need to have a separate socket, opened and managed
> by QEMU interface.

Possible, but it sounds tricky to implement from both ends.  Remember
that libvirt already offers the machinery for talking to the QEMU
monitor, but not for making other connections to QEMU.  When we do
this for migration it has all sorts of additional complications.

Note that with the current memsave interface in QEMU you can set up a
named pipe in the filesystem, have QEMU write to that, and read from
the other end, which is almost what you want.

Rich.

-- 
Richard Jones, Emerging Technologies, Red Hat  http://et.redhat.com/~rjones
virt-df lists disk usage of guests without needing to install any
software inside the virtual machine.  Supports Linux and Windows.
http://et.redhat.com/~rjones/virt-df/




More information about the libvir-list mailing list