Re: [Qemu-devel] Commit 77af8a2b95b79699de650965d5228772743efe84 breaks Windows 2000 support

2017-07-26 Thread Programmingkid
I just realized what we need in order to test QEMU better. We need a list of people who are willing to support a certain operating system. The list would probably be located here: http://wiki.qemu.org/Testing/Windows It would look like this: Operating systemTester Windows 3.1

Re: [Qemu-devel] Commit 77af8a2b95b79699de650965d5228772743efe84 breaks Windows 2000 support

2017-07-26 Thread Programmingkid
Dennis-Jordan , ehabk...@redhat.com, > "qemu-devel@nongnu.org qemu-devel" , > Programmingkid , Richard Henderson > , "MichaelS. Tsirkin" > Subject: Re: [Qemu-devel] Commit > 77af8a2b95b79699de650965d5228772743efe84 breaks Windows

Re: [Qemu-devel] Commit 77af8a2b95b79699de650965d5228772743efe84 breaks Windows 2000 support

2017-07-26 Thread Michael S. Tsirkin
On Wed, Jul 26, 2017 at 03:04:59PM +0100, Daniel P. Berrange wrote: > We're unlikely to be deleting machine types (and the features they > depend on) for as long as there's downstream vendors who need compat > with that vintage of features. .. and actually put in the manpower to maintain them :)

Re: [Qemu-devel] Commit 77af8a2b95b79699de650965d5228772743efe84 breaks Windows 2000 support

2017-07-26 Thread Daniel P. Berrange
On Wed, Jul 26, 2017 at 03:43:43PM +0200, Igor Mammedov wrote: > On Wed, 26 Jul 2017 15:33:37 +0200 > Paolo Bonzini wrote: > > > On 26/07/2017 15:30, Igor Mammedov wrote: > > > On Wed, 26 Jul 2017 15:10:40 +0200 > > > Paolo Bonzini wrote: > > > > > >> On 26/07/2017 15:08, Igor Mammedov wrote:

Re: [Qemu-devel] Commit 77af8a2b95b79699de650965d5228772743efe84 breaks Windows 2000 support

2017-07-26 Thread Michael S. Tsirkin
On Wed, Jul 26, 2017 at 03:30:20PM +0200, Igor Mammedov wrote: > On Wed, 26 Jul 2017 15:10:40 +0200 > Paolo Bonzini wrote: > > > On 26/07/2017 15:08, Igor Mammedov wrote: > > > On Tue, 25 Jul 2017 18:23:22 +0200 > > > Paolo Bonzini wrote: > > > > > >> On 25/07/2017 18:14, Laszlo Ersek wrote:

Re: [Qemu-devel] Commit 77af8a2b95b79699de650965d5228772743efe84 breaks Windows 2000 support

2017-07-26 Thread Igor Mammedov
On Wed, 26 Jul 2017 15:33:37 +0200 Paolo Bonzini wrote: > On 26/07/2017 15:30, Igor Mammedov wrote: > > On Wed, 26 Jul 2017 15:10:40 +0200 > > Paolo Bonzini wrote: > > > >> On 26/07/2017 15:08, Igor Mammedov wrote: > >>> On Tue, 25 Jul 2017 18:23:22 +0200 > >>> Paolo Bonzini wrote: > >>>

Re: [Qemu-devel] Commit 77af8a2b95b79699de650965d5228772743efe84 breaks Windows 2000 support

2017-07-26 Thread Paolo Bonzini
On 26/07/2017 15:30, Igor Mammedov wrote: > On Wed, 26 Jul 2017 15:10:40 +0200 > Paolo Bonzini wrote: > >> On 26/07/2017 15:08, Igor Mammedov wrote: >>> On Tue, 25 Jul 2017 18:23:22 +0200 >>> Paolo Bonzini wrote: >>> On 25/07/2017 18:14, Laszlo Ersek wrote: > "No regressions beca

Re: [Qemu-devel] Commit 77af8a2b95b79699de650965d5228772743efe84 breaks Windows 2000 support

2017-07-26 Thread Igor Mammedov
On Wed, 26 Jul 2017 15:10:40 +0200 Paolo Bonzini wrote: > On 26/07/2017 15:08, Igor Mammedov wrote: > > On Tue, 25 Jul 2017 18:23:22 +0200 > > Paolo Bonzini wrote: > > > >> On 25/07/2017 18:14, Laszlo Ersek wrote: > >>> "No regressions became apparent in tests with a range of Windows > >>

Re: [Qemu-devel] Commit 77af8a2b95b79699de650965d5228772743efe84 breaks Windows 2000 support

2017-07-26 Thread Paolo Bonzini
On 26/07/2017 15:08, Igor Mammedov wrote: > On Tue, 25 Jul 2017 18:23:22 +0200 > Paolo Bonzini wrote: > >> On 25/07/2017 18:14, Laszlo Ersek wrote: >>> "No regressions became apparent in tests with a range of Windows >>>(XP-10)" >>> >>> In theory, w2k falls within that range. >> >> Nope,

Re: [Qemu-devel] Commit 77af8a2b95b79699de650965d5228772743efe84 breaks Windows 2000 support

2017-07-26 Thread Igor Mammedov
On Tue, 25 Jul 2017 18:23:22 +0200 Paolo Bonzini wrote: > On 25/07/2017 18:14, Laszlo Ersek wrote: > > "No regressions became apparent in tests with a range of Windows > >(XP-10)" > > > > In theory, w2k falls within that range. > > Nope, Windows 2000 is like NT 5.0, XP is like NT 5.1. :

Re: [Qemu-devel] Commit 77af8a2b95b79699de650965d5228772743efe84 breaks Windows 2000 support

2017-07-26 Thread Paolo Bonzini
On 26/07/2017 13:42, Laszlo Ersek wrote: > Not exactly; the PCD controls whether the EFI_ACPI_TABLE_PROTOCOL will > expose an RSDT, an XSDT, or both (with matching contents). You're right that the code does not produce a v1 FADT, I mis-skimmed the awful code of AcpiTableDxe. Though the intentions

Re: [Qemu-devel] Commit 77af8a2b95b79699de650965d5228772743efe84 breaks Windows 2000 support

2017-07-26 Thread Laszlo Ersek
Digressing: On 07/26/17 10:53, Paolo Bonzini wrote: > On 25/07/2017 23:25, Phil Dennis-Jordan wrote: >> Thanks for this, Paolo. Very interesting idea. >> >> I couldn't get things working initially, but with a few fixups on the >> SeaBIOS side I can boot both legacy and modern OSes. See comments >>

Re: [Qemu-devel] Commit 77af8a2b95b79699de650965d5228772743efe84 breaks Windows 2000 support

2017-07-26 Thread Paolo Bonzini
On 25/07/2017 23:25, Phil Dennis-Jordan wrote: > Thanks for this, Paolo. Very interesting idea. > > I couldn't get things working initially, but with a few fixups on the > SeaBIOS side I can boot both legacy and modern OSes. See comments > inline below for details on changes required. > > Success

Re: [Qemu-devel] Commit 77af8a2b95b79699de650965d5228772743efe84 breaks Windows 2000 support

2017-07-25 Thread Phil Dennis-Jordan
Thanks for this, Paolo. Very interesting idea. I couldn't get things working initially, but with a few fixups on the SeaBIOS side I can boot both legacy and modern OSes. See comments inline below for details on changes required. Successfully booted (only a brief test): - Windows 2000 - Windows XP

Re: [Qemu-devel] Commit 77af8a2b95b79699de650965d5228772743efe84 breaks Windows 2000 support

2017-07-25 Thread Paolo Bonzini
On 25/07/2017 18:23, Paolo Bonzini wrote: > On 25/07/2017 18:14, Laszlo Ersek wrote: >> "No regressions became apparent in tests with a range of Windows >>(XP-10)" >> >> In theory, w2k falls within that range. > > Nope, Windows 2000 is like NT 5.0, XP is like NT 5.1. :( > > One possibility

Re: [Qemu-devel] Commit 77af8a2b95b79699de650965d5228772743efe84 breaks Windows 2000 support

2017-07-25 Thread Paolo Bonzini
On 25/07/2017 18:14, Laszlo Ersek wrote: > "No regressions became apparent in tests with a range of Windows >(XP-10)" > > In theory, w2k falls within that range. Nope, Windows 2000 is like NT 5.0, XP is like NT 5.1. :( One possibility is to fix it in SeaBIOS instead: if you get a 2.0 FADT

Re: [Qemu-devel] Commit 77af8a2b95b79699de650965d5228772743efe84 breaks Windows 2000 support

2017-07-25 Thread Laszlo Ersek
On 07/21/17 20:29, Phil Dennis-Jordan wrote: > On Fri, Jul 21, 2017 at 2:34 PM, Igor Mammedov wrote: >> On Fri, 21 Jul 2017 10:23:38 +0100 >> "Daniel P. Berrange" wrote: >> >>> On Fri, Jul 21, 2017 at 11:06:36AM +0200, Igor Mammedov wrote: On Thu, 20 Jul 2017 21:29:33 +0200 Phil Dennis-

Re: [Qemu-devel] Commit 77af8a2b95b79699de650965d5228772743efe84 breaks Windows 2000 support

2017-07-24 Thread Programmingkid
> On Jul 24, 2017, at 12:43 PM, John Snow wrote: > > > > On 07/21/2017 05:06 AM, Igor Mammedov wrote: >> On Thu, 20 Jul 2017 21:29:33 +0200 >> Phil Dennis-Jordan wrote: >>> On Thu, Jul 20, 2017 at 6:40 PM, Programmingkid >>> wrote: I noticed that Windows 2000 does not boot up in QEMU re

Re: [Qemu-devel] Commit 77af8a2b95b79699de650965d5228772743efe84 breaks Windows 2000 support

2017-07-24 Thread John Snow
On 07/21/2017 05:06 AM, Igor Mammedov wrote: On Thu, 20 Jul 2017 21:29:33 +0200 Phil Dennis-Jordan wrote: On Thu, Jul 20, 2017 at 6:40 PM, Programmingkid wrote: I noticed that Windows 2000 does not boot up in QEMU recently. After bisecting the issue I found the offending commit: w2k is v

Re: [Qemu-devel] Commit 77af8a2b95b79699de650965d5228772743efe84 breaks Windows 2000 support

2017-07-24 Thread Gerd Hoffmann
Hi, > > 2. Select FADT version with an option. This one is definitely safe, > > but adds yet another option. > > the 3rd simpler option is: >   force rev1 on old machine types (2.9 and older), >   using machine compat machinery and use rev3 on newer machines How about keeping rev1 for pc machi

Re: [Qemu-devel] Commit 77af8a2b95b79699de650965d5228772743efe84 breaks Windows 2000 support

2017-07-21 Thread Phil Dennis-Jordan
On Fri, Jul 21, 2017 at 2:34 PM, Igor Mammedov wrote: > On Fri, 21 Jul 2017 10:23:38 +0100 > "Daniel P. Berrange" wrote: > >> On Fri, Jul 21, 2017 at 11:06:36AM +0200, Igor Mammedov wrote: >> > On Thu, 20 Jul 2017 21:29:33 +0200 >> > Phil Dennis-Jordan wrote: >> > >> > > On Thu, Jul 20, 2017 at

Re: [Qemu-devel] Commit 77af8a2b95b79699de650965d5228772743efe84 breaks Windows 2000 support

2017-07-21 Thread BALATON Zoltan
On Fri, 21 Jul 2017, Phil Dennis-Jordan wrote: On Fri, Jul 21, 2017 at 12:50 PM, BALATON Zoltan wrote: I don't know if this helps but I've found that this same commit also broke booting OS X on q35 with OVMF and Clover (some old versions I had and worked before this commit). See here: http://li

Re: [Qemu-devel] Commit 77af8a2b95b79699de650965d5228772743efe84 breaks Windows 2000 support

2017-07-21 Thread Programmingkid
> On Jul 21, 2017, at 5:29 AM, qemu-devel-requ...@nongnu.org wrote: > > From: Igor Mammedov > > On Thu, 20 Jul 2017 21:29:33 +0200 > Phil Dennis-Jordan wrote: > >> On Thu, Jul 20, 2017 at 6:40 PM, Programmingkid >> wrote: >>> I noticed that Windows 2000 does not boot up in QEMU recently. Aft

Re: [Qemu-devel] Commit 77af8a2b95b79699de650965d5228772743efe84 breaks Windows 2000 support

2017-07-21 Thread Igor Mammedov
On Fri, 21 Jul 2017 10:23:38 +0100 "Daniel P. Berrange" wrote: > On Fri, Jul 21, 2017 at 11:06:36AM +0200, Igor Mammedov wrote: > > On Thu, 20 Jul 2017 21:29:33 +0200 > > Phil Dennis-Jordan wrote: > > > > > On Thu, Jul 20, 2017 at 6:40 PM, Programmingkid > > > wrote: > > > > I noticed that

Re: [Qemu-devel] Commit 77af8a2b95b79699de650965d5228772743efe84 breaks Windows 2000 support

2017-07-21 Thread Phil Dennis-Jordan
On Fri, Jul 21, 2017 at 12:50 PM, BALATON Zoltan wrote: > On Fri, 21 Jul 2017, Igor Mammedov wrote: >> >> On Fri, 21 Jul 2017 10:20:26 +0100 >> "Daniel P. Berrange" wrote: >>> >>> On Thu, Jul 20, 2017 at 09:29:33PM +0200, Phil Dennis-Jordan wrote: On Thu, Jul 20, 2017 at 6:40 PM, Progra

Re: [Qemu-devel] Commit 77af8a2b95b79699de650965d5228772743efe84 breaks Windows 2000 support

2017-07-21 Thread BALATON Zoltan
On Fri, 21 Jul 2017, Igor Mammedov wrote: On Fri, 21 Jul 2017 10:20:26 +0100 "Daniel P. Berrange" wrote: On Thu, Jul 20, 2017 at 09:29:33PM +0200, Phil Dennis-Jordan wrote: On Thu, Jul 20, 2017 at 6:40 PM, Programmingkid wrote: I noticed that Windows 2000 does not boot up in QEMU recently. A

Re: [Qemu-devel] Commit 77af8a2b95b79699de650965d5228772743efe84 breaks Windows 2000 support

2017-07-21 Thread Phil Dennis-Jordan
On Fri, Jul 21, 2017 at 11:46 AM, Igor Mammedov wrote: > On Fri, 21 Jul 2017 10:20:26 +0100 > "Daniel P. Berrange" wrote: > >> On Thu, Jul 20, 2017 at 09:29:33PM +0200, Phil Dennis-Jordan wrote: >> > On Thu, Jul 20, 2017 at 6:40 PM, Programmingkid >> > wrote: >> > > I noticed that Windows 2000 d

Re: [Qemu-devel] Commit 77af8a2b95b79699de650965d5228772743efe84 breaks Windows 2000 support

2017-07-21 Thread Igor Mammedov
On Fri, 21 Jul 2017 10:20:26 +0100 "Daniel P. Berrange" wrote: > On Thu, Jul 20, 2017 at 09:29:33PM +0200, Phil Dennis-Jordan wrote: > > On Thu, Jul 20, 2017 at 6:40 PM, Programmingkid > > wrote: > > > I noticed that Windows 2000 does not boot up in QEMU recently. After > > > bisecting the is

Re: [Qemu-devel] Commit 77af8a2b95b79699de650965d5228772743efe84 breaks Windows 2000 support

2017-07-21 Thread Daniel P. Berrange
On Fri, Jul 21, 2017 at 11:06:36AM +0200, Igor Mammedov wrote: > On Thu, 20 Jul 2017 21:29:33 +0200 > Phil Dennis-Jordan wrote: > > > On Thu, Jul 20, 2017 at 6:40 PM, Programmingkid > > wrote: > > > I noticed that Windows 2000 does not boot up in QEMU recently. After > > > bisecting the issue I

Re: [Qemu-devel] Commit 77af8a2b95b79699de650965d5228772743efe84 breaks Windows 2000 support

2017-07-21 Thread Daniel P. Berrange
On Thu, Jul 20, 2017 at 09:29:33PM +0200, Phil Dennis-Jordan wrote: > On Thu, Jul 20, 2017 at 6:40 PM, Programmingkid > wrote: > > I noticed that Windows 2000 does not boot up in QEMU recently. After > > bisecting the issue I found the offending commit: > > Ouch. I reckon we have 2 options for f

Re: [Qemu-devel] Commit 77af8a2b95b79699de650965d5228772743efe84 breaks Windows 2000 support

2017-07-21 Thread Phil Dennis-Jordan
On Fri, Jul 21, 2017 at 11:06 AM, Igor Mammedov wrote: > On Thu, 20 Jul 2017 21:29:33 +0200 > Phil Dennis-Jordan wrote: > >> On Thu, Jul 20, 2017 at 6:40 PM, Programmingkid >> wrote: >> > I noticed that Windows 2000 does not boot up in QEMU recently. After >> > bisecting the issue I found the o

Re: [Qemu-devel] Commit 77af8a2b95b79699de650965d5228772743efe84 breaks Windows 2000 support

2017-07-21 Thread Igor Mammedov
On Thu, 20 Jul 2017 21:29:33 +0200 Phil Dennis-Jordan wrote: > On Thu, Jul 20, 2017 at 6:40 PM, Programmingkid > wrote: > > I noticed that Windows 2000 does not boot up in QEMU recently. After > > bisecting the issue I found the offending commit: w2k is very ancient (and long time EOLed), I can

Re: [Qemu-devel] Commit 77af8a2b95b79699de650965d5228772743efe84 breaks Windows 2000 support

2017-07-20 Thread Programmingkid
> On Jul 20, 2017, at 3:29 PM, Phil Dennis-Jordan wrote: > > On Thu, Jul 20, 2017 at 6:40 PM, Programmingkid > wrote: >> I noticed that Windows 2000 does not boot up in QEMU recently. After >> bisecting the issue I found the offending commit: > > Ouch. I reckon we have 2 options for fixing th

Re: [Qemu-devel] Commit 77af8a2b95b79699de650965d5228772743efe84 breaks Windows 2000 support

2017-07-20 Thread Phil Dennis-Jordan
On Thu, Jul 20, 2017 at 6:40 PM, Programmingkid wrote: > I noticed that Windows 2000 does not boot up in QEMU recently. After > bisecting the issue I found the offending commit: Ouch. I reckon we have 2 options for fixing this: 1. Export two FADTs, one ACPI 1.0, one ACPI 2.0. The latter would n

[Qemu-devel] Commit 77af8a2b95b79699de650965d5228772743efe84 breaks Windows 2000 support

2017-07-20 Thread Programmingkid
I noticed that Windows 2000 does not boot up in QEMU recently. After bisecting the issue I found the offending commit: commit 77af8a2b95b79699de650965d5228772743efe84 Author: Phil Dennis-Jordan Date: Wed Mar 15 19:20:26 2017 +1300 hw/i386: Use Rev3 FADT (ACPI 2.0) instead of Rev1 to impro