On 2/28/22 08:51, M, Shivakumar wrote: > Hello, > > > > We are trying to bring up the Android VM with Libvirt, as part of this > exercise it is advised to keep Replay Protected Memory Block (RPMB) > device as the first virtio device in the QEMU arg list, as the secure > storage daemon in Andriod side communicates with dev/vport0p1 for RPMB > usage. > > > > Is there any way we can make a qemu commands generation in particular > order with Libvirt XML ? Unfortunately no. While libvirt allows passing arbitrary cmd line arguments (https://libvirt.org/kbase/qemu-passthrough-security.html) these are appended only after libvirt generated part. Michal