Hi Jan and Cam,
It has been tested with uio driver. And other opinion for the code?
Regards,
Pingfan
On Thu, Dec 6, 2012 at 2:37 PM, Liu Ping Fan wrote:
> From: Liu Ping Fan
>
> Using irqfd, so we can avoid switch between kernel and user when
> VMs interrupts each other.
>
> Signed-off-by: Liu
From: Liu Ping Fan
Using irqfd, so we can avoid switch between kernel and user when
VMs interrupts each other.
Signed-off-by: Liu Ping Fan
Signed-off-by: Cam Macdonell
---
hw/ivshmem.c | 54 +-
1 files changed, 53 insertions(+), 1 deletion
On Thu, Dec 6, 2012 at 1:10 PM, Cam Macdonell wrote:
> On Wed, Dec 5, 2012 at 1:50 AM, Jan Kiszka wrote:
>> On 2012-12-05 06:34, Cam Macdonell wrote:
static void ivshmem_write_config(PCIDevice *pci_dev, uint32_t address,
uint32_t val, int len)
{
>
On Wed, Dec 5, 2012 at 1:50 AM, Jan Kiszka wrote:
> On 2012-12-05 06:34, Cam Macdonell wrote:
>>> static void ivshmem_write_config(PCIDevice *pci_dev, uint32_t address,
>>> uint32_t val, int len)
>>> {
>>> +bool is_enabled, was_enabled = msi_enabled(pci_dev);
- Original Message -
> On Tue, Dec 4, 2012 at 4:10 AM, Andrew Jones
> wrote:
> >
> >
> > - Original Message -
> >> On Thu, Nov 29, 2012 at 1:34 AM, liu ping fan
> >> wrote:
> >> > On Thu, Nov 29, 2012 at 12:42 PM, Cam Macdonell
> >> > wrote:
> >> >> On Tue, Nov 27, 2012 at 7:53
On 2012-12-05 06:34, Cam Macdonell wrote:
>> static void ivshmem_write_config(PCIDevice *pci_dev, uint32_t address,
>> uint32_t val, int len)
>> {
>> +bool is_enabled, was_enabled = msi_enabled(pci_dev);
>> +
>> pci_default_write_config(pci_dev, address,
On Sat, Nov 24, 2012 at 8:51 PM, Liu Ping Fan wrote:
> From: Liu Ping Fan
>
> Using irqfd, so we can avoid switch between kernel and user when
> VMs interrupts each other.
>
Hi Liu Ping,
With this patch applied I was still seeing transitions to user-level
on the receipt of an msi interrupt.
un
On Tue, Dec 4, 2012 at 4:10 AM, Andrew Jones wrote:
>
>
> - Original Message -
>> On Thu, Nov 29, 2012 at 1:34 AM, liu ping fan
>> wrote:
>> > On Thu, Nov 29, 2012 at 12:42 PM, Cam Macdonell
>> > wrote:
>> >> On Tue, Nov 27, 2012 at 7:53 PM, liu ping fan
>> >> wrote:
>> >>> On Wed, Nov
- Original Message -
> On Thu, Nov 29, 2012 at 1:34 AM, liu ping fan
> wrote:
> > On Thu, Nov 29, 2012 at 12:42 PM, Cam Macdonell
> > wrote:
> >> On Tue, Nov 27, 2012 at 7:53 PM, liu ping fan
> >> wrote:
> >>> On Wed, Nov 28, 2012 at 5:48 AM, Cam Macdonell
> >>> wrote:
> On Sat,
On Thu, Nov 29, 2012 at 1:34 AM, liu ping fan wrote:
> On Thu, Nov 29, 2012 at 12:42 PM, Cam Macdonell wrote:
>> On Tue, Nov 27, 2012 at 7:53 PM, liu ping fan wrote:
>>> On Wed, Nov 28, 2012 at 5:48 AM, Cam Macdonell wrote:
On Sat, Nov 24, 2012 at 8:51 PM, Liu Ping Fan wrote:
> From:
On Thu, Nov 29, 2012 at 12:42 PM, Cam Macdonell wrote:
> On Tue, Nov 27, 2012 at 7:53 PM, liu ping fan wrote:
>> On Wed, Nov 28, 2012 at 5:48 AM, Cam Macdonell wrote:
>>> On Sat, Nov 24, 2012 at 8:51 PM, Liu Ping Fan wrote:
From: Liu Ping Fan
Using irqfd, so we can avoid switch
On Tue, Nov 27, 2012 at 7:53 PM, liu ping fan wrote:
> On Wed, Nov 28, 2012 at 5:48 AM, Cam Macdonell wrote:
>> On Sat, Nov 24, 2012 at 8:51 PM, Liu Ping Fan wrote:
>>> From: Liu Ping Fan
>>>
>>> Using irqfd, so we can avoid switch between kernel and user when
>>> VMs interrupts each other.
>>
On Wed, Nov 28, 2012 at 5:48 AM, Cam Macdonell wrote:
> On Sat, Nov 24, 2012 at 8:51 PM, Liu Ping Fan wrote:
>> From: Liu Ping Fan
>>
>> Using irqfd, so we can avoid switch between kernel and user when
>> VMs interrupts each other.
>
> Nice work. Due to a hardware failure, there will be a small
On Sat, Nov 24, 2012 at 8:51 PM, Liu Ping Fan wrote:
> From: Liu Ping Fan
>
> Using irqfd, so we can avoid switch between kernel and user when
> VMs interrupts each other.
Nice work. Due to a hardware failure, there will be a small delay in
me being able to test this. I'll follow up as soon as
From: Liu Ping Fan
Using irqfd, so we can avoid switch between kernel and user when
VMs interrupts each other.
Signed-off-by: Liu Ping Fan
---
hw/ivshmem.c | 54 +-
1 files changed, 53 insertions(+), 1 deletions(-)
diff --git a/hw/ivshmem.
15 matches
Mail list logo