qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH v7 1/4] isapc: Fix non-KVM qemu boot (read/write


From: Paolo Bonzini
Subject: Re: [Qemu-devel] [PATCH v7 1/4] isapc: Fix non-KVM qemu boot (read/write memory for isapc BIOS)
Date: Fri, 31 May 2013 14:48:27 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130514 Thunderbird/17.0.6

Il 31/05/2013 14:40, Laszlo Ersek ha scritto:
> I think we've been here before...
> 
> - always resetting the PAM registers broke S3 resume:
> http://thread.gmane.org/gmane.comp.emulators.qemu/195931/focus=195932
> http://thread.gmane.org/gmane.comp.emulators.qemu/195931/focus=196081
> 
> - there was a patch to distinguish soft reset from hard reset:
> http://thread.gmane.org/gmane.comp.emulators.qemu/195351

This is still planned, but it won't touch the PAM registers so as not to
break S3.  Peter Stuge said that the memory controller registers keep
their content across S3 in real machines too.

> - another approach for soft vs. hard, and how it relates to resume:
> http://thread.gmane.org/gmane.comp.emulators.qemu/198545/focus=198546
> 
> I believe currently qemu doesn't distinguish soft from hard reset. Hard
> reset would have to reset PAM registers, soft reset must not.

Hard reset = powerdown, soft reset = reset or S3.

QEMU only cares about soft reset.  There is one case where that matters,
which is "-no-shutdown -no-reboot".  Here you can go to S4 or S5 and
then type "cont", and the machine will behave as if you actually did a
soft reset.  I don't think it matters much in practice, though.

Paolo



reply via email to

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