All of lore.kernel.org
 help / color / mirror / Atom feed
* Make possible point to system seabios instead include it in hvmloader
@ 2014-05-10 12:08 Fabio Fantoni
  2014-05-12  8:43 ` Ian Campbell
  0 siblings, 1 reply; 4+ messages in thread
From: Fabio Fantoni @ 2014-05-10 12:08 UTC (permalink / raw)
  To: xen-devel@lists.xen.org; +Cc: Ian.Jackson, Ian.Campbell, jbeulich

Actually is possible specify upstream qemu and seabios from distro's 
packages or custom builds with xen configure.
If these are used and qemu package will be updated, xen will use updated 
qemu but if seabios package will be updated, xen will use the new one 
only with xen rebuild.
If for example seabios will be updated with fixes and/or new version (in 
some case required by newer qemu) xen will still have the bug fixed and 
will have new bugs until will be rebuilded.

Is possible make hvmloader point to seabios specified in configure 
instead include it in hvmloader?

Thanks for any reply and sorry for my bad english.

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

* Re: Make possible point to system seabios instead include it in hvmloader
  2014-05-10 12:08 Make possible point to system seabios instead include it in hvmloader Fabio Fantoni
@ 2014-05-12  8:43 ` Ian Campbell
  2014-05-12  8:49   ` Andrew Cooper
  0 siblings, 1 reply; 4+ messages in thread
From: Ian Campbell @ 2014-05-12  8:43 UTC (permalink / raw)
  To: Fabio Fantoni; +Cc: Ian.Jackson, jbeulich, xen-devel@lists.xen.org

On Sat, 2014-05-10 at 14:08 +0200, Fabio Fantoni wrote:
> Actually is possible specify upstream qemu and seabios from distro's 
> packages or custom builds with xen configure.
> If these are used and qemu package will be updated, xen will use updated 
> qemu but if seabios package will be updated, xen will use the new one 
> only with xen rebuild.

Correct.

> If for example seabios will be updated with fixes and/or new version (in 
> some case required by newer qemu) xen will still have the bug fixed and 
> will have new bugs until will be rebuilded.

Correct.

> Is possible make hvmloader point to seabios specified in configure 
> instead include it in hvmloader?

You would have to arrange for something (probably the toolstack) to load
the seabios file off disk and place it into guest memory as part of
building the domain and then you would need to invent some protocol
(perhaps xenstore based) so that the toolstack could signal to hvmloader
where to go an look for the seabios binary in guest RAM.

Ian.

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

* Re: Make possible point to system seabios instead include it in hvmloader
  2014-05-12  8:43 ` Ian Campbell
@ 2014-05-12  8:49   ` Andrew Cooper
  2014-05-12  9:01     ` Ian Campbell
  0 siblings, 1 reply; 4+ messages in thread
From: Andrew Cooper @ 2014-05-12  8:49 UTC (permalink / raw)
  To: Ian Campbell, Fabio Fantoni
  Cc: Ian.Jackson, jbeulich, xen-devel@lists.xen.org

On 12/05/2014 09:43, Ian Campbell wrote:
> On Sat, 2014-05-10 at 14:08 +0200, Fabio Fantoni wrote:
>> Actually is possible specify upstream qemu and seabios from distro's 
>> packages or custom builds with xen configure.
>> If these are used and qemu package will be updated, xen will use updated 
>> qemu but if seabios package will be updated, xen will use the new one 
>> only with xen rebuild.
> Correct.
>
>> If for example seabios will be updated with fixes and/or new version (in 
>> some case required by newer qemu) xen will still have the bug fixed and 
>> will have new bugs until will be rebuilded.
> Correct.
>
>> Is possible make hvmloader point to seabios specified in configure 
>> instead include it in hvmloader?
> You would have to arrange for something (probably the toolstack) to load
> the seabios file off disk and place it into guest memory as part of
> building the domain and then you would need to invent some protocol
> (perhaps xenstore based) so that the toolstack could signal to hvmloader
> where to go an look for the seabios binary in guest RAM.

Making the BIOS a multiboot module and teaching hvmloader about
multiboot seems much simpler.

The toolstack already has code for doing this in the PV case.

~Andrew

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

* Re: Make possible point to system seabios instead include it in hvmloader
  2014-05-12  8:49   ` Andrew Cooper
@ 2014-05-12  9:01     ` Ian Campbell
  0 siblings, 0 replies; 4+ messages in thread
From: Ian Campbell @ 2014-05-12  9:01 UTC (permalink / raw)
  To: Andrew Cooper
  Cc: Fabio Fantoni, Ian.Jackson, jbeulich, xen-devel@lists.xen.org

On Mon, 2014-05-12 at 09:49 +0100, Andrew Cooper wrote:
> On 12/05/2014 09:43, Ian Campbell wrote:
> > On Sat, 2014-05-10 at 14:08 +0200, Fabio Fantoni wrote:
> >> Actually is possible specify upstream qemu and seabios from distro's 
> >> packages or custom builds with xen configure.
> >> If these are used and qemu package will be updated, xen will use updated 
> >> qemu but if seabios package will be updated, xen will use the new one 
> >> only with xen rebuild.
> > Correct.
> >
> >> If for example seabios will be updated with fixes and/or new version (in 
> >> some case required by newer qemu) xen will still have the bug fixed and 
> >> will have new bugs until will be rebuilded.
> > Correct.
> >
> >> Is possible make hvmloader point to seabios specified in configure 
> >> instead include it in hvmloader?
> > You would have to arrange for something (probably the toolstack) to load
> > the seabios file off disk and place it into guest memory as part of
> > building the domain and then you would need to invent some protocol
> > (perhaps xenstore based) so that the toolstack could signal to hvmloader
> > where to go an look for the seabios binary in guest RAM.
> 
> Making the BIOS a multiboot module and teaching hvmloader about
> multiboot seems much simpler.

"much simpler" seems unlikely. At best I'd expect it to be about the
same.

Ian.

> The toolstack already has code for doing this in the PV case.
> 
> ~Andrew

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

end of thread, other threads:[~2014-05-12  9:01 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-05-10 12:08 Make possible point to system seabios instead include it in hvmloader Fabio Fantoni
2014-05-12  8:43 ` Ian Campbell
2014-05-12  8:49   ` Andrew Cooper
2014-05-12  9:01     ` Ian Campbell

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.