[Kimchi-devel] [RFC] Change guest boot order on REST API

Paulo Ricardo Paz Vital pvital at linux.vnet.ibm.com
Wed Jun 1 20:24:15 UTC 2016


On Jun 01 05:12PM, Ramon Medeiros wrote:
> Propose: Kimchi allow to change boot order ("fd", "hd", "cdrom" or
> "network")
>
> hd device can specify which disk will be booted
>
> Rest API will receive answer from
>
> /plugins/kimchi/<VM NAME>/bootorder
>
> {[{"dev": "hd"}]} or a list: {[{"dev": "hd"}, {"dev": "cdrom"}]}
>
> Doubts:
>
> How we can edit the bootloader? Like the list above or a kind of fixed list?
>

Check https://github.com/kimchi-project/kimchi/blob/master/xmlutils/bootorder.py

> Libvirt provides bootmenu too, which allows users to pick a device in the
> beginning. Must have it?
>

IMO, we just need control the sequence of boot order in the code above.

> --
>
> Ramon Nunes Medeiros
> Kimchi Developer
> Linux Technology Center Brazil
> IBM Systems & Technology Group
> Phone : +55 19 2132 7878
> ramonn at br.ibm.com
>

> _______________________________________________
> Kimchi-devel mailing list
> Kimchi-devel at ovirt.org
> http://lists.ovirt.org/mailman/listinfo/kimchi-devel


--
Paulo Ricardo Paz Vital
Linux Technology Center, IBM Systems
http://www.ibm.com/linux/ltc/




More information about the Kimchi-devel mailing list