[libvirt] [PATCH 6/8] Add a method for extracting QEMU argv from /proc
Matthias Bolte
matthias.bolte at googlemail.com
Tue Jul 5 11:31:12 UTC 2011
2011/7/4 Daniel P. Berrange <berrange at redhat.com>:
> To enable attaching to externally launched QEMU, we need
> to be able to reverse engineer a guest XML config based
> on the argv for a PID in /proc
>
> * src/qemu/qemu_command.c, src/qemu/qemu_command.h: Add
> qemuParseCommandLinePid which extracts QEMU config from
> argv in /proc, given a PID number
> ---
> src/qemu/qemu_command.c | 106 +++++++++++++++++++++++++++++++++++++++++++++++
> src/qemu/qemu_command.h | 5 ++
> 2 files changed, 111 insertions(+), 0 deletions(-)
ACK.
--
Matthias Bolte
http://photron.blogspot.com
More information about the libvir-list
mailing list