<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <p><br>
    </p>
    <br>
    <div class="moz-cite-prefix">On 07/11/2016 07:49 AM, Cleber Rosa
      wrote:<br>
    </div>
    <blockquote
      cite="mid:26b67aa2-be24-ddda-322d-c4cdaa73c34d@redhat.com"
      type="cite">
      <pre wrap="">

On 07/08/2016 06:18 AM, Lukáš Doktor wrote:
</pre>
      <blockquote type="cite">
        <pre wrap="">Dne 30.6.2016 v 21:21 Eduardo Habkost napsal(a):
</pre>
        <blockquote type="cite">
          <pre wrap="">While trying to run the cpuid test cases using avocado-vt, I
found out that the machine_rhel variants are being automatically
filtered out. Then I found out that the most recent version of
qemu_cpu.cfg depends on a "Host_RHEL" variant being defined.

I don't know how this host-version check system works. Does
anybody know how to make the Host_RHEL variant be defined and
available when running the test cases under avocado-vt?

Or is this Host_* magic not supported by avocado-vt yet and we
can't run any of the variants containing "only Host_RHEL" under
avocado-vt?

</pre>
        </blockquote>
        <pre wrap="">
Hello Eduardo,

I haven't played with that part for a while, but Host_RHEL used to be
set by the internal runner used by QA and I don't think it was added to
avocado-vt, therefor the filters should not be pushed upstream (or the
support for it should have been added as well).

CC: Xu and Feng, do you guys know more about this?

Regards,
Lukáš

</pre>
      </blockquote>
      <pre wrap="">
Eduardo and Lukáš,

As you're surely noticed, I was even more confused than you guys.  The
extra confusion was caused by the fact that, when I started to review:

  <a class="moz-txt-link-freetext" href="https://github.com/autotest/tp-qemu/pull/686">https://github.com/autotest/tp-qemu/pull/686</a>

I was still unaware of this thread.  Looks like a MUA problem, but
that's now irrelevant.

The important thing here is that, under no circumstance, we can have
upstream code that depends on tools, configuration files, or know-how
that's not upstream.  I'm not judging the "Host_*" variant creation
mechanism at this point, but simply stating that *any* upstream user
should be able to run tests.  At the most, users should be able to read
documentation and setup their systems accordingly, but the information
should be available.

Feng, Xu,

We really need you help.  First to identify what kind of tool is
generating the "Host_" variants config files.  Second, to port that to
upstream Avocado-VT.</pre>
    </blockquote>
    <tt>"Host_" variants generate by internal tool "staf-kvm", the
      configuration used to load RHEL host special configuration.
      Internal guys keep such kind of configuration because
      qemu-kvm-rhev and qemu-kvm has different feature list or </tt><tt><em
        class="op_dict3_highlight">worse</em></tt><tt> </tt><tt><em
        class="op_dict3_highlight">yet, same feature in </em></tt><tt>qemu-kvm
      for RHEL6 and qemu-kvm for RHEL7 has different behave (eg. drive
      mirror).</tt><tt> And it's a internal qemu-kvm issue not related
      upstream user, so we keep it in internal repo. <br>
      <br>
      Hi Cleber,<br>
      <br>
      that the story of "Host_" variants. if upstream guys don't like
      it, any suggestion for resolve it.<br>
      <br>
      Thanks,<br>
      Xu<br>
      <br>
    </tt>
    <blockquote
      cite="mid:26b67aa2-be24-ddda-322d-c4cdaa73c34d@redhat.com"
      type="cite">
      <pre wrap="">

Thanks!

</pre>
    </blockquote>
    <br>
  </body>
</html>