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

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

 



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

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]