
On Wed, 2013-05-01 at 16:40 +0100, Jim Fehlig wrote:
This is still all advanced usage, the majority of users should specify neither the version nor the path, libxl will just do the right thing for them. If the libvirt bindings is trying to insert a path in the "pick a sane default" case then it should stop trying to do this and just let libxl DTRT.
Yes, I agree. But if a user specifies <emulator>/bla/bla</emulator>, how should libvirt populate device_model_version? Is it expected that qemu-xen-traditional will always be the 0.10.2 version? If so, libxl could DTRT by setting device_model_version to qemu-xen-traditional when detecting the the requested emulator version in 0.10.2.
qemu-xen-traditional certainly won't be getting any version bumps (certainly not for the first two numbers, I suppose there is a vanishingly small chance for the third one), so if that is the version it reports then that might work. Ian.