Re: [Qemu-devel] -icount changes physical address assignments in QEMU 2.10/2.11

2018-04-06 Thread alarson
"Mark Cave-Ayland" wrote on 04/06/2018 09:14:14 AM: > From: "Mark Cave-Ayland" > To: alar...@ddci.com, "Peter Maydell" > Cc: "Stefan Weil" , "QEMU Developers" > Date: 04/06/2018 09:14 AM > Subject: Re: [Qemu-devel] -icount c

Re: [Qemu-devel] -icount changes physical address assignments in QEMU 2.10/2.11

2018-04-06 Thread alarson
"Peter Maydell" wrote on 04/06/2018 12:21:37 PM: > On 6 April 2018 at 18:06, wrote: > > > > FWIW, the compile had some anomalous behavior: > > > > .../qemu-2.12.0-rc2/scripts/feature_to_c.sh: line 71: /usr/bin/sed: > > Invalid argument > > > > line 71 is: > > arrayname=xml_feature_$(echo $

Re: [Qemu-devel] -icount changes physical address assignments in QEMU 2.10/2.11

2018-04-06 Thread Peter Maydell
On 6 April 2018 at 18:06, wrote: > "Peter Maydell" wrote on 04/06/2018 09:51:55 > AM: > >> I've now done this, and can reproduce the problem. So the >> issue is generic to 32-bit hosts. > > Supporting evidence: I compiled Cygwin/MINGW with x86_64 and the > resulting binaries work properly > > FW

Re: [Qemu-devel] -icount changes physical address assignments in QEMU 2.10/2.11

2018-04-06 Thread alarson
"Peter Maydell" wrote on 04/06/2018 09:51:55 AM: > I've now done this, and can reproduce the problem. So the > issue is generic to 32-bit hosts. Supporting evidence: I compiled Cygwin/MINGW with x86_64 and the resulting binaries work properly FWIW, the compile had some anomalous behavior: ...

Re: [Qemu-devel] -icount changes physical address assignments in QEMU 2.10/2.11

2018-04-06 Thread Peter Maydell
On 6 April 2018 at 15:51, Peter Maydell wrote: > On 6 April 2018 at 14:33, Peter Maydell wrote: >> On this end I should try this with a 32-bit Linux host. > > I've now done this, and can reproduce the problem. So the > issue is generic to 32-bit hosts. > > I'll see if I can figure out what's goin

Re: [Qemu-devel] -icount changes physical address assignments in QEMU 2.10/2.11

2018-04-06 Thread Peter Maydell
On 6 April 2018 at 14:33, Peter Maydell wrote: > On this end I should try this with a 32-bit Linux host. I've now done this, and can reproduce the problem. So the issue is generic to 32-bit hosts. I'll see if I can figure out what's going wrong. In the meantime, you can probably work around it b

Re: [Qemu-devel] -icount changes physical address assignments in QEMU 2.10/2.11

2018-04-06 Thread Mark Cave-Ayland
On 06/04/18 14:28, alar...@ddci.com wrote: I was not successful with the wiki instructions for "Native builds with MSYS2": ./qemu-2.12.0-rc2/configure --python=/usr/bin/python2 \ '--with-pkgversion=DDCI QEMU 2.12.0-rc2' \ --prefix=/usr/local/qemu \ '--target-list=aarch64

Re: [Qemu-devel] -icount changes physical address assignments in QEMU 2.10/2.11

2018-04-06 Thread Peter Maydell
On 6 April 2018 at 14:28, wrote: > "Peter Maydell" wrote: >> On 5 April 2018 at 22:23, wrote: >> > I installed a fresh Cygwin with just the packages suggested at >> > https://wiki.qemu.org/Hosts/W32#Native_builds_with_Mingw-w64 (plus >> > some obviously missing ones like python, make, etc.) an

Re: [Qemu-devel] -icount changes physical address assignments in QEMU 2.10/2.11

2018-04-06 Thread alarson
"Peter Maydell" wrote on 04/06/2018 04:41:01 AM: > From: "Peter Maydell" > To: alar...@ddci.com > Cc: "QEMU Developers" , "Stefan Weil" > Date: 04/06/2018 04:41 AM > Subject: Re: [Qemu-devel] -icount changes physical address assig

Re: [Qemu-devel] -icount changes physical address assignments in QEMU 2.10/2.11

2018-04-06 Thread Stefan Weil
Am 06.04.2018 um 11:41 schrieb Peter Maydell: > On 5 April 2018 at 22:23, wrote: >> Linux "works". I installed ubuntu 17.10 in a VM on my windows box, >> recompiled QEMU 2.12.0-rc2 (same sources as above), using a configure >> line the same as above except omitting --cross-prefix and --with-sdlab

Re: [Qemu-devel] -icount changes physical address assignments in QEMU 2.10/2.11

2018-04-06 Thread Peter Maydell
On 5 April 2018 at 22:23, wrote: > "Peter Maydell" wrote on 04/05/2018 12:28:01 > PM: > >> From: "Peter Maydell" >> To: alar...@ddci.com >> Cc: "QEMU Developers" >> Date: 04/05/2018 12:28 PM >> Subject: Re: [Qemu-devel] -ico

Re: [Qemu-devel] -icount changes physical address assignments in QEMU 2.10/2.11

2018-04-05 Thread alarson
"Peter Maydell" wrote on 04/05/2018 12:28:01 PM: > From: "Peter Maydell" > To: alar...@ddci.com > Cc: "QEMU Developers" > Date: 04/05/2018 12:28 PM > Subject: Re: [Qemu-devel] -icount changes physical address assignments in QEMU 2.10/2.11 >

Re: [Qemu-devel] -icount changes physical address assignments in QEMU 2.10/2.11

2018-04-05 Thread Peter Maydell
On 5 April 2018 at 17:44, wrote: > "Peter Maydell" wrote on 04/05/2018 09:05:53 > AM: >> I've just tried your attached test image ... > > Curious. I just downloaded qemu-2.12.0-rc2.tar.xz and built it using > Cygwin (a version from about a month ago) using mingw compilers > (mingw64-i686-gcc-g+

Re: [Qemu-devel] -icount changes physical address assignments in QEMU 2.10/2.11

2018-04-05 Thread alarson
"Peter Maydell" wrote on 04/05/2018 09:05:53 AM: > From: "Peter Maydell" > To: alar...@ddci.com > Cc: "QEMU Developers" > Date: 04/05/2018 09:06 AM > Subject: Re: [Qemu-devel] -icount changes physical address assignments in QEMU 2.10/2.11 >

Re: [Qemu-devel] -icount changes physical address assignments in QEMU 2.10/2.11

2018-04-05 Thread Peter Maydell
On 22 March 2018 at 05:31, wrote: > Your patch (applied to 2.11 source release) changed the behavior > somewhat, but did not fix the problem. Attached is a binary that when > run should show a CGA fontset and color bars. > > This command should "work": > > qemu-system-aarch64 -M virt,virtualizat

Re: [Qemu-devel] -icount changes physical address assignments in QEMU 2.10/2.11

2018-03-21 Thread alarson
"Peter Maydell" wrote on 03/15/2018 11:55:19 AM: > From: "Peter Maydell" > To: alar...@ddci.com > Cc: "QEMU Developers" > Date: 03/15/2018 11:55 AM > Subject: Re: [Qemu-devel] -icount changes physical address assignments in QEMU 2.10/2.11 > &

Re: [Qemu-devel] -icount changes physical address assignments in QEMU 2.10/2.11

2018-03-15 Thread Peter Maydell
On 23 February 2018 at 00:39, wrote: > When porting our RTOS from QEMU 2.8 to 2.10/2.11, I ran into a problem > where 16-bit writes to the "bochs dispi interface" were being reported > differently depending on whether or not "-icount" was given to QEMU. > > For example, info mtree: > ... > 11

[Qemu-devel] -icount changes physical address assignments in QEMU 2.10/2.11

2018-02-22 Thread alarson
When porting our RTOS from QEMU 2.8 to 2.10/2.11, I ran into a problem where 16-bit writes to the "bochs dispi interface" were being reported differently depending on whether or not "-icount" was given to QEMU. For example, info mtree: ... 11000500-11000515 (prio 0, i/o): bochs dispi interface