grub-devel.gnu.org archive mirror
 help / color / mirror / Atom feed
* Xen branches
@ 2011-11-17  0:54 Vladimir 'φ-coder/phcoder' Serbinenko
  2011-11-17  0:59 ` [Grub2] " Samuel Thibault
  0 siblings, 1 reply; 5+ messages in thread
From: Vladimir 'φ-coder/phcoder' Serbinenko @ 2011-11-17  0:54 UTC (permalink / raw)
  To: The development of GRUB 2; +Cc: Samuel Thibault

[-- Attachment #1: Type: text/plain, Size: 843 bytes --]

Hello, all. I have push some work for paravirtualised GRUB2 to XEN
branch: http://bzr.savannah.gnu.org/lh/grub/branches/xen. Currently only
x86-64 (I'm much less interested in i386). What works:
- modules, normal mode, console, date, all of the all-platform commands
(not all are tested though)
What doesn't (not implemented):
-network
-disks
-loaders
-most of platform-specific commands (well as expected, xen is a separate
platforms so its platform-specific commands will be different if any)
What's kludgy:
-Finding and checking xen headers (/usr/include hardcoded, no checking,
also it's so annoying that xen mixes its kernels intended for standalone
environment with standard userspace headers)
-Stack. Right now I just allocate space in .bss.
-Heap. Likewise.

-- 
Regards
Vladimir 'φ-coder/phcoder' Serbinenko



[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 294 bytes --]

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

* Re: [Grub2] Xen branches
  2011-11-17  0:54 Xen branches Vladimir 'φ-coder/phcoder' Serbinenko
@ 2011-11-17  0:59 ` Samuel Thibault
  2011-11-17  1:49   ` Vladimir 'φ-coder/phcoder' Serbinenko
       [not found]   ` <m2n.s.1RR00M-272707@chiark.greenend.org.uk>
  0 siblings, 2 replies; 5+ messages in thread
From: Samuel Thibault @ 2011-11-17  0:59 UTC (permalink / raw)
  To: Vladimir 'φ-coder/phcoder' Serbinenko
  Cc: The development of GRUB 2, xen-devel

Nice!

Vladimir 'φ-coder/phcoder' Serbinenko, le Thu 17 Nov 2011 01:54:47 +0100, a écrit :
> -network
> -disks

It can be useful to just re-use the drivers from Mini-OS, but you may
want to reimplement them.

> -loaders

I strongly recommend to re-use libxc's code, and use my kexec code to
actually switch from within the PV domain.

Samuel


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

* Re: [Grub2] Xen branches
  2011-11-17  0:59 ` [Grub2] " Samuel Thibault
@ 2011-11-17  1:49   ` Vladimir 'φ-coder/phcoder' Serbinenko
  2011-11-17  9:07     ` Samuel Thibault
       [not found]   ` <m2n.s.1RR00M-272707@chiark.greenend.org.uk>
  1 sibling, 1 reply; 5+ messages in thread
From: Vladimir 'φ-coder/phcoder' Serbinenko @ 2011-11-17  1:49 UTC (permalink / raw)
  To: Samuel Thibault, The development of GRUB 2, xen-devel

[-- Attachment #1: Type: text/plain, Size: 754 bytes --]

On 17.11.2011 01:59, Samuel Thibault wrote:
> Nice!
Thanks.
> Vladimir 'φ-coder/phcoder' Serbinenko, le Thu 17 Nov 2011 01:54:47 +0100, a écrit :
>> -network
>> -disks
> It can be useful to just re-use the drivers from Mini-OS, but you may
> want to reimplement them.
>
They don't seem to be difficult to implement judging from the spec. On
the other hand making MiniOS building system work nicely with ours
sounds like hell.
>> -loaders
> I strongly recommend to re-use libxc's code, and use my kexec code to
> actually switch from within the PV domain.
>
I'm not that far yet. But I've seen kexec call and I suppose it can be
used pretty straighforwardely.
> Samuel
>


-- 
Regards
Vladimir 'φ-coder/phcoder' Serbinenko



[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 294 bytes --]

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

* Re: [Grub2] Xen branches
  2011-11-17  1:49   ` Vladimir 'φ-coder/phcoder' Serbinenko
@ 2011-11-17  9:07     ` Samuel Thibault
  0 siblings, 0 replies; 5+ messages in thread
From: Samuel Thibault @ 2011-11-17  9:07 UTC (permalink / raw)
  To: Vladimir 'φ-coder/phcoder' Serbinenko
  Cc: The development of GRUB 2, xen-devel

Vladimir 'φ-coder/phcoder' Serbinenko, le Thu 17 Nov 2011 02:49:18 +0100, a écrit :
> On 17.11.2011 01:59, Samuel Thibault wrote:
> > Nice!
> Thanks.
> > Vladimir 'φ-coder/phcoder' Serbinenko, le Thu 17 Nov 2011 01:54:47 +0100, a écrit :
> >> -network
> >> -disks
> > It can be useful to just re-use the drivers from Mini-OS, but you may
> > want to reimplement them.
> >
> They don't seem to be difficult to implement judging from the spec.

Well, the evil lies in the details :)

> On the other hand making MiniOS building system work nicely with ours
> sounds like hell.

Probably, indeed. Grub1 was not too hard because its building system was
quite simple.

> >> -loaders
> > I strongly recommend to re-use libxc's code, and use my kexec code to
> > actually switch from within the PV domain.
> >
> I'm not that far yet. But I've seen kexec call and I suppose it can be
> used pretty straighforwardely.

Ok.

Samuel


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

* [Xen-devel] Re: [Grub2] Xen branches
       [not found]   ` <m2n.s.1RR00M-272707@chiark.greenend.org.uk>
@ 2011-11-24 16:55     ` Ian Jackson
  0 siblings, 0 replies; 5+ messages in thread
From: Ian Jackson @ 2011-11-24 16:55 UTC (permalink / raw)
  To: Vladimir 'φ-coder/phcoder' Serbinenko
  Cc: Samuel Thibault, xen-devel, The development of GRUB 2

Vladimir 'φ-coder/phcoder' Serbinenko writes ("[Xen-devel] Re: [Grub2] Xen branches"):
> On 17.11.2011 01:59, Samuel Thibault wrote:
> > It can be useful to just re-use the drivers from Mini-OS, but you may
> > want to reimplement them.
> 
> They don't seem to be difficult to implement judging from the spec. On
> the other hand making MiniOS building system work nicely with ours
> sounds like hell.

Yes.  I would avoid the minios build system; it's awful.  Feel free to
lift any code that looks useful though.

Ian.


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

end of thread, other threads:[~2011-11-24 18:14 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-11-17  0:54 Xen branches Vladimir 'φ-coder/phcoder' Serbinenko
2011-11-17  0:59 ` [Grub2] " Samuel Thibault
2011-11-17  1:49   ` Vladimir 'φ-coder/phcoder' Serbinenko
2011-11-17  9:07     ` Samuel Thibault
     [not found]   ` <m2n.s.1RR00M-272707@chiark.greenend.org.uk>
2011-11-24 16:55     ` [Xen-devel] " Ian Jackson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).