Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* Re: [off-topic] Fully virtualisable CPUs (fwd)
@ 1996-09-10 15:34 Jim Nance
  1996-09-10 17:31 ` Systemkennung Linux
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Jim Nance @ 1996-09-10 15:34 UTC (permalink / raw)


Forwarded message:
> Date: 	Tue, 10 Sep 1996 21:45:18 +1000

> ulmo@q.net wrote:
> > 
> > It seems to me trivial to have a little virtualisable module which
> > simply picked up an instruction, examined it for whether it was trying
> > to get a report on CPU state, and then recoded the instructions to do
> > the CPU state manually, and at the end of the code piece jump back
> > into the little just-in-time-interpreting-reassembler for the next
> > instruction.

Can any of the non-x86 CPUs that linux runs on be virtualized?  It might be
really nice to be able to run Linux under Linux as a user process for
debugging purposes.

When Jim Paradise first did the Linux port, there was a program which
provided a virtual AXP machine on AXP, x86, and Sparc platforms.  I forget
what it was called (isp?), but that was how I first booted Linux/Alpha.  Does
anyone know if that program will still run current Linux kernels?

Jim

--
To unsubscribe: mail -s unsubscribe axp-list-request@redhat.com < /dev/null

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [off-topic] Fully virtualisable CPUs (fwd)
  1996-09-10 15:34 [off-topic] Fully virtualisable CPUs (fwd) Jim Nance
@ 1996-09-10 17:31 ` Systemkennung Linux
  1996-09-10 21:34 ` Alan Cox
  1996-09-10 22:42 ` Richard Henderson
  2 siblings, 0 replies; 4+ messages in thread
From: Systemkennung Linux @ 1996-09-10 17:31 UTC (permalink / raw)


Hi,

> Can any of the non-x86 CPUs that linux runs on be virtualized?  It might be
> really nice to be able to run Linux under Linux as a user process for
> debugging purposes.

 - MIPS can be virtualized though it's not easy for kernel/supervisor
   mode code.  Saying it's ugly fits better ...
 - Motorola 68k can be virtualized for all CPUs from the 68010 on.
   68000 and 68008 both have an unpriviledged "Move from SR" instruction
   which would makes it possible for a program to detect whether it is
   being traced/really in supervisor mode etc.  Also the 68010 enhances
   handling of bus error which were unrecoverable for the 6800[08].

  Ralf

--
To unsubscribe: mail -s unsubscribe axp-list-request@redhat.com < /dev/null

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [off-topic] Fully virtualisable CPUs (fwd)
  1996-09-10 15:34 [off-topic] Fully virtualisable CPUs (fwd) Jim Nance
  1996-09-10 17:31 ` Systemkennung Linux
@ 1996-09-10 21:34 ` Alan Cox
  1996-09-10 22:42 ` Richard Henderson
  2 siblings, 0 replies; 4+ messages in thread
From: Alan Cox @ 1996-09-10 21:34 UTC (permalink / raw)


> Can any of the non-x86 CPUs that linux runs on be virtualized?  It might be
> really nice to be able to run Linux under Linux as a user process for
> debugging purposes.

68010 and higher.

> When Jim Paradise first did the Linux port, there was a program which
> provided a virtual AXP machine on AXP, x86, and Sparc platforms.  I forget
> what it was called (isp?), but that was how I first booted Linux/Alpha.  Does
> anyone know if that program will still run current Linux kernels?

No, but this is a pure software emulator so its nothing like as fast as a
virtual machine.

Alan

--
To unsubscribe: mail -s unsubscribe axp-list-request@redhat.com < /dev/null

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [off-topic] Fully virtualisable CPUs (fwd)
  1996-09-10 15:34 [off-topic] Fully virtualisable CPUs (fwd) Jim Nance
  1996-09-10 17:31 ` Systemkennung Linux
  1996-09-10 21:34 ` Alan Cox
@ 1996-09-10 22:42 ` Richard Henderson
  2 siblings, 0 replies; 4+ messages in thread
From: Richard Henderson @ 1996-09-10 22:42 UTC (permalink / raw)


> Can any of the non-x86 CPUs that linux runs on be virtualized?  It might be
> really nice to be able to run Linux under Linux as a user process for
> debugging purposes.

All of the Alpha machine status stuff is taken care of by the PALcode.
Which means that if it hadn't been done right, you could change it.  ;-)
But as luck would have it, the "rdps" (read processor status) PALcode 
trap is privleged.

r~

--
To unsubscribe: mail -s unsubscribe axp-list-request@redhat.com < /dev/null

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~1996-09-10 22:42 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1996-09-10 15:34 [off-topic] Fully virtualisable CPUs (fwd) Jim Nance
1996-09-10 17:31 ` Systemkennung Linux
1996-09-10 21:34 ` Alan Cox
1996-09-10 22:42 ` Richard Henderson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox