Thank you Thomas. I actually need to use a specific tap network device so I need a way of specifying it when restoring the vm. And this tap device number varies across hosts so I can’t rely on it being the same on the source and destination hosts. As far as I can tell this is not possible with the user interface element of libvirt xml, or am I mistaken? On Wed, May 9, 2018 at 12:47 AM, Thomas Huth <thuth@xxxxxxxxxx> wrote: > On 09.05.2018 06:09, R wrote: > [...] >> I am aware about the stability issues of using qemu-kvm directly >> instead of libvirt but I need a particular network devices >> configuration with specific tap devices (-netdev >> tap,id=hostnet0,vhost=on,fd=8 8<>/dev/tap2") so, unless I can do this >> with libvirt, I need a way to restore a saved VM with qemu-kvm >> directly. > Have you already tried the "user" interface type in the XML for libvirt? > That should work without a tap device: > > https://libvirt.org/formatdomain.html#elementsNICSSlirp > > HTH, > Thomas