All of lore.kernel.org
 help / color / mirror / Atom feed
* Deficiencies in guest bootloader design
@ 2006-04-13 14:29 Michael Paesold
  2006-04-13 14:34 ` Matt Ayres
  2006-04-13 15:10 ` Ewan Mellor
  0 siblings, 2 replies; 10+ messages in thread
From: Michael Paesold @ 2006-04-13 14:29 UTC (permalink / raw)
  To: Xen Devel

I have tried to use a dynamically activated block device with pygrub 
(actually drbd, but could be enbd, nbd, or simply any vbd other than phy: or 
file:). That does not work.

The problem is that the bootloader is not called from Xend, after virtual 
block devices are setup, but instead it is called directly from xm, i.e. in 
xm/create.py.

If I have looked correctly, (1) a bootloader cannot be used for devices such 
as nbd: or enbd: devices, and (2) a bootloader cannot be used when accessing 
Xend via XML-RPC (or libvirt or similar), because the whole notion of a 
"bootloader" at domain creation time is only available in "xm", but not in 
Xend.

It should be fixable, since at least on guest *restart*, 
xend/XendDomainInfo.py already uses the bootloader to re-extract the kernel 
image from the vbd.

Is there anyone working on bootloader improvements? If not, is a change to 
move the bootloader stuff from xm to Xend acceptable? In that case I could 
try to come up with a patch.

There are some issues though. In XendDomainInfo.initDomain, image.create is 
done before self.createDevices. Can this be changed easily?

Thanks for any help or guidance.

Best Regards,
Michael Paesold 

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

end of thread, other threads:[~2006-04-13 19:19 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-04-13 14:29 Deficiencies in guest bootloader design Michael Paesold
2006-04-13 14:34 ` Matt Ayres
2006-04-13 17:28   ` Michael Paesold
2006-04-13 15:10 ` Ewan Mellor
2006-04-13 15:24   ` Anthony Liguori
2006-04-13 15:36     ` Ewan Mellor
2006-04-13 15:40       ` Anthony Liguori
2006-04-13 18:09     ` Michael Paesold
2006-04-13 17:13   ` Michael Paesold
2006-04-13 19:19   ` Michael Paesold

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.