Skip to contentSkip to conversation

Make possible point to system seabios instead include it in hvmloader

DISCUSSION Fabio Fantoni 3 participants 4 messages May 10, 2014 – May 12, 2014

lore
Share & tools
lore
#0 lore raw

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.

#1 lore raw
Quoted 5 lines · Fabio Fantoni

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.

Quoted 3 lines

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.

Quoted 2 lines

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.

#2 lore raw
Quoted 13 lines · Ian Campbell
Quoted 5 lines · Fabio Fantoni

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.

Quoted 3 lines

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.

Quoted 7 lines
Quoted 2 lines

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

#3 lore raw
Quoted 16 lines · Andrew Cooper
Quoted 15 lines · Ian Campbell
Quoted 5 lines · Fabio Fantoni

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.

Quoted 3 lines

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.

Quoted 2 lines

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

Quoted 8 lines
Quoted 5 lines

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.

Quoted 3 lines

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

~Andrew