From mboxrd@z Thu Jan 1 00:00:00 1970 From: Anthony Liguori Subject: Re: [PATCH RFC 0/2] qemu-kvm: MSI-X support Date: Mon, 11 May 2009 17:24:25 -0500 Message-ID: <4A08A599.1070708@codemonkey.ws> References: <20090511221350.GA22776@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Christian Borntraeger , Rusty Russell , virtualization@lists.linux-foundation.org, kvm@vger.kernel.org, avi@redhat.com, Carsten Otte To: "Michael S. Tsirkin" Return-path: Received: from mail-qy0-f129.google.com ([209.85.221.129]:43286 "EHLO mail-qy0-f129.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752120AbZEKWY3 (ORCPT ); Mon, 11 May 2009 18:24:29 -0400 Received: by qyk35 with SMTP id 35so2930084qyk.33 for ; Mon, 11 May 2009 15:24:29 -0700 (PDT) In-Reply-To: <20090511221350.GA22776@redhat.com> Sender: kvm-owner@vger.kernel.org List-ID: Michael S. Tsirkin wrote: > Here's a draft MSI-X support patch. Among missing features: > save/load support, and command-line flag to control the > feature. This is on top of qemu-kvm: msi-x is disabled > without kvm interrupt injection support for now. > What's your impression of how much work would be to get this going on top of upstream QEMU? I'm willing to borrow a few cycles to help out here. I'd really like to see this series go in via QEMU if possible. Regards, Anthony Liguori > Michael S. Tsirkin (2): > qemu-kvm: add MSI-X support > qemu-kvm: use common code for assigned msix > > Makefile.target | 2 +- > hw/device-assignment.c | 336 +++++++++++--------------------------------- > hw/device-assignment.h | 8 +- > hw/msix.c | 371 ++++++++++++++++++++++++++++++++++++++++++++++++ > hw/msix.h | 33 +++++ > hw/pci.c | 35 ++++-- > hw/pci.h | 57 +++++++- > hw/virtio-balloon.c | 2 +- > hw/virtio-blk.c | 3 +- > hw/virtio-console.c | 3 +- > hw/virtio-net.c | 3 +- > hw/virtio.c | 167 +++++++++++++++++----- > hw/virtio.h | 4 +- > 13 files changed, 709 insertions(+), 315 deletions(-) > create mode 100644 hw/msix.c > create mode 100644 hw/msix.h >