<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Sep 21, 2017 at 12:58 AM, Peter Krempa <span dir="ltr"><<a href="mailto:pkrempa@redhat.com" target="_blank">pkrempa@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><span class="gmail-">On Wed, Sep 20, 2017 at 16:32:45 -0700, ashish mittal wrote:<br>
> Hi,<br>
><br>
> I have done TLS testing with this patch series and the tests passed fine<br>
> with the secAlias fix in place.<br>
><br>
> (1) Applied all the v9 patches.<br>
> (2) make install. Reload and restart the libvirtd daemon.<br>
> (3) Make sure able to start guest with TLS enabled VxHS disk in the domain<br>
> XML.<br>
> (4) Try to hot-plug another TLS disk. libvirtd crashes.<br>
><br>
> [root@audi libvirt] 2017-09-20 15:59:25# virsh attach-device myfc24<br>
> ../../hotplug_disk_1.xml<br>
> error: Disconnected from qemu:///system due to end of file<br>
> error: Failed to attach device from ../../hotplug_disk_1.xml<br>
> error: End of file while reading data: Input/output error<br>
<br>
</span>So it's clearly ridiculous to write code without having a way how to<br>
test it. How can we (upstream) get a VxHS server so that we can properly<br>
test the code?<br>
</blockquote></div><br></div><div class="gmail_extra">Fair ask :)</div><div class="gmail_extra">VxHS test server is a part of the libqnio GitHub repo. It can be downloaded from <a href="https://github.com/VeritasHyperScale/libqnio.git">https://github.com/VeritasHyperScale/libqnio.git</a></div><div class="gmail_extra"><br></div><div class="gmail_extra">To run the test server with lots of debug messages - </div><div class="gmail_extra">make debug, make install (optional - just copies the library and test server to a particular location)</div><div class="gmail_extra">./src/qnio_server -v -l /dev/stdout<br></div><div class="gmail_extra"><br></div><div class="gmail_extra">For running the server in TLS mode, the following files are needed before test server is started -</div><div class="gmail_extra"><div class="gmail_extra">    CACERT                        "/var/lib/libvxhs/cacert.pem"</div><div class="gmail_extra">    Enable SSL mode by touching   "/var/lib/libvxhs/secure"</div><div class="gmail_extra">    SERVER_KEY                    "/var/lib/libvxhs/server.key"</div><div class="gmail_extra">    SERVER_CERT                   "/var/lib/libvxhs/server.cert"</div><div class="gmail_extra"><br></div><div class="gmail_extra">Regards,</div><div class="gmail_extra">Ashish</div></div></div>