qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] about [SeaBIOS PATCH] Try to hard-reboot on rerun of po


From: Paolo Bonzini
Subject: Re: [Qemu-devel] about [SeaBIOS PATCH] Try to hard-reboot on rerun of post even on emulators.
Date: Tue, 21 Apr 2015 10:30:00 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.5.0


On 21/04/2015 02:29, Kevin O'Connor wrote:
> On a typical x86 machine, the BIOS image is located in read-only
> memory at 0xffff0000.  The chipsets typically also support shadowing
> that image to ram (or as a read-only copy) at 0xf0000.  However,
> neither qemu nor kvm fully support all the shadowing capabilities of a
> typical x86 chipset.  So, seabios will copy itself from the image at
> 0xffff0000 to ram at 0xf0000.  Unfortunately, kvm had a bug where the
> resulting ram image at 0xf0000 was actually mapped to the same ram at
> 0xffff0000 and changes to the memory copy at 0xf0000 would also change
> the copy at 0xffff0000.  This made it impossible for reboots to
> redeploy the original pristine copy of seabios.

Nowadays QEMU and KVM can emulate this correctly, but any version of
QEMU before the introduction of the memory API (before 1.1 roughly) was
not able to support this.

Paolo



reply via email to

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