From mboxrd@z Thu Jan 1 00:00:00 1970 From: James Hogan Subject: Re: [PATCH 11/15] MIPS: paravirt: Add pci controller for virtio Date: Wed, 21 May 2014 12:42:52 +0100 Message-ID: <537C913C.1060903@imgtec.com> References: <1400597236-11352-1-git-send-email-andreas.herrmann@caviumnetworks.com> <1400597236-11352-12-git-send-email-andreas.herrmann@caviumnetworks.com> Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7bit Cc: David Daney , Ralf Baechle , , David Daney To: Andreas Herrmann , Return-path: Received: from mailapp01.imgtec.com ([195.59.15.196]:38156 "EHLO mailapp01.imgtec.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750861AbaEULqP (ORCPT ); Wed, 21 May 2014 07:46:15 -0400 In-Reply-To: <1400597236-11352-12-git-send-email-andreas.herrmann@caviumnetworks.com> Sender: kvm-owner@vger.kernel.org List-ID: On 20/05/14 15:47, Andreas Herrmann wrote: > From: David Daney > > Signed-off-by: David Daney > Signed-off-by: Andreas Herrmann > --- > arch/mips/Kconfig | 1 + > arch/mips/paravirt/Kconfig | 6 ++ > arch/mips/pci/Makefile | 2 +- > arch/mips/pci/pci-virtio-guest.c | 140 ++++++++++++++++++++++++++++++++++++++ > 4 files changed, 148 insertions(+), 1 deletion(-) > create mode 100644 arch/mips/paravirt/Kconfig > create mode 100644 arch/mips/pci/pci-virtio-guest.c If I understand correctly this just drives a simple PCI controller for a PCI bus that a virtio device happens to be usually plugged in to, yeh? It sounds like it would make sense to take advantage of Will Deacon's recent efforts to make a generic pci controller driver for this sort of thing which specifically mentions emulation by kvmtool? Is it effectively the same PCI controller that is being emulated? http://lists.infradead.org/pipermail/linux-arm-kernel/2014-February/thread.html#233491 http://lists.infradead.org/pipermail/linux-arm-kernel/2014-February/233491.html http://lists.infradead.org/pipermail/linux-arm-kernel/2014-February/233490.html Cheers James