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

Re: [libvirt] [PATCH 6/8] Add a method for extracting QEMU argv from /proc



2011/7/4 Daniel P. Berrange <berrange 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


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