[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [RFC 0/9] Introduce light weight PC platform pc-lite
From: |
Paolo Bonzini |
Subject: |
Re: [Qemu-devel] [RFC 0/9] Introduce light weight PC platform pc-lite |
Date: |
Mon, 20 Jun 2016 15:00:01 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.1.0 |
On 20/06/2016 14:31, Stefan Hajnoczi wrote:
> On Mon, Jun 20, 2016 at 08:54:10AM +0200, Paolo Bonzini wrote:
> > I wonder if Linux could run as a multiboot-compliant ELF file, and what
> > the performance would be... Multiboot omits the real mode stub.
>
> The Linux boot protocol does not require real mode. I think "64-bit
> BOOT PROTOCOL" in Documentation/x86/boot.txt could be used.
Yes, the real mode is only needed to decompress the kernel, to retrieve
the e820 memory map, and then invoke the Linux boot protocol. However,
neither QEMU nor (I think) GRUB can boot a vmlinux file. So I wondered
if it would be possible to compile Linux in a format that is not
compressed (for speed) and can be invoked by both QEMU and GRUB.
Multiboot seems interesting because it has other advantages. For
example it supports modules, so you can use it with an initrd, and it
passes the e820 data directly to the loaded kernel.
Paolo
- [Qemu-devel] [RFC 7/9] pc: skip setting CMOS data when RTC device is unavailable, (continued)
- [Qemu-devel] [RFC 7/9] pc: skip setting CMOS data when RTC device is unavailable, Chao Peng, 2016/06/17
- [Qemu-devel] [RFC 5/9] acpi: expose acpi_checksum(), Chao Peng, 2016/06/17
- [Qemu-devel] [RFC 4/9] acpi: expose data structurs and functions of BIOS linker loader, Chao Peng, 2016/06/17
- [Qemu-devel] [RFC 8/9] pc: support direct loading protected/long mode kernel, Chao Peng, 2016/06/17
- [Qemu-devel] [RFC 6/9] acpi: patch guest ACPI for pc-lite, Chao Peng, 2016/06/17
- [Qemu-devel] [RFC 9/9] pc: introduce light weight PC board pc-lite, Chao Peng, 2016/06/17
- Re: [Qemu-devel] [RFC 0/9] Introduce light weight PC platform pc-lite, Paolo Bonzini, 2016/06/17
- Re: [Qemu-devel] [RFC 0/9] Introduce light weight PC platform pc-lite, Chao Peng, 2016/06/20
- Re: [Qemu-devel] [RFC 0/9] Introduce light weight PC platform pc-lite, Chao Peng, 2016/06/20
- Re: [Qemu-devel] [RFC 0/9] Introduce light weight PC platform pc-lite, Michael S. Tsirkin, 2016/06/21
- Re: [Qemu-devel] [RFC 0/9] Introduce light weight PC platform pc-lite, Chao Peng, 2016/06/23
- Re: [Qemu-devel] [RFC 0/9] Introduce light weight PC platform pc-lite, Paolo Bonzini, 2016/06/23
- Re: [Qemu-devel] [RFC 0/9] Introduce light weight PC platform pc-lite, Claudio Fontana, 2016/06/24
- Re: [Qemu-devel] [RFC 0/9] Introduce light weight PC platform pc-lite, Claudio Fontana, 2016/06/24
- Re: [Qemu-devel] [RFC 0/9] Introduce light weight PC platform pc-lite, Paolo Bonzini, 2016/06/24
- Re: [Qemu-devel] [RFC 0/9] Introduce light weight PC platform pc-lite, Claudio Fontana, 2016/06/26
- Re: [Qemu-devel] [RFC 0/9] Introduce light weight PC platform pc-lite, Chao Peng, 2016/06/28
Re: [Qemu-devel] [RFC 0/9] Introduce light weight PC platform pc-lite, Dr. David Alan Gilbert, 2016/06/20