[libvirt] [PATCH 1/4] docs: Add documents for memory device

Paolo Bonzini pbonzini at redhat.com
Fri Nov 16 22:47:03 UTC 2012


Il 16/11/2012 10:59, Osier Yang ha scritto:
> If "path" for "ivshmem" memory device is specified, it's going
> to be setup with interrupts enabled. Otherwise interrupts is
> disabled. To be more clear, let's see the QEMU command line
> of both cases:
> 
>   * With interrupts (/tmp/nahanni is the ivshmem server socket path)
> 
>     /* This starts the ivshmem server */
>     % ivshmem_server -m 512 -p /tmp/foo
> 
>     /* qemu command line */
>     -chardev socket,path=/tmp/foo,id=nahanni
>     -device ivshmem,chardev=nahanni,size=512m,vectors=8,ioeventfd=on
> 
>   * Without interrupts (no ivshmem server is needed)
>     -device ivshmem,shm=nahanni,size=512m,vectors=8,ioeventfd=on

I think <doorbell/> is a better name than ioeventfd.  That is somewhat
kvm-specific, but there's no reason for it to be.

Paolo




More information about the libvir-list mailing list