Where is qemu-dm? Xen 4.10

openSUSE Tumbleweed 20180209
I tried to use xen with *device_model_version = ‘qemu-xen-traditional’ *and got
*Domain 13:device model /usr/lib/xen/bin/qemu-dm is not executable: No such file or directory
*There is no * /usr/lib/xen/bin/qemu-dm *executable.
How to get this executable? What I should install?

Installed Xen packages:

S  | Name                       | Type    | Version       | Arch   | 
---+----------------------------+---------+---------------+--------+
i  | grub2-x86_64-xen           | package | 2.02-16.1     | x86_64 |
i+ | libvirt-daemon-xen         | package | 4.0.0-2.1     | x86_64 |  
i+ | patterns-server-xen_server | package | 20170319-3.2  | x86_64 | 
i  | xen                        | package | 4.10.0_10-2.1 | x86_64 |  
i  | xen-doc-html               | package | 4.10.0_10-2.1 | x86_64 |  
i+ | xen-libs                   | package | 4.10.0_10-2.1 | x86_64 |
i+ | xen-tools                  | package | 4.10.0_10-2.1 | x86_64 |
i  | xen_server                 | pattern | 20170319-3.2  | x86_64 |

I guess for starters,
Is there some reason why you specified a device model instead of using whatever is default?

As always,
You need to make sure you are configuring an HVM and not a PV guest.

Some comment and description about qemu-dm

https://wiki.xenproject.org/wiki/Hvmloader

And now what I think likely is the solution to your problem

https://wiki.debian.org/libvirt/xen#Error_creating_domain:device_model.27.2Fusr.2Flib64.2Fxen.2Fbin.2Fqemu-dm.27_not_found

I also found the following… If the above doesn’t fix your problem. In the answer there is a suggested fix, perhaps more valuable is the link to a xen-users mailing list thread that discusses a missing qemu-dm.

https://stackoverflow.com/questions/33761738/xen-4-4-usr-lib-xen-4-4-bin-qemu-dm-is-not-executable

HTH,
TSU

As I have never used qemu, is it possible that you haven’t actually installed qemu?

Qemu-dm is special old version of qemu with xen project modifications. It should be installed with xen.

I have to use qemu-xen-traditional in order to do gpu passthrough with my intel gpu.
HVM guest.

Suse Tumbleweed with xen 4.9 did have qemu-dm as I can remember.
It seems like package maintainer did not include qemu-dm for me.

https://xenbits.xen.org/docs/unstable/man/xl.cfg.5.html#Device-Model-Options
There is no deprecation notes for qemu-dm in Xen documentation so Xen package should provide it.

As is obvious from changelog (that you apparently did even bother to read), it was dropped intentionally and quite some time ago already. If you think it is wrong, complaining on this forum is not going to change anything - open bug report or contact maintainer which is mentioned in changelog or post to opensuse-virtual (or may be opensuse-factory as last resort) mailing list.

But seeing that it has been removed addressing some SUSE internal request I do not hold my breath …

… and BTW according to information on Xen wiki this option should not be used since very long time: Xen Common Problems - Xen

That’s bad news. Thanks.

Maintainer confirmed permanent drop of qemu-dm.