Kexec Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Laszlo Ersek <lersek@redhat.com>
To: Petr Tesarik <ptesarik@suse.cz>,
	HATAYAMA Daisuke <d.hatayama@jp.fujitsu.com>
Cc: kexec@lists.infradead.org
Subject: Re: uniquely identifying KDUMP files that originate from QEMU
Date: Wed, 12 Nov 2014 15:50:32 +0100	[thread overview]
Message-ID: <546373B8.70103@redhat.com> (raw)
In-Reply-To: <20141112090441.3ee42632@hananiah.suse.cz>

On 11/12/14 09:04, Petr Tesarik wrote:
> On Wed, 12 Nov 2014 12:08:38 +0900 (JST)
> HATAYAMA Daisuke <d.hatayama@jp.fujitsu.com> wrote:

>> Anyway, phys_base is kernel information. To make it available for qemu
>> side, there's need to prepare a mechanism for qemu to have any access
>> to it.
> 
> Yes. I wonder if you can have access without some sort of co-operation
> from the guest kernel itself. I guess not.

Propagating any kind of additional information from the guest kernel
(which is unprivileged and potentially malicious) to the host-side qemu
process (which is by definition more privileged, although still confined
by various measures) is something we'd explicitly like to avoid.

Think of it like this. I throw a physical box at you, running Linux,
that has frozen in time. Can "crash" work with nothing else but the
contents of the memory, and information about the CPUs? It certainly
can, it already does. It might need more heuristics than in when the
guest kernel offers those bits of info on a plate, but those heuristics
already work. We just need to tell "crash" that this particular box,
flying in the air, has been launched by qemu, so that "crash" enable its
heuristics.

Thanks
Laszlo

_______________________________________________
kexec mailing list
kexec@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/kexec

  reply	other threads:[~2014-11-12 14:51 UTC|newest]

Thread overview: 29+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-11-11 11:22 uniquely identifying KDUMP files that originate from QEMU Laszlo Ersek
2014-11-11 11:46 ` [Qemu-devel] " Peter Maydell
2014-11-11 12:09 ` Petr Tesarik
2014-11-12  3:08   ` HATAYAMA Daisuke
2014-11-12  8:04     ` Petr Tesarik
2014-11-12 14:50       ` Laszlo Ersek [this message]
2014-11-12 18:43         ` Petr Tesarik
2014-11-12 20:30           ` Laszlo Ersek
2014-11-12 20:41             ` Dave Anderson
2014-11-12 21:21               ` [Crash-utility] " Dave Anderson
2014-11-12 21:20             ` Petr Tesarik
2014-11-11 17:27 ` [Qemu-devel] " Christopher Covington
2014-11-12  8:05   ` Petr Tesarik
2014-11-12 13:18     ` Christopher Covington
2014-11-12 13:26       ` Petr Tesarik
2014-11-12 13:28         ` Christopher Covington
2014-11-12 14:36           ` Petr Tesarik
2014-11-12 14:40           ` Laszlo Ersek
2014-11-12 14:10         ` Laszlo Ersek
2014-11-12 14:48           ` Christopher Covington
2014-11-12 15:03             ` Laszlo Ersek
2014-11-12 15:43               ` Christopher Covington
2014-11-12 21:10                 ` Petr Tesarik
2014-11-12 14:37   ` Laszlo Ersek
     [not found] <mailman.20827.1415774425.22890.kexec@lists.infradead.org>
2014-11-12 14:09 ` Dave Anderson
2014-11-12 15:01   ` Laszlo Ersek
2014-11-12 15:45     ` Dave Anderson
2014-11-13  1:08   ` HATAYAMA Daisuke
2014-11-13 15:21     ` Dave Anderson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=546373B8.70103@redhat.com \
    --to=lersek@redhat.com \
    --cc=d.hatayama@jp.fujitsu.com \
    --cc=kexec@lists.infradead.org \
    --cc=ptesarik@suse.cz \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox