Re: [Qemu-devel] [Qemu-ppc] standard test image not booting with qemu-system-ppc

2014-02-04 Thread Anthony PERARD
On Tue, Feb 04, 2014 at 02:17:55PM +0100, Paolo Bonzini wrote: > Il 04/02/2014 08:55, Alexander Graf ha scritto: > >> With this change, the > >> memory system is now refusing to allow an access of size > >> 2 through, because it's greater than the region length. So > > > > Ouch. Yes, for ioport re

Re: [Qemu-devel] [Qemu-ppc] standard test image not booting with qemu-system-ppc

2014-02-04 Thread Stefano Stabellini
On Tue, 4 Feb 2014, Paolo Bonzini wrote: > Il 04/02/2014 08:55, Alexander Graf ha scritto: > >> With this change, the > >> memory system is now refusing to allow an access of size > >> 2 through, because it's greater than the region length. So > > > > Ouch. Yes, for ioport reads/writes we definite

Re: [Qemu-devel] [Qemu-ppc] standard test image not booting with qemu-system-ppc

2014-02-04 Thread Paolo Bonzini
Il 04/02/2014 08:55, Alexander Graf ha scritto: >> With this change, the >> memory system is now refusing to allow an access of size >> 2 through, because it's greater than the region length. So > > Ouch. Yes, for ioport reads/writes we definitely have to only cap the port > range, not the length

Re: [Qemu-devel] [Qemu-ppc] standard test image not booting with qemu-system-ppc

2014-02-03 Thread Alexander Graf
On 04.02.2014, at 01:44, Peter Maydell wrote: > On 3 February 2014 23:28, Alexander Graf wrote: >> That means that something relies on the incorrect behavior we did >> before to set *plen (end) = *plen (start) after the loop when >> !mr->iommu_ops. I wonder what that could be... > > I bounced

Re: [Qemu-devel] [Qemu-ppc] standard test image not booting with qemu-system-ppc

2014-02-03 Thread Peter Maydell
On 3 February 2014 23:28, Alexander Graf wrote: > That means that something relies on the incorrect behavior we did > before to set *plen (end) = *plen (start) after the loop when > !mr->iommu_ops. I wonder what that could be... I bounced around in a debugger for a bit looking for cases where the

Re: [Qemu-devel] [Qemu-ppc] standard test image not booting with qemu-system-ppc

2014-02-03 Thread Alexander Graf
On 03.02.2014, at 23:58, Alexander Graf wrote: > > On 03.02.2014, at 22:13, Alexander Graf wrote: > >> >> On 03.02.2014, at 21:44, Mark Cave-Ayland >> wrote: >> >>> On 03/02/14 20:02, Nitin Srivastava wrote: >>> Hi , I downloaded the latest qemu source from git and compiled it

Re: [Qemu-devel] [Qemu-ppc] standard test image not booting with qemu-system-ppc

2014-02-03 Thread Alexander Graf
On 03.02.2014, at 22:13, Alexander Graf wrote: > > On 03.02.2014, at 21:44, Mark Cave-Ayland > wrote: > >> On 03/02/14 20:02, Nitin Srivastava wrote: >> >>> Hi , >>> I downloaded the latest qemu source from git and compiled it on my >>> centos 6.5 machine. >>> According to the following e-m

Re: [Qemu-devel] [Qemu-ppc] standard test image not booting with qemu-system-ppc

2014-02-03 Thread Alexander Graf
On 03.02.2014, at 21:44, Mark Cave-Ayland wrote: > On 03/02/14 20:02, Nitin Srivastava wrote: > >> Hi , >> I downloaded the latest qemu source from git and compiled it on my >> centos 6.5 machine. >> According to the following e-mail from this mailing list I tried the >> following >> _http://co