[libvirt-users] Regarding the support of libvirt for shared memory

Eric Blake eblake at redhat.com
Fri Jan 4 14:12:34 UTC 2013


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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 619 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvirt-users/attachments/20130104/a3a2ef2d/attachment.sig>


More information about the libvirt-users mailing list