qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [patch 2/3] QEMU-C-F: Introducing qemu userspace tool q


From: Anthony Liguori
Subject: Re: [Qemu-devel] [patch 2/3] QEMU-C-F: Introducing qemu userspace tool qemu-core-filter.
Date: Tue, 22 Jun 2010 08:02:48 -0500
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.9) Gecko/20100423 Lightning/1.0b1 Thunderbird/3.0.4

Hrm, the way you've sent this patch makes Thunderbird unhappy. It appears the whole thing is treated as an attachment. In the future, I'd suggest avoiding the Content-Disposition tag

On 06/21/2010 11:01 PM, Mahesh Salgaonkar wrote:
Qemu userspace tool to filter out guest OS memory from qemu core file.
Use '--enable-core-filter' option while running ./configure script to build
qemu-core-filter tool. This is a post-processing tool works offline on qemu
coredumps. This tool helps to reuce the size of qemu core file (generated by
qemu crash) by removing guest OS memory from original core file.

Currently it is only supported for Linux on x86 and x86_64.

There are a few problems with a tool like this. The first is that it depends on very specific internals of qemu (namely, the way we allocate ram). If we applied this, we would get subtle breakages if we made even the slightest changes to qemu.

IMHO, the value is also questionable. There is quite a bit of sensitive data left in the core file after removing guest memory. Any DMA buffer may contain very sensitive data (for instance, if you crash during a read of /etc/shadow). Even the CPU registers can contain sensitive data.

I think the only really viable approach to this problem is to take a white list approach instead of a black list approach. That means extracting useful information that we're reasonably confident preserves privacy. That would be information like a back trace, the crash reason, etc. Tools like apport and ABT already do exactly this and they also present an interface to the user to validate the data before sending it. They also provide a way to collect other information (like host dmesg).

Regards,

Anthony Liguori



reply via email to

[Prev in Thread] Current Thread [Next in Thread]