<html>
  <head>
    <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <p>Or we could just fix the problem within OpenStack to report the
      correct Hypervisor in the first place. <br>
    </p>
    <p>This kind of reminds me of a story. <br>
    </p>
    <p>Someone was trying to drive down a path on his bicycle, but there
      were some tacks on the path.<br>
      So his wheel kept on getting full of holes. So they thought and
      thought of how to overcome the problem.</p>
    <p>They built small jet engines into the bike so that they could
      hover over the ground, instead of riding over<br>
      the tacks.</p>
    <p>They were happy because they could now go down the path. <br>
    </p>
    <p>The simple answer should have been - get off the bike and pick up
      the tacks - instead of finding ways to <br>
      over-engineer the problem</p>
    <p>Either show the right thing - or don't show it at all.</p>
    <p>My 0.02 Shekels. <br>
    </p>
    <div class="moz-cite-prefix">On 11/05/16 22:06, Robert Starmer
      wrote:<br>
    </div>
    <blockquote
cite="mid:CAJGCFk9Vv+uisKrMLjgTkB3W99Zz9t6EqfYgkfgCDw-RY=340A@mail.gmail.com"
      type="cite">
      <div dir="ltr">You could just ask for the value of virt_type
        parameter from a compute host (or the output of something like
        grep 'virt_type' /etc/nova/nova*) if you are using qemu or kvm. 
        I believe that's how nova figures out what parameters to use
        when launching an instance.</div>
      <div class="gmail_extra"><br>
        <div class="gmail_quote">On Wed, May 11, 2016 at 8:39 AM, Kris
          G. Lindgren <span dir="ltr"><<a moz-do-not-send="true"
              href="mailto:klindgren@godaddy.com" target="_blank">klindgren@godaddy.com</a>></span>
          wrote:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0
            .8ex;border-left:1px #ccc solid;padding-left:1ex">In the
            next user survey - could we clarify that qemu == full
            software cpu emulation and kvm (qemu/kvm) = hardware
            accelerated virtualization or some similar phrasing.  It's
            totally possible that people are like: I run both qemu and
            kvm (thinking that’s qemu/kvm) - when in fact they only run
            kvm (qemu/kvm).<br>
            <br>
___________________________________________________________________<br>
            Kris Lindgren<br>
            Senior Linux Systems Engineer<br>
            GoDaddy<br>
            <br>
            <br>
            <br>
            <br>
            <br>
            <br>
            <br>
            On 5/11/16, 11:58 AM, "Tim Bell" <<a
              moz-do-not-send="true" href="mailto:Tim.Bell@cern.ch"><a class="moz-txt-link-abbreviated" href="mailto:Tim.Bell@cern.ch">Tim.Bell@cern.ch</a></a>>
            wrote:<br>
            <br>
            >Does anyone see a good way to fix this to report KVM or
            QEMU/KVM ?<br>
            ><br>
            >I guess the worry is whether this would count as a bug
            fix or an incompatible change.<br>
            ><br>
            >Tim<br>
            ><br>
            >On 11/05/16 17:51, "Kashyap Chamarthy" <<a
              moz-do-not-send="true" href="mailto:kchamart@redhat.com"><a class="moz-txt-link-abbreviated" href="mailto:kchamart@redhat.com">kchamart@redhat.com</a></a>>
            wrote:<br>
            ><br>
            >>On Tue, May 03, 2016 at 02:27:00PM -0500, Sergio
            Cuellar Valdes wrote:<br>
            >><br>
            >>[...]<br>
            >><br>
            >>> I'm confused too about the use of KVM or QEMU
            In the computes the<br>
            >>> file​/etc/nova/nova-compute.conf has:<br>
            >>><br>
            >>> virt_type=kvm<br>
            >>><br>
            >>> The output of:<br>
            >>><br>
            >>> nova hypervisor-show <id> | grep
            hypervisor_type<br>
            >>><br>
            >>> is:<br>
            >>><br>
            >>> hypervisor_type           | QEMU<br>
            >><br>
            >>As Dan noted in his response, it's because it is
            reporting the libvirt driver<br>
            >>name (which is reported as QEMU).<br>
            >><br>
            >>Refer below if you want to double-confirm if your
            instances are using KVM.<br>
            >><br>
            >>><br>
            >>> The virsh dumpxml of the instances shows:<br>
            >>><br>
            >>> <domain type='kvm' id='44'><br>
            >><br>
            >>That means, yes, you using KVM.  You can confirm
            that by checking your QEMU<br>
            >>command-line of the Nova instance, you'll see
            something like "accel=kvm":<br>
            >><br>
            >>      # This is on Fedora 23 system<br>
            >>      $ ps -ef | grep -i qemu-system-x86_64<br>
            >>      [...] /usr/bin/qemu-system-x86_64 -machine
            accel=kvm [...]<br>
            >><br>
            >>> ....<br>
            >>>
            <emulator>/usr/bin/qemu-system-x86_64</emulator><br>
            >>><br>
            >>> ​But according to ​this document [1], it is
            using QEMU emulator instead of<br>
            >>> KVM, because it is not using /usr/bin/qemu-kvm<br>
            >>><br>
            >>><br>
            >>> So I really don't know if it's using KVM or
            QEMU.<br>
            >><br>
            >>As noted above, a sure-fire way to know is to see if
            the instance's QEMU<br>
            >>command-line has "accel=kvm".<br>
            >><br>
            >>A related useful tool is `virt-host-validate` (which
            is part of libvirt-client<br>
            >>package, at least on Fedora-based systems):<br>
            >><br>
            >>   $ virt-host-validate | egrep -i 'kvm'<br>
            >>    QEMU: Checking if device /dev/kvm exists       
                                       : PASS<br>
            >>    QEMU: Checking if device /dev/kvm is accessible 
                                      : PASS<br>
            >><br>
            >><br>
            >>> [1] <a moz-do-not-send="true"
              href="https://libvirt.org/drvqemu.html" rel="noreferrer"
              target="_blank">https://libvirt.org/drvqemu.html</a><br>
            >>><br>
            >><br>
            >><br>
            >>--<br>
            >>/kashyap<br>
            >><br>
            >>_______________________________________________<br>
            >>OpenStack-operators mailing list<br>
            >><a moz-do-not-send="true"
              href="mailto:OpenStack-operators@lists.openstack.org">OpenStack-operators@lists.openstack.org</a><br>
            >><a moz-do-not-send="true"
href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators"
              rel="noreferrer" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators</a><br>
            ><br>
            >_______________________________________________<br>
            >OpenStack-operators mailing list<br>
            ><a moz-do-not-send="true"
              href="mailto:OpenStack-operators@lists.openstack.org">OpenStack-operators@lists.openstack.org</a><br>
            ><a moz-do-not-send="true"
href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators"
              rel="noreferrer" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators</a><br>
            _______________________________________________<br>
            OpenStack-operators mailing list<br>
            <a moz-do-not-send="true"
              href="mailto:OpenStack-operators@lists.openstack.org">OpenStack-operators@lists.openstack.org</a><br>
            <a moz-do-not-send="true"
href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators"
              rel="noreferrer" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators</a><br>
          </blockquote>
        </div>
        <br>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
OpenStack-operators mailing list
<a class="moz-txt-link-abbreviated" href="mailto:OpenStack-operators@lists.openstack.org">OpenStack-operators@lists.openstack.org</a>
<a class="moz-txt-link-freetext" href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators</a>
</pre>
    </blockquote>
    <br>
    <div class="moz-signature">-- <br>
      Best Regards,<br>
      Maish Saidel-Keesing</div>
  </body>
</html>