Question

I am trying to use libvmi tool on KVM virtual machine running on Eucalyptus cloud. It is a cloud-in-a-box 3.4.2 version. To use libvmi on KVM, it requires me to change the qemu-kvm that Eucalyptus by default uses. So I did a patch to the qemu-kvm-1.2.0 source code, compiled it and "make && make install" as this web page said: https://github.com/bdpayne/libvmi/tree/master/tools/qemu-kvm-patch.

Now I need to make sure my system will use this newly installed version of qemu-kvm when running KVM virtual machines. Could anyone tell me how to setup so that Eucalyptus would use my newly-installed qemu-kvm when launching new instances?

I tried "yum erase qemu-kvm", hoping to erase the original version of qemu-kvm so that maybe Eucalyptus would have to use the qemu I just compiled and installed. However when I used "yum erase qemu-kvm", it said "eucalyptus-nc" would also need to be erased for depedency reason, so I didn't continue.

Any help would be appreciated. Thank you very much.

Was it helpful?

Solution

I guess you have a couple options:

  • Tell configure to install into location used by the packaged installation (perhaps something like ./configure --prefix=/).

  • Find the qemu-kvm binary on the system and overwrite it with the binary produced in the source tree during compilation.

A backup may help, but then you can always reinstall from packages.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top