[PATCH] Inter-VM shared memory PCI device

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Cam Macdonell
Date: Tuesday, March 9, 2010 - 8:27 am

On Tue, Mar 9, 2010 at 3:29 AM, Avi Kivity <avi@redhat.com> wrote:

At the moment, the VM ID is set to -1 if interrupts aren't supported,
but that may not be the clearest way to do things.  With UIO is there
a way to detect if the interrupt pin is on?


True, it could grow to 32 or 64 without difficulty.  We could leave
'liveness' to the user (could be implemented using the shared memory
region) or via the interrupts that arrive on guest attach/detach as
you suggest below..


Right now, it would be.  I believe that eventfd has a counting
semaphore option, that could prevent loss of status (but limits what
the status could be).  My understanding of uio_pci interrupt handling
is fairly new, but we could have the uio driver store the interrupt
statuses to avoid losing them.


Sure, I'll look into it.


Sure.

--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH] Support adding a file to qemu's ram allocation, Cam Macdonell, (Fri Mar 5, 4:52 pm)
[PATCH] Inter-VM shared memory PCI device, Cam Macdonell, (Fri Mar 5, 4:52 pm)
Re: [PATCH] Inter-VM shared memory PCI device, Avi Kivity, (Mon Mar 8, 2:56 am)
Re: [PATCH] Inter-VM shared memory PCI device, Cam Macdonell, (Mon Mar 8, 10:57 am)
Re: [PATCH] Inter-VM shared memory PCI device, Avi Kivity, (Tue Mar 9, 3:29 am)
Re: [PATCH] Inter-VM shared memory PCI device, Arnd Bergmann, (Tue Mar 9, 5:49 am)
Re: [PATCH] Inter-VM shared memory PCI device, Avi Kivity, (Tue Mar 9, 6:03 am)
[PATCH] Inter-VM shared memory PCI device, Cam Macdonell, (Tue Mar 9, 8:27 am)
Re: [PATCH] Inter-VM shared memory PCI device, Cam Macdonell, (Tue Mar 9, 9:44 am)
Re: [PATCH] Inter-VM shared memory PCI device, Avi Kivity, (Tue Mar 9, 10:28 am)
Re: [PATCH] Inter-VM shared memory PCI device, Anthony Liguori, (Tue Mar 9, 10:34 am)
Re: [PATCH] Inter-VM shared memory PCI device, Cam Macdonell, (Tue Mar 9, 11:34 am)
Re: [Qemu-devel] [PATCH] Inter-VM shared memory PCI device, Anthony Liguori, (Tue Mar 9, 2:41 pm)
Re: [Qemu-devel] [PATCH] Inter-VM shared memory PCI device, Anthony Liguori, (Tue Mar 9, 2:44 pm)
Re: [PATCH] Inter-VM shared memory PCI device, Avi Kivity, (Wed Mar 10, 2:21 am)
Re: [PATCH] Inter-VM shared memory PCI device, Arnd Bergmann, (Wed Mar 10, 7:04 am)
Re: [PATCH] Inter-VM shared memory PCI device, Cam Macdonell, (Wed Mar 10, 9:36 am)
Re: [Qemu-devel] [PATCH] Inter-VM shared memory PCI device, Anthony Liguori, (Wed Mar 10, 10:13 am)
Re: [PATCH] Inter-VM shared memory PCI device, Avi Kivity, (Wed Mar 10, 11:49 pm)
Re: [PATCH] Inter-VM shared memory PCI device, Avi Kivity, (Wed Mar 10, 11:50 pm)
Re: [PATCH] Inter-VM shared memory PCI device, Arnd Bergmann, (Thu Mar 11, 5:57 am)
Re: [PATCH] Inter-VM shared memory PCI device, Avi Kivity, (Thu Mar 11, 6:07 am)
Re: [PATCH] Inter-VM shared memory PCI device, Arnd Bergmann, (Thu Mar 11, 7:32 am)