Module/Tool/SO to convert from KVM-xml => QEMU-native?

Hi All. Following has been done : 1. "sudo apt-get install virt-manager" Above installed all packages required for libvirt/kvm/qemu via apt, and a vm was setup successfully. Also, the vm booting works fine, when the green start-button of virt-manager is clicked. 2. Next, qemu was compiled from sources, and only and only the following was replaced, as : "sudo cp build/qemu-system-x86_64 /usr/bin/qemu-system-x86_64" 3. Now, if the green-button on the virt-manager is clicked, following error is seen : ########################################################## Please use server=on instead qemu-system-x86_64: -chardev socket,id=charmonitor,fd=31,server,nowait: warning: short-form boolean option 'nowait' deprecated Please use wait=off instead qemu-system-x86_64: -spice port=5900,addr=127.0.0.1,disable-ticketing,image-compression=off,seamless-migration=on: warning: short-form boolean option 'disable-ticketing' deprecated Please use disable-ticketing=on instead ########################################################## So, what are the minimum libvirt modules that need to be replaced, so that upon booting up, the kvm-xml is converted to qemu-native in the latest qemu-compatible format? Thanks and Regards, Ajay

Came across this : https://fedoraproject.org/wiki/Changes/LibvirtModularDaemons Upon regular compilation, it looks virsh (and possibly others) are compiled in the modular mode. Is it possible to compile in the legacy mode, in the latest libvirt? On Sat, Oct 9, 2021 at 12:20 AM Ajay Garg <ajaygargnsit@gmail.com> wrote:
Hi All.
Following has been done :
1. "sudo apt-get install virt-manager"
Above installed all packages required for libvirt/kvm/qemu via apt, and a vm was setup successfully. Also, the vm booting works fine, when the green start-button of virt-manager is clicked.
2. Next, qemu was compiled from sources, and only and only the following was replaced, as :
"sudo cp build/qemu-system-x86_64 /usr/bin/qemu-system-x86_64"
3. Now, if the green-button on the virt-manager is clicked, following error is seen :
########################################################## Please use server=on instead qemu-system-x86_64: -chardev socket,id=charmonitor,fd=31,server,nowait: warning: short-form boolean option 'nowait' deprecated Please use wait=off instead qemu-system-x86_64: -spice port=5900,addr=127.0.0.1,disable-ticketing,image-compression=off,seamless-migration=on: warning: short-form boolean option 'disable-ticketing' deprecated Please use disable-ticketing=on instead ##########################################################
So, what are the minimum libvirt modules that need to be replaced, so that upon booting up, the kvm-xml is converted to qemu-native in the latest qemu-compatible format?
Thanks and Regards, Ajay

For converting kvm-xml to qemu-native, qemu needs to be installed/updated in entirety. Doing a complete "sudo make install" for qemu, will take care of the conversion (without touching virt-manager / kvm /libvirt). "sudo make install" (for qemu) safely updates the older qemu-files (if any), provided the (qeemu) build has been configured via "./configure --prefix=/usr". Marking this thread as closed-solved.
participants (1)
-
Ajay Garg