On 01/04/2013 07:02 AM, achala joshi wrote:
Hello All,
I want to use shared memory , but in virsh I am unable to provide
the necessary options for use of shared memory.
I want to have some scripts so that they can be included in the xml file so
that each time the need is of shared memory , it can be directly used from
there only.
Hot topic lately; you're the second person to ask.
There have been patches proposed for libvirt to implement the support
natively:
https://www.redhat.com/archives/libvir-list/2012-November/msg00731.html
But that work is not yet incorporated into libvirt (it is still under
discussion); in the meantime, while waiting for it to be resolved, you
can use qemu passthrough to specify the arguments that libvirt does not
map:
http://libvirt.org/drvqemu.html#qemucommand
You can use 'virsh edit' to add in your arbitrary qemu command-line
arguments.
--
Eric Blake eblake redhat com +1-919-301-3266
Libvirt virtualization library
http://libvirt.org