于 2012-9-21 20:01, Ryan Harper:
* Sheldon <shaohef(a)linux.vnet.ibm.com> [2012-09-21 04:42]:
> Hi all,
> I have submitted a patch about watchdog device
>
http://gerrit.ovirt.org/#/c/7535/
> If we set 'dump' action for watchdog, qemu will generate a dump file.
> And I have get some feedback, how engine get these files?
>
> scp? or Will vdsm support new API to list and get these files?
> IMO, The new API should list and get not only dump files, but
> also other kinds of files.
That's a good question. We know that vdsm captured core files today. I
don't think there is an API mechanism to retrieve the core files
remotely yet.
If we did propose such a call, what sets of files would we want to
include? Would this be a query for fetching debug data for a single VM,
for the host (which would/could include all cores and dumps)?
At least, the log files of VDSM(/var/log/vdsm/), the log files of
libvirt VMs( /var/log/libvirt/qemu/), VM panic cores and Qemu crash core
dumps can be included. Among them, the log files of VDSM are global
ones and the others should be queried based on a specific VM.
>
> --
> Sheldon Feng<shaohef(a)linux.vnet.ibm.com>
> IBM Linux Technology Center
>
--
---
舒明 Shu Ming
Open Virtualization Engineerning; CSTL, IBM Corp.
Tel: 86-10-82451626 Tieline: 9051626 E-mail: shuming(a)cn.ibm.com or
shuming(a)linux.vnet.ibm.com
Address: 3/F Ring Building, ZhongGuanCun Software Park, Haidian District, Beijing 100193,
PRC