<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<p>Gallen sent me this:<br>
</p>
<div class="moz-text-plain" wrap="true" graphical-quote="true"
style="font-family: -moz-fixed; font-size: 12px;" lang="x-unicode">
<pre wrap="">Hi, just a few quick thoughts:
</pre>
<blockquote type="cite" style="color: #000000;">
<pre wrap="">Questions:
1) Allow user to set these parameters on Template? Or just for edit
</pre>
</blockquote>
<pre wrap="">Some host filesystems do not support all disk caching modes (For
example, ZFS does not support cache=none). When attempting to run a
guest (in a dir-type storage pool) on a host filesystem that does not
support the selected disk caching mode, Kimchi will throw an error and
fail to start the guest. (reproduced below)
Including disk-caching settings in each template would ensure that the
user does not have to remember to change the disk-cache setting for
every guest.
</pre>
<blockquote type="cite" style="color: #000000;">
<pre wrap="">2) How i can prevent some error by the user? Example: Windows cannot use iscsi driver. How can i created a dictionary to validate ?
</pre>
</blockquote>
<pre wrap="">It seems like Kimchi is already good at catching and displaying
configuration errors that would prevent the VM from running. For the
Windows/iscsi issue, the question (unless I am misunderstanding) seems
to be more general: How hard do you want to try to make sure that the
user has configured the VM settings correctly for their chosen guest
OS.
Thanks!
Error: KCHVM0019E: Unable to start virtual machine zfs-tester.
Details: internal error: process exited while connecting to monitor:
2017-02-09T20:19:07.281748Z qemu-system-x86_64: -drive
file=/tank/virt-storage/f59abc76-b0b4-494b-85d1-7ff7f4a03970-0.img,format=qcow2,if=none,id=drive-virtio-disk0,cache=none:
file system may not support O_DIRECT 2017-02-09T20:19:07.281816Z
qemu-system-x86_64: -drive
file=/tank/virt-storage/f59abc76-b0b4-494b-85d1-7ff7f4a03970-0.img,format=qcow2,if=none,id=drive-virtio-disk0,cache=none:
Could not open '/tank/virt-storage/f59abc76-b0b4-494b-85d1-7ff7f4a03970-0.img':
Invalid argument
</pre>
</div>
<br>
<div class="moz-cite-prefix">On 02/09/2017 01:52 PM, Ramon Medeiros
wrote:<br>
</div>
<blockquote
cite="mid:d9d35bf6-7e95-1301-8d1c-1b259ce8129f@linux.vnet.ibm.com"
type="cite">Propose: Allow user to set IO-mode, Caching and disk
driver for disks
<br>
<br>
<br>
Questions:
<br>
<br>
1) Allow user to set these parameters on Template? Or just for
edit
<br>
<br>
2) How i can prevent some error by the user? Example: Windows
cannot use iscsi driver. How can i created a dictionary to
validate ?
<br>
<br>
<br>
<br>
_______________________________________________
<br>
Kimchi-devel mailing list
<br>
<a class="moz-txt-link-abbreviated" href="mailto:Kimchi-devel@ovirt.org">Kimchi-devel@ovirt.org</a>
<br>
<a class="moz-txt-link-freetext" href="http://lists.ovirt.org/mailman/listinfo/kimchi-devel">http://lists.ovirt.org/mailman/listinfo/kimchi-devel</a>
<br>
<br>
</blockquote>
<br>
</body>
</html>