[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 0/4] virt: provide secure-only RAM and first fla
From: |
Peter Maydell |
Subject: |
Re: [Qemu-devel] [PATCH 0/4] virt: provide secure-only RAM and first flash |
Date: |
Tue, 8 Mar 2016 20:49:55 +0700 |
On 8 March 2016 at 19:16, Ard Biesheuvel <address@hidden> wrote:
> The UEFI code is loaded into DRAM by the secure firmware, and
> relocated and executed from there.
Incidentally, since we're using the semihosting API to do this at
the moment, this makes the whole thing completely dependent on the
nonsecure guest not being badly behaved, because NS EL1 can happily
make its own semihosting calls which do interesting things like
read and write arbitrary host files.
Presumably one could in theory configure ATF to use something
more sensible (like having the various blobs it loads be
stuffed into the flash with it, or loaded off an emulated disk
or something). But the current use case is as a development
tool for the firmware and secure apps and so on, not something
intended to contain malicious code. Making the flash, ram, etc
secure-only is worthwhile because it exposes plausible bugs
in the guest code being developed.
thanks
-- PMM
- Re: [Qemu-devel] [PATCH 0/4] virt: provide secure-only RAM and first flash, (continued)
- Re: [Qemu-devel] [PATCH 0/4] virt: provide secure-only RAM and first flash, Ard Biesheuvel, 2016/03/08
- Re: [Qemu-devel] [PATCH 0/4] virt: provide secure-only RAM and first flash, Paolo Bonzini, 2016/03/08
- Re: [Qemu-devel] [PATCH 0/4] virt: provide secure-only RAM and first flash, Ard Biesheuvel, 2016/03/08
- Re: [Qemu-devel] [PATCH 0/4] virt: provide secure-only RAM and first flash, Paolo Bonzini, 2016/03/08
- Re: [Qemu-devel] [PATCH 0/4] virt: provide secure-only RAM and first flash, Ard Biesheuvel, 2016/03/08
- Re: [Qemu-devel] [PATCH 0/4] virt: provide secure-only RAM and first flash, Paolo Bonzini, 2016/03/08
- Re: [Qemu-devel] [PATCH 0/4] virt: provide secure-only RAM and first flash, Peter Maydell, 2016/03/08
- Re: [Qemu-devel] [PATCH 0/4] virt: provide secure-only RAM and first flash, Laszlo Ersek, 2016/03/09
- Re: [Qemu-devel] [PATCH 0/4] virt: provide secure-only RAM and first flash, Paolo Bonzini, 2016/03/09
- Re: [Qemu-devel] [PATCH 0/4] virt: provide secure-only RAM and first flash, Laszlo Ersek, 2016/03/09
- Re: [Qemu-devel] [PATCH 0/4] virt: provide secure-only RAM and first flash,
Peter Maydell <=