qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH] virtio-blk: add msi support.


From: Gerd Hoffmann
Subject: Re: [Qemu-devel] [PATCH] virtio-blk: add msi support.
Date: Tue, 08 Sep 2009 08:39:26 +0200
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.1) Gecko/20090814 Fedora/3.0-2.6.b3.fc11 Lightning/1.0pre Thunderbird/3.0b3

On 09/07/09 19:57, Mark McLoughlin wrote:
On Wed, 2009-08-12 at 12:47 +0200, Gerd Hoffmann wrote:
Signed-off-by: Gerd Hoffmann<address@hidden>
---
  hw/pc.c         |    4 ++++
  hw/virtio-pci.c |    8 ++++++--
  2 files changed, 10 insertions(+), 2 deletions(-)

diff --git a/hw/pc.c b/hw/pc.c
index cc6e7e8..cccb865 100644
--- a/hw/pc.c
+++ b/hw/pc.c
@@ -1487,6 +1487,10 @@ static QEMUMachine pc_machine_v0_10 = {
              .driver   = "virtio-net-pci",
              .property = "vectors",
              .value    = stringify(0),
+        },{
+            .driver   = "virtio-blk-pci",
+            .property = "vectors",
+            .value    = stringify(0),

This means that MSI is enabled for virtio-blk with the pc-0.11 machine
type.

Shouldn't we add a pc-0.12 machine type and disable MSI for pc-0.11?

Either that or apply the virtio-blk msi patch to the stable-0.11 branch.

cheers,
  Gerd





reply via email to

[Prev in Thread] Current Thread [Next in Thread]