<div dir="ltr">I have a very small patch into config.py adding an 'emulator' node to the generated XML on instance spawn.<div><br></div><div>This allows me to not override the system QEMU (and mess with my package manager).</div>
<div><br></div><div>For future people customizing QEMU you will have to configure AppArmor (Ubuntu 14.04 LTS Server here) to allow execution of the QEMU binary, and I also had to enable reading of 'bios.bin' from my customized QEMU install path.</div>
<div><br></div><div>My reason for doing this is that I am testing out some experimental QMP commands and just need instances started with a special version of QEMU.</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">
On Thu, Jul 31, 2014 at 10:05 AM, Fish Turtle <span dir="ltr"><<a href="mailto:tpiperatgod@gmail.com" target="_blank">tpiperatgod@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">
<div bgcolor="#FFFFFF" text="#000000">
Hi,<br>
the qemu path in openstack environment is "/usr/bin/qemu-kvm" or
"/usr/libexec/qemu-kvm" in usual.<br>
backup the original and link the custom to "/usr/bin" or
"/usr/libexec", it will be detected by libvirt.<br>
to change config.py may take more time, make a <br>
</div>
</div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br>Wolf
</div>