Re: [Lguest] powerpc64 port anyone?

2009-04-26 Thread Alexander Graf


On 22.04.2009, at 23:41, Hollis Blanchard wrote:


On Thu, 2009-04-23 at 01:19 +0400, Wartan Hachaturow wrote:
On Wed, Apr 22, 2009 at 7:41 PM, Hollis Blanchard  
holl...@us.ibm.com wrote:
KVM supports embedded PowerPC (440 and e500 at the moment), and  
there
has been some work to port it to ppc64 cores like 970 (without  
using the
hardware extensions, since these are unavailable on shipping  
systems).

If you're interested, you should check out the trees at
http://powerkvm.org .


Wow, didn't know about that port. I'll have a look.


The main port was PowerPC 440, and that and e500 support are already
upstream in KVM. Some details are available here:
http://www.linux-kvm.org/page/PowerPC

The 970/Cell stuff Alex is doing is only loosely connected to that
(ppc64 supervisor mode is very different from 440/e500), and that's  
the

first URL I gave you.


Actually my 970 stuff virtualizes ppc32 on ppc64, so we don't have  
to mess with conflicting kernel address rooms.


The architecture as is however should allow you to easily add ppc32  
host support as well as ppc64 guest support, as long as you prevent  
the memory segments to collide (BAT for ppc32, 0xc/0xd SLB entries for  
ppc64).


So I for my part would welcome any help I can get to have KVM run  
smoothly on non-embedded POWER :-).


Alex

--
To unsubscribe from this list: send the line unsubscribe kvm-ppc in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: [Lguest] powerpc64 port anyone?

2009-04-22 Thread Hollis Blanchard
On Wed, 2009-04-22 at 18:03 +0400, Wartan Hachaturow wrote:
 On 4/22/09, Rusty Russell ru...@rustcorp.com.au wrote:
  Well, I think the x86_64 port is dead; nothing has been done on it in
  over a year.  POWER could be done, but you'd have to know a lot about
  POWER (or learn a lot about POWER).
 
 As far as I understand, major issues would be to make lguest 64-bit,
 and invent a POWER replacement for your creative use of i386
 segmentation. I need to refresh my memories on power memory management
 :)
 
 Probably, a powerpc32 would be easier for a start -- and benefit those
 lacking PowerVM :)

Probably easier, yeah.

 It looks like powerpc is currently missing any kind of software
 virtualization: kvm is x86, XenPPC seems to be dead, and so is
 OpenVZ's powerpc port.

KVM supports embedded PowerPC (440 and e500 at the moment), and there
has been some work to port it to ppc64 cores like 970 (without using the
hardware extensions, since these are unavailable on shipping systems).
If you're interested, you should check out the trees at
http://powerkvm.org .

What hardware do you have available? Qemu has made great progress in
PowerPC target support in the last 6 months, and that can be very
convenient even when you have real hardware.

-- 
Hollis Blanchard
IBM Linux Technology Center

--
To unsubscribe from this list: send the line unsubscribe kvm-ppc in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: [Lguest] powerpc64 port anyone?

2009-04-22 Thread Wartan Hachaturow
On Wed, Apr 22, 2009 at 7:41 PM, Hollis Blanchard holl...@us.ibm.com wrote:
 KVM supports embedded PowerPC (440 and e500 at the moment), and there
 has been some work to port it to ppc64 cores like 970 (without using the
 hardware extensions, since these are unavailable on shipping systems).
 If you're interested, you should check out the trees at
 http://powerkvm.org .

Wow, didn't know about that port. I'll have a look.
Do I understand right that, all other things being equal, lguest
should be easier to port than full KVM?

 What hardware do you have available?

G5, p5, QS22, JS22, lots of PS3's.
No ppc32, though, but that should be quite easy to get.

-- 
Regards, Wartan.
--
To unsubscribe from this list: send the line unsubscribe kvm-ppc in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html