It's not related to shared irq. MSI is already supported in KVM, so if the 
device has MSI capability, there is no sharing irq issue.

Can you try latest kvm.git and kvm-userspace.git? At least you are not using 
latest kvm-userspace because there is output "BUG: kvm_destroy_phys_mem: 
invalid parameters (slot=-1)". In addition, can you try out other device, such 
as add-on PCIe NIC or USB? 

Regards,
Weidong

w1ndoz wrote:
> Hi Weidong,
> 
> Thank you for your advice.
> 
> The other messages which I found are the following messages which
> KVM outputs:
> BUG: kvm_destroy_phys_mem: invalid parameters (slot=-1)
> BUG: kvm_destroy_phys_mem: invalid parameters (slot=-1)
> 
> and, IRQ status is as follows:
> 
> /proc/interrupt of the host OS is as follows:
> cat /proc/interrupts
>            CPU0       CPU1
>   0:         45          0   IO-APIC-edge      timer
>   1:          1          1   IO-APIC-edge      i8042
>   4:          1          1   IO-APIC-edge
>   9:          0          0   IO-APIC-fasteoi   acpi
>  12:          2          2   IO-APIC-edge      i8042
>  14:       8675       8589   IO-APIC-edge      ata_piix
>  15:          0          0   IO-APIC-edge      ata_piix
>  17:          0          1   IO-APIC-fasteoi   uhci_hcd:usb3,
>  ehci_hcd:usb7 18:       2201       2200   IO-APIC-fasteoi  
> uhci_hcd:usb1, 
> uhci_hcd:usb6, pata_marvell
>  19:         43         45   IO-APIC-fasteoi   uhci_hcd:usb5, ohci1394
>  21:       1091       1060   IO-APIC-fasteoi   uhci_hcd:usb2,
>  ata_piix, eth1 23:          2          2   IO-APIC-fasteoi  
> uhci_hcd:usb4, ehci_hcd:usb8 505:       7198       7310  
> PCI-MSI-edge      [EMAIL PROTECTED]:0000:00:02.0 506:         50         53  
> PCI-MSI-edge      kvm_assigned_msi_device 
> NMI:          0          0   Non-maskable interrupts
> LOC:      87300      87267   Local timer interrupts
> RES:      54424      49773   Rescheduling interrupts
> CAL:        494        446   Function call interrupts
> TLB:        651        625   TLB shootdowns
> SPU:          0          0   Spurious interrupts
> ERR:          0
> MIS:          0
> 
> and GuestOS is as follows:
> $ cat /proc/interrupts
>            CPU0
>   0:      42779   IO-APIC-edge      timer
>   1:         76   IO-APIC-edge      i8042
>   2:          0    XT-PIC-XT        cascade
>   4:          1   IO-APIC-edge
>   8:          3   IO-APIC-edge      rtc
>  10:         68   IO-APIC-edge      eth1
>  11:         45   IO-APIC-edge      0, eth0
>  12:        228   IO-APIC-edge      i8042
>  14:       9982   IO-APIC-edge      libata
>  15:        740   IO-APIC-edge      libata
> NMI:          0   Non-maskable interrupts
> LOC:      42638   Local timer interrupts
> RES:          0   Rescheduling interrupts
> CAL:          0   function call interrupts
> TLB:          0   TLB shootdowns
> TRM:          0   Thermal event interrupts
> SPU:          0   Spurious interrupts
> ERR:          0
> MIS:          0
> Note that eth1 is Intel NIC.
> 
> Any idea ?
> 
> Thanks,
> Kazushi

--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to