From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stefan Hajnoczi Subject: Re: [qemu] virtio drivers implementation details Date: Tue, 9 Dec 2014 10:46:53 +0000 Message-ID: <20141209104653.GA19681@stefanha-thinkpad.redhat.com> References: <547D8CCE.30408@freescale.com> <547DA1D2.2040106@freescale.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="1yeeQ81UyVL57Vl7" Cc: kvm@vger.kernel.org To: Vasile Catalin-B50542 Return-path: Received: from mail-wi0-f179.google.com ([209.85.212.179]:42971 "EHLO mail-wi0-f179.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755903AbaLIKq5 (ORCPT ); Tue, 9 Dec 2014 05:46:57 -0500 Received: by mail-wi0-f179.google.com with SMTP id ex7so1235185wid.0 for ; Tue, 09 Dec 2014 02:46:56 -0800 (PST) Content-Disposition: inline In-Reply-To: <547DA1D2.2040106@freescale.com> Sender: kvm-owner@vger.kernel.org List-ID: --1yeeQ81UyVL57Vl7 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Tue, Dec 02, 2014 at 01:26:10PM +0200, Vasile Catalin-B50542 wrote: > I'm trying to make a custom virtio driver that mostly interacts with memory. > I've came upon a presentation which shows which files need to be edited on > qemu > and kvm in order to add a new virtio driver. > One of the files in qemu is include/hw/pci/pci.h, > but that was an example specific to virtio pci. > virtio-mmio is better mapped on my situation, but I can't seem to find a > similar header for it. > In fact I can't find anything related to virtio mmio through out the header > files If you are adding a new device type (e.g. printer device) then the code should not depend on the transport (PCI, MMIO, CCW, etc). Can you explain what type of device you are trying to implement? Stefan --1yeeQ81UyVL57Vl7 Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQEcBAEBAgAGBQJUhtMdAAoJEJykq7OBq3PIdVUH/3X/0Rz4P+r0OVLj94xv+ylP zzM3LFsL7GPE9bhnerqzvhviwiXABxWduUBUCWmGVsq3fNx74EkiOSpWkJ5m3tIn hQMaVPl/QhhmqdYeDH2xXiOwIC/HDP/upXoFgFTd1pS7MBb5Qo0OExoHURFFgcp1 Y3lGrfHRGiMLWBm8ULqpGlsIgvSygVAPtKzt2PPP+GA3ycOKuuuX4CbBhFhCmKma U2oauX+jyXbBjEOWQEMEFimmCwXX758qpPTtnTw5N9PtpOFSMczJexadqJqzaYEG BKFVgWF7CdgUvWcIeIxOknO4hv04PvIhEXAJcjNLnf1Fw+58uPKoLect0+zxDBw= =e2aX -----END PGP SIGNATURE----- --1yeeQ81UyVL57Vl7--