<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<br>
<br>
<div class="moz-cite-prefix">On 06/01/2016 05:12 PM, Ramon Medeiros
wrote:<br>
</div>
<blockquote
cite="mid:201606012013.u51K46qM028717@mx0a-001b2d01.pphosted.com"
type="cite">
<meta http-equiv="content-type" content="text/html;
charset=windows-1252">
Propose: Kimchi allow to change boot order ("fd", "hd", "cdrom" or
"network") <br>
<br>
hd device can specify which disk will be booted <br>
<br>
Rest API will receive answer from <br>
<br>
</blockquote>
<br>
I think we can list bootorder among with other VM information
provided by GET method and update it using PUT method<br>
<br>
GET /vms/<name><br>
{ ...<br>
bootorder: [...]<br>
}<br>
<br>
PUT /vms/<name> {bootorder: [<new values>]<br>
<br>
<br>
<blockquote
cite="mid:201606012013.u51K46qM028717@mx0a-001b2d01.pphosted.com"
type="cite"> <i class="moz-txt-slash"><span class="moz-txt-tag">/</span>plugins/kimchi<span
class="moz-txt-tag">/</span></i><VM NAME>/bootorder <br>
<br>
{[{"dev": "hd"}]} or a list: {[{"dev": "hd"}, {"dev": "cdrom"}]} <br>
<br>
Doubts: <br>
<br>
How we can edit the bootloader? Like the list above or a kind of
fixed list? <br>
<br>
Libvirt provides bootmenu too, which allows users to pick a device
in the beginning. Must have it? </blockquote>
<br>
It would be good to have bootmenu enabled too.<br>
I think there is an issue for it too and it is assigned to you. So
if you want to send a patch for it, I am fine! Just do not mix
things. One patch set for boot order and other, to enable boot menu.<br>
<br>
<blockquote
cite="mid:201606012013.u51K46qM028717@mx0a-001b2d01.pphosted.com"
type="cite">
<pre class="moz-signature" cols="72">--
Ramon Nunes Medeiros
Kimchi Developer
Linux Technology Center Brazil
IBM Systems & Technology Group
Phone : +55 19 2132 7878
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:ramonn@br.ibm.com">ramonn@br.ibm.com</a> </pre>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Kimchi-devel mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Kimchi-devel@ovirt.org">Kimchi-devel@ovirt.org</a>
<a class="moz-txt-link-freetext" href="http://lists.ovirt.org/mailman/listinfo/kimchi-devel">http://lists.ovirt.org/mailman/listinfo/kimchi-devel</a>
</pre>
</blockquote>
<br>
</body>
</html>