Re: [Qemu-discuss] Support for X32 ABI in qemu-system-x86_64

2017-03-01 Thread Vincenzo Romano
Which CPU are you actually emulating?


--
Vincenzo Romano - NotOrAnd.IT
Information Technologies
--
NON QVIETIS MARIBVS NAVTA PERITVS

Il 01 mar 2017 18:53, "Peter Maydell"  ha scritto:

> On 1 March 2017 at 17:36, Brett Neumeier  wrote:
> > Hi,
> >
> > I'm trying to test out an x32-ABI userspace. When I boot the actual
> computer
> > using the target filesystem as the rootfs, it works fine; when I boot it
> > using qemu-system-x86_64 (version 2.8.0), I get a kernel panic with
> > "Requested init /sbin/init failed (error -8)."
> >
> > Does qemu support the x32 ABI for guest systems? Did I build it with the
> > wrong options to get that to work? Any help anyone could offer would be
> very
> > much appreciated!
>
> x32 is an ABI, not a difference in the CPU. QEMU shouldn't
> need any special support for it to work in system mode at all.
> It's likely that something else is going wrong.
>
> thanks
> -- PMM
>
>


Re: [Qemu-discuss] Support for X32 ABI in qemu-system-x86_64

2017-03-01 Thread Peter Maydell
On 1 March 2017 at 17:36, Brett Neumeier  wrote:
> Hi,
>
> I'm trying to test out an x32-ABI userspace. When I boot the actual computer
> using the target filesystem as the rootfs, it works fine; when I boot it
> using qemu-system-x86_64 (version 2.8.0), I get a kernel panic with
> "Requested init /sbin/init failed (error -8)."
>
> Does qemu support the x32 ABI for guest systems? Did I build it with the
> wrong options to get that to work? Any help anyone could offer would be very
> much appreciated!

x32 is an ABI, not a difference in the CPU. QEMU shouldn't
need any special support for it to work in system mode at all.
It's likely that something else is going wrong.

thanks
-- PMM



[Qemu-discuss] Support for X32 ABI in qemu-system-x86_64

2017-03-01 Thread Brett Neumeier
Hi,

I'm trying to test out an x32-ABI userspace. When I boot the actual
computer using the target filesystem as the rootfs, it works fine; when I
boot it using qemu-system-x86_64 (version 2.8.0), I get a kernel panic with
"Requested init /sbin/init failed (error -8)."

Does qemu support the x32 ABI for guest systems? Did I build it with the
wrong options to get that to work? Any help anyone could offer would be
very much appreciated!

Cheers,

Brett

-- 
Brett Neumeier (bneume...@gmail.com)


Re: [Qemu-discuss] qemu-system-arm: Reading TTBR0 from Monitor or GDB Stub

2017-03-01 Thread Peter Maydell
On 28 February 2017 at 22:13, Zach Riggle  wrote:
> Is there any mechanism that can be used to read TTBR0 from the QEMU Monitor,
> or from the GDB Stub?

Not at the moment, no.

thanks
-- PMM