Hi,

I am trying to create a VM with the IVSHMEM feature, and I specify the device using qemu command line argument in my XML by using the pass through tag as follows:

<qemu:commandline>
                <qemu:arg value='-device ivshmem,size=2048M,shm=fd:/mnt/huge/map_1:0x0:0x40000000:/dev/zero:0x0:0x3fffc000:/var/run/.ivshmem_metadata_config_2:0x0:0x4000'/>
</qemu:commandline>


This seemingly does not work as I get this error:

Internal error process exited while connecting to monitor: qemu-system-x86_64: -device ivshmem,size=2048M,shm=fd:/mnt/huge/map_1:0x0:0x40000000:/dev/zero:0x0:0x3fffc000:/var/run/.ivshmem_metadata_config_2:0x0:0x4000: invalid option

Can anyone point out what I am doing wrong here? Thanks.

Qasim