[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [libvirt] [PATCH] xen: fix PyGrub device order using boot/@order



On Mon, Oct 31, 2011 at 16:14:46 +0100, Philipp Hahn wrote:
> Hello Jiri,
> 
> one more thing:
> 
> On Monday 31 October 2011 15:15:12 Jiri Denemark wrote:
> > Is there any way you can pass the exact order to Xen?
> 
> As far as I know the disks of Xen just have an order. This implicit order is 
> lost when the disks are sorted by target/@bus  and target/@name.

Ah, ok. So I think we need to sort disks by bootIndex when passing them to xen
and increase bootIndex everytime we see bootable flag set when reading disks
back from xen. Of course, this will in fact change the order of disk elements
in the xml generated by libvirt vs. the xml passed by a user by the content
should not change at all. I think that should we fine.

Jirka


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]