[libvirt-users] Using IVSHMEM with Libvirt

Daniel P. Berrange berrange at redhat.com
Thu Apr 24 10:38:23 UTC 2014


On Thu, Apr 24, 2014 at 03:34:21PM +0500, Qasim Maqbool wrote:
> 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>

You've put two separate arguments '-device' and '..the rest...' inside
one single <qemu:arg>. You must use two <qemu:arg> elements - one per
argument.


Regards,
Daniel
-- 
|: http://berrange.com      -o-    http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org              -o-             http://virt-manager.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org       -o-       http://live.gnome.org/gtk-vnc :|




More information about the libvirt-users mailing list