<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<br>
<div class="moz-cite-prefix">On 11/14/2014 07:52 AM, Yu Xin Huo
wrote:<br>
</div>
<blockquote cite="mid:5465D0DC.4000002@linux.vnet.ibm.com"
type="cite">
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
<div class="moz-cite-prefix">1. Making it a combobox is not for
the purpose to simplify coding, it is for visual balance, for
current kimchi UI style, you can imagine how a checkbox looks
there.<br>
</div>
</blockquote>
<br>
We could put the check box aside the CPU input box as they are
related.<br>
<br>
CPU [________________] [ ] Hyper Threading<br>
<br>
<blockquote cite="mid:5465D0DC.4000002@linux.vnet.ibm.com"
type="cite">
<div class="moz-cite-prefix"> 2. Please clarify below<br>
<br>
<a moz-do-not-send="true" class="moz-txt-link-freetext"
href="http://lists.ovirt.org/pipermail/kimchi-devel/2014-November/008660.html">http://lists.ovirt.org/pipermail/kimchi-devel/2014-November/008660.html</a><br>
<br>
---- For below, do you mean that I should always display SMT1,
SMT2, SMT4 for the first 3, and for the last one, it will be
SMT[threads_per_core]? I wonder why only 4 options.<br>
<pre>         Display a menu labled SMT, with up to four check-boxes.
The check-boxes will be labeled SMT1, SMT2, SMT4, and SMT8.
The max SMT value displayed will be dependant upon
threads_per_core from above. The default checkbox should be the
greatest SMT value (e.g. SMT8).
</pre>
---- For below, seems like you mean the CPUs should be limited
to a certain set of numbers, where to get this set of numbers.<br>
<br>
<pre>         Display the same box for CPUs as before. I had initially thought
about having a drop-down for CPUs instead of the empty field,
(with only legal vCPU amounts, like 1,2,4,8, etc.)</pre>
---- For below<br>
<pre>curl -k -u user -X POST -H 'Content-Typ: application/json' -H 'Accept: application/json' \
<a moz-do-not-send="true" href="https://localhost:8001/templates">https://localhost:8001/templates</a> -d'{"name": "test_topo", "cdrom": "/isos/DVD_name.iso", \
"cpus":4, "cpu_info": {"topology": {"sockets": 1, "cores": 2, "threads":2}}}'
</pre>
<br>
This is the content when create template, what content should be
added for 'SMT' or 'Hyper-threading' when saving a template.<br>
<img src="cid:part3.01010004.01000700@linux.vnet.ibm.com" alt=""><br>
<br>
On 11/14/2014 2:21 AM, Crístian Viana wrote:<br>
</div>
<blockquote cite="mid:5464F6BE.7010704@linux.vnet.ibm.com"
type="cite">
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
On 13-11-2014 08:58, Yu Xin Huo wrote:<br>
<blockquote cite="mid:54648EC8.2080103@linux.vnet.ibm.com"
type="cite">
<meta http-equiv="content-type" content="text/html;
charset=windows-1252">
x86<br>
<br>
<br>
Power(for SMT, I think it is single selection)<br>
<br>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
</blockquote>
<br>
Even though I know it might make the code a little harder, I
think it would be better to display the HT field (on x86) as a
checkbox element, where the user can enable and disable quickly.
A combo box is not appropriate for on/off statuses. But I
understand that it's easier because of how SMT works on POWER,
and you'd need a combo box anyway.<br>
</blockquote>
<br>
<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>