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