From mboxrd@z Thu Jan 1 00:00:00 1970 From: Pavel Davydov Subject: Re: Virtio IRQ problem Date: Mon, 13 Jul 2015 10:41:42 -0600 Message-ID: <55A3EA46.7040009@hp.com> References: <55A09CCC.9080306@hp.com> <20150712233151.GA28998@ad.nay.redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Cc: kvm@vger.kernel.org, Marco Vinicio Caamano Castro To: Fam Zheng Return-path: Received: from g4t3426.houston.hp.com ([15.201.208.54]:40281 "EHLO g4t3426.houston.hp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751149AbbGMQok (ORCPT ); Mon, 13 Jul 2015 12:44:40 -0400 In-Reply-To: <20150712233151.GA28998@ad.nay.redhat.com> Sender: kvm-owner@vger.kernel.org List-ID: The proprietary system doesn't have a virtio driver, that is the problem. What are the steps that Linux performs to work correctly with virtio devices? Thank you, Pavel On 07/12/2015 05:31 PM, Fam Zheng wrote: > On Fri, 07/10 22:34, Pavel Davydov wrote: >> Hello, >> >> I've got the following problem with KVM: >> >> I'm running a proprietary OS under KVM, the OS is neither Linux/Unix, nor >> Windows, and I don't get any IRQs from Virtio device. The Virtio device in >> the system I'm running is a PCI Ethernet device. The device is detected >> correctly, the IRQ line is also identified, its matches with the IRQ line >> number retrieved by running lspci command when Linux is run instead of the >> proprietary system. >> >> When Linux is run on exactly the same virtual machine configuration (with >> the Virtio device), the Virtio device is detected and works correctly, there >> is traffic between the host and the guest. > Linux does more than detection, you need to have drivers running in the guest > for virtio devices. > > Does your proprietary system have virtio device drivers? > > Fam > >> When the only change in the configuration is that the type of the virtual >> network interface is changed from Virtio to E1000, in both OSes: the >> proprietary OS and Linux, the virtual network interface works correctly. >> >> The question is: what steps is Virtio driver to perform to enable the IRQs? >> (Obviously, Linux driver for Virtio performs these steps, the IRQs are >> generated under Linux VM). >> >> Any hint would be appreciated. >> >> Thank you, >> Pavel >> -- >> 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