Re: [PATCH 3/3] i386: use ACPI to power off the machine

2014-07-01 Thread David Michael
On Tue, Jul 1, 2014 at 5:23 AM, Justus Winter <4win...@informatik.uni-hamburg.de> wrote: > Quoting David Michael (2014-06-23 00:31:57) >> Hi, >> >> On Sat, May 3, 2014 at 4:56 AM, Justus Winter >> <4win...@informatik.uni-hamburg.de> wrote: >> > However, when I use --enable-device-drivers=qemu it do

[PATCH] acpi: always scan the BIOS region if searching the EBDA fails

2014-07-01 Thread David Michael
--- This can be applied on top of the ACPI halt patches from Justus to test powering off QEMU systems. i386/i386at/acpi.c | 31 ++- 1 file changed, 14 insertions(+), 17 deletions(-) diff --git a/i386/i386at/acpi.c b/i386/i386at/acpi.c index ec8aeb1..488aa6d 100644 ---

Re: [PATCH 2/3] i386: add io_map_cached

2014-07-01 Thread Justus Winter
Quoting Samuel Thibault (2014-07-01 11:26:19) > Justus Winter, le Tue 01 Jul 2014 11:22:38 +0200, a écrit : > > I don't believe one knows the size in advance. > > In advance, no, but > > > Every acpi table has a header with explicit size information. > > Once you can read this, you can know the

Re: [PATCH 2/3] i386: add io_map_cached

2014-07-01 Thread Samuel Thibault
Justus Winter, le Tue 01 Jul 2014 11:22:38 +0200, a écrit : > I don't believe one knows the size in advance. In advance, no, but > Every acpi table has a header with explicit size information. Once you can read this, you can know the size and can remap, can't you? Samuel

Re: [PATCH 3/3] i386: use ACPI to power off the machine

2014-07-01 Thread Justus Winter
Quoting David Michael (2014-06-23 00:31:57) > Hi, > > On Sat, May 3, 2014 at 4:56 AM, Justus Winter > <4win...@informatik.uni-hamburg.de> wrote: > > However, when I use --enable-device-drivers=qemu it doesn't work: > > > > db> halt > > Looking for RSDP. Scanning EBDA > > Looking for RSDP. Scanning

Re: [PATCH 2/3] i386: add io_map_cached

2014-07-01 Thread Justus Winter
Quoting Samuel Thibault (2014-05-23 01:28:30) > Justus Winter, le Thu 15 May 2014 12:32:41 +0200, a écrit : > > Quoting Samuel Thibault (2014-05-15 02:13:13) > > > Justus Winter, le Fri 02 May 2014 21:33:01 +0200, a écrit : > > > > io_map_cached is like io_map, but reuses the old mapping if it is >