qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] APM regression since v1.3.0-408-g9ee59f3
@ 2013-07-03 20:25 Sebastian Herbszt
  2013-07-23 12:31 ` Gerd Hoffmann
  0 siblings, 1 reply; 3+ messages in thread
From: Sebastian Herbszt @ 2013-07-03 20:25 UTC (permalink / raw)
  To: qemu-devel; +Cc: Anthony Liguori, Gerd Hoffmann, Sebastian Herbszt

Commit 9ee59f3 ("pc: remove bochs bios debug ports") broke the APM interface
between QEMU and Bochs BIOS/SeaBIOS. Without APM support older guests
are no longer able to power off the VM. This regression also affects older machine
types like pc-1.2.

Sebastian

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Qemu-devel] APM regression since v1.3.0-408-g9ee59f3
  2013-07-03 20:25 [Qemu-devel] APM regression since v1.3.0-408-g9ee59f3 Sebastian Herbszt
@ 2013-07-23 12:31 ` Gerd Hoffmann
  2013-07-24 18:38   ` Sebastian Herbszt
  0 siblings, 1 reply; 3+ messages in thread
From: Gerd Hoffmann @ 2013-07-23 12:31 UTC (permalink / raw)
  To: Sebastian Herbszt; +Cc: Anthony Liguori, qemu-devel

On 07/03/13 22:25, Sebastian Herbszt wrote:
> Commit 9ee59f3 ("pc: remove bochs bios debug ports") broke the APM
> interface
> between QEMU and Bochs BIOS/SeaBIOS. Without APM support older guests
> are no longer able to power off the VM. This regression also affects
> older machine
> types like pc-1.2.

--verbose please.  Which guest?  Which firmware?

ACPI poweroff with seabios works just fine.  If APM support in seabios
uses something else it should be switched to use the same hardware ports
ACPI uses for poweroff (some piix4 pm device register I think) instead
of the debug ports which where never meant to be used that way.

Does bochs bios run on recent qemu versions in the first place?

cheers,
  Gerd

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Qemu-devel] APM regression since v1.3.0-408-g9ee59f3
  2013-07-23 12:31 ` Gerd Hoffmann
@ 2013-07-24 18:38   ` Sebastian Herbszt
  0 siblings, 0 replies; 3+ messages in thread
From: Sebastian Herbszt @ 2013-07-24 18:38 UTC (permalink / raw)
  To: Gerd Hoffmann; +Cc: Anthony Liguori, qemu-devel

Gerd Hoffmann wrote:
> On 07/03/13 22:25, Sebastian Herbszt wrote:
>> Commit 9ee59f3 ("pc: remove bochs bios debug ports") broke the APM
>> interface
>> between QEMU and Bochs BIOS/SeaBIOS. Without APM support older guests
>> are no longer able to power off the VM. This regression also affects
>> older machine
>> types like pc-1.2.
> 
> --verbose please.  Which guest?  Which firmware?

The guest is syslinux. Its poweroff module [1] uses the APM interface.
I'am also no longer able to power off linux (2.6.20) with acpi=off.

Firmware is SeaBIOS 1.7.2.

> ACPI poweroff with seabios works just fine.  If APM support in seabios
> uses something else it should be switched to use the same hardware ports
> ACPI uses for poweroff (some piix4 pm device register I think) instead
> of the debug ports which where never meant to be used that way.

SeaBIOS uses the same QEMU / BIOS interface as Bochs BIOS (port 0x8900).
This interface was removed by commit 9ee59f3.

> Does bochs bios run on recent qemu versions in the first place?

Last time I checked it did, but "recent" is relative.

[1] http://www.syslinux.org/archives/2013-July/020367.html

Sebastian

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2013-07-24 18:43 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-07-03 20:25 [Qemu-devel] APM regression since v1.3.0-408-g9ee59f3 Sebastian Herbszt
2013-07-23 12:31 ` Gerd Hoffmann
2013-07-24 18:38   ` Sebastian Herbszt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).