qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH] qdev: Fix regression in "pci_add ... storage if


From: Gerd Hoffmann
Subject: Re: [Qemu-devel] [PATCH] qdev: Fix regression in "pci_add ... storage if=virtio, ..."
Date: Tue, 16 Jun 2009 22:58:37 +0200
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1b3pre) Gecko/20090513 Fedora/3.0-2.3.beta2.fc11 Lightning/1.0pre Thunderbird/3.0b2

  Hi,

      case IF_VIRTIO:
          opaque = pci_create_simple(pci_bus, -1, "virtio-blk-pci");
-        qdev_init(opaque);
          break;

Yep, pci_create_simple() calls qdev_init() already.
Patch looks good.

cheers,
  Gerd




reply via email to

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