<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    hi Peter,<br>
    If it wasn't compiled with VBox support, it would not say this:<br>
    Compiled with support for:<br>
     Hypervisors: QEMU/KVM LXC UML Xen LibXL OpenVZ VMWare <b>VirtualBox</b>
    Test<br>
    <br>
    Furthermore, checking in the comments of the link, I find it is a
    duplicate of this one:
    <a class="moz-txt-link-freetext" href="https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/1103721">https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/1103721</a> Which
    clearly states that it is fixed and as in raring. I'm on trusty
    right now...<br>
    <br>
    Regards,<br>
    Julian Zhou<br>
    <br>
    <div class="moz-cite-prefix">On 09/28/2015 08:13 PM, Peter Teoh
      wrote:<br>
    </div>
    <blockquote
cite="mid:CAHnt0GUhuDT2SCDyh=ELz2qExyrF0SQBHcHntv6K-O2E4XVHHA@mail.gmail.com"
      type="cite">
      <div dir="ltr"><br>
        <div class="gmail_extra"><br>
          <div class="gmail_quote">On Tue, Sep 29, 2015 at 2:54 AM,
            Julian Zhou <span dir="ltr"><<a moz-do-not-send="true"
                href="mailto:jzhou2oo6@gmail.com" target="_blank">jzhou2oo6@gmail.com</a>></span>
            wrote:<br>
            <blockquote class="gmail_quote" style="margin:0px 0px 0px
              0.8ex;border-left:1px solid
              rgb(204,204,204);padding-left:1ex">
              <div text="#000000" bgcolor="#FFFFFF"> <span
style="color:rgb(64,64,64);font-family:Roboto,arial,sans-serif;font-size:13px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:18.2px;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;display:inline!important;float:none;background-color:rgb(255,255,255)"> Hi

                  I am trying to add a virtualbox domain to my virsh
                  installation, I get:</span><br
style="color:rgb(64,64,64);font-family:Roboto,arial,sans-serif;font-size:13px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:18.2px;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255)">
                <br
style="color:rgb(64,64,64);font-family:Roboto,arial,sans-serif;font-size:13px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:18.2px;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255)">
                <span
style="color:rgb(64,64,64);font-family:Roboto,arial,sans-serif;font-size:13px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:18.2px;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;display:inline!important;float:none;background-color:rgb(255,255,255)"> error:

                  Failed to define domain from Ondria.xml >></span><a
                  moz-do-not-send="true"
                  href="https://gist.github.com/jztech101/5aeebb82412c1910dc1f"
                  target="_blank"><a class="moz-txt-link-freetext" href="https://gist.github.com/jztech101/5aeebb82412c1910dc1f">https://gist.github.com/jztech101/5aeebb82412c1910dc1f</a></a><span
style="color:rgb(64,64,64);font-family:Roboto,arial,sans-serif;font-size:13px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:18.2px;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;display:inline!important;float:none;background-color:rgb(255,255,255)"><span> </span><<
                  error: internal error: unexpected domain type vbox,
                  expecting one of these: qemu, kqemu, kvm, xen.</span><br
style="color:rgb(64,64,64);font-family:Roboto,arial,sans-serif;font-size:13px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:18.2px;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255)">
                <br
style="color:rgb(64,64,64);font-family:Roboto,arial,sans-serif;font-size:13px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:18.2px;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255)">
                <span
style="color:rgb(64,64,64);font-family:Roboto,arial,sans-serif;font-size:13px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:18.2px;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;display:inline!important;float:none;background-color:rgb(255,255,255)"> virsh

                  is compiled with VirtualBox support so I'm confused:</span><br
style="color:rgb(64,64,64);font-family:Roboto,arial,sans-serif;font-size:13px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:18.2px;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255)">
                <br
style="color:rgb(64,64,64);font-family:Roboto,arial,sans-serif;font-size:13px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:18.2px;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255)">
                <span
style="color:rgb(64,64,64);font-family:Roboto,arial,sans-serif;font-size:13px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:18.2px;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;display:inline!important;float:none;background-color:rgb(255,255,255)">Virsh

                  -V >> Virsh command line tool of libvirt 1.2.2</span><br
style="color:rgb(64,64,64);font-family:Roboto,arial,sans-serif;font-size:13px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:18.2px;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255)">
                <span
style="color:rgb(64,64,64);font-family:Roboto,arial,sans-serif;font-size:13px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:18.2px;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;display:inline!important;float:none;background-color:rgb(255,255,255)">See

                  web site at<span> </span></span><a
                  moz-do-not-send="true" href="http://libvirt.org/"
                  target="_blank"><a class="moz-txt-link-freetext" href="http://libvirt.org/">http://libvirt.org/</a></a><br
style="color:rgb(64,64,64);font-family:Roboto,arial,sans-serif;font-size:13px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:18.2px;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255)">
                <br
style="color:rgb(64,64,64);font-family:Roboto,arial,sans-serif;font-size:13px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:18.2px;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255)">
                <span
style="color:rgb(64,64,64);font-family:Roboto,arial,sans-serif;font-size:13px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:18.2px;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;display:inline!important;float:none;background-color:rgb(255,255,255)">Compiled

                  with support for:</span><br
style="color:rgb(64,64,64);font-family:Roboto,arial,sans-serif;font-size:13px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:18.2px;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255)">
                <span
style="color:rgb(64,64,64);font-family:Roboto,arial,sans-serif;font-size:13px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:18.2px;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;display:inline!important;float:none;background-color:rgb(255,255,255)"> Hypervisors:

                  QEMU/KVM LXC UML Xen LibXL OpenVZ VMWare VirtualBox
                  Test</span><br
style="color:rgb(64,64,64);font-family:Roboto,arial,sans-serif;font-size:13px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:18.2px;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255)">
                <span
style="color:rgb(64,64,64);font-family:Roboto,arial,sans-serif;font-size:13px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:18.2px;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;display:inline!important;float:none;background-color:rgb(255,255,255)"> Networking:

                  Remote Network Bridging Interface netcf Nwfilter
                  VirtualPort</span><br
style="color:rgb(64,64,64);font-family:Roboto,arial,sans-serif;font-size:13px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:18.2px;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255)">
                <span
style="color:rgb(64,64,64);font-family:Roboto,arial,sans-serif;font-size:13px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:18.2px;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;display:inline!important;float:none;background-color:rgb(255,255,255)"> Storage:

                  Dir Disk Filesystem SCSI Multipath iSCSI LVM RBD
                  Sheepdog</span><br
style="color:rgb(64,64,64);font-family:Roboto,arial,sans-serif;font-size:13px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:18.2px;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255)">
                <span
style="color:rgb(64,64,64);font-family:Roboto,arial,sans-serif;font-size:13px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:18.2px;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;display:inline!important;float:none;background-color:rgb(255,255,255)"> Miscellaneous:

                  Daemon Nodedev AppArmor Secrets Debug Readline
                  Modular.<br>
                  <br>
                  After some insight, I decided to run it like this
                  instead: " virsh -c vbox:///session create Ondria.xml"<br>
                  Now I get: <br>
                  <br>
                  error: failed to connect to the hypervisor<br>
                  error: internal error: unable to initialize VirtualBox
                  driver API<br>
                  <br>
                  So, after further insight, I ran "export
                  VBOX_APP_HOME=/usr/lib/virtualbox" and tried again.
                  Same error as above. (/usr/lib/virtualbox is where
                  VBoxCPCOMC.so lies and I'm told the reason for the
                  above error is it cannot find that file in any
                  "normal" location. Help? It should be noted I
                  installed VirtualBox-5.0 directly from the VBox Repo
                  for Ubuntu 14.04LTS<br>
                  <br>
                </span></div>
            </blockquote>
            <div><br>
            </div>
            <div>not sure if it help:   Ubuntu libvirt's driver for
              Virtualbox is disabled by default:<br>
              <br>
              <a moz-do-not-send="true"
                href="https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/667076">https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/667076</a><br>
              <br>
            </div>
            <div>So...u may have do recompile it as follow:<br>
              <br>
              <a moz-do-not-send="true"
href="http://stackoverflow.com/questions/2778638/libvirt-and-virtualbox-getting-started">http://stackoverflow.com/questions/2778638/libvirt-and-virtualbox-getting-started</a><br>
            </div>
            <div> </div>
            <blockquote class="gmail_quote" style="margin:0px 0px 0px
              0.8ex;border-left:1px solid
              rgb(204,204,204);padding-left:1ex">
              <div text="#000000" bgcolor="#FFFFFF"><span
style="color:rgb(64,64,64);font-family:Roboto,arial,sans-serif;font-size:13px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:18.2px;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;display:inline!important;float:none;background-color:rgb(255,255,255)">
                  Regards,<br>
                  Julian Zhou</span> <span
style="color:rgb(64,64,64);font-family:Roboto,arial,sans-serif;font-size:13px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:18.2px;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;display:inline!important;float:none;background-color:rgb(245,245,245)"></span><span
style="color:rgb(64,64,64);font-family:Roboto,arial,sans-serif;font-size:13px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:18.2px;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;display:inline!important;float:none;background-color:rgb(245,245,245)"></span>
              </div>
              <br>
              _______________________________________________<br>
              libvirt-users mailing list<br>
              <a moz-do-not-send="true"
                href="mailto:libvirt-users@redhat.com">libvirt-users@redhat.com</a><br>
              <a moz-do-not-send="true"
                href="https://www.redhat.com/mailman/listinfo/libvirt-users"
                rel="noreferrer" target="_blank">https://www.redhat.com/mailman/listinfo/libvirt-users</a><br>
            </blockquote>
          </div>
          <br>
          <br clear="all">
          <br>
          -- <br>
          <div class="gmail_signature">Regards,<br>
            Peter Teoh</div>
        </div>
      </div>
    </blockquote>
    <br>
  </body>
</html>