
5 Jul
2011
5 Jul
'11
1:31 p.m.
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