[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [RFC v2 04/12] hw/qdev-properties.c: Add "transport" pr
From: |
Paolo Bonzini |
Subject: |
Re: [Qemu-devel] [RFC v2 04/12] hw/qdev-properties.c: Add "transport" property. |
Date: |
Mon, 17 Sep 2012 14:42:08 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:15.0) Gecko/20120828 Thunderbird/15.0 |
Il 17/09/2012 12:00, Evgeny Voevodin ha scritto:
> Virtio back-end devices can be plugged into both transports:
> VIRTIO_PCI and VIRTIO_MMIO. In order to choose the desired
> transport we have a property "transport" in every back-end
> state struct. By specifying -device virtio-blk-pci user chooses
> VIRTIO_PCI transport and "transport" property is set automatically.
> But in order to provide full control to user we need to have
> "transport" property available to be set through command line:
>
> -device virtio-pci,id=virtio-pci.0
> -device virtio-blk,transport=virtio-pci.0,...
What's the difference between this and "bus"? i.e.
-device virtio-pci,id=virtio-pci-0
-device virtio-blk,bus=virtio-pci-0.0,...
Paolo
- [Qemu-devel] [RFC v2 00/12] Virtio-mmio refactoring., Evgeny Voevodin, 2012/09/17
- [Qemu-devel] [RFC v2 08/12] hw/virtio-balloon.c: Add virtio-balloon device., Evgeny Voevodin, 2012/09/17
- [Qemu-devel] [RFC v2 05/12] hw/pci.c: Make pci_add_option_rom global visible, Evgeny Voevodin, 2012/09/17
- [Qemu-devel] [RFC v2 02/12] virtio: Support transports which can specify the vring alignment, Evgeny Voevodin, 2012/09/17
- [Qemu-devel] [RFC v2 03/12] Virtio: Add transport bindings., Evgeny Voevodin, 2012/09/17
- [Qemu-devel] [RFC v2 01/12] virtio: Add support for guest setting of queue size, Evgeny Voevodin, 2012/09/17
- [Qemu-devel] [RFC v2 07/12] hw/virtio-serial-bus.c: Add virtio-serial device., Evgeny Voevodin, 2012/09/17
- [Qemu-devel] [RFC v2 06/12] Add MMIO based virtio transport, Evgeny Voevodin, 2012/09/17
- [Qemu-devel] [RFC v2 04/12] hw/qdev-properties.c: Add "transport" property., Evgeny Voevodin, 2012/09/17
- Re: [Qemu-devel] [RFC v2 04/12] hw/qdev-properties.c: Add "transport" property.,
Paolo Bonzini <=
- [Qemu-devel] [RFC v2 12/12] hw/exynos4210.c: Create two virtio-mmio transport instances., Evgeny Voevodin, 2012/09/17
- [Qemu-devel] [RFC v2 09/12] hw/virtio-net.c: Add virtio-net device., Evgeny Voevodin, 2012/09/17
- [Qemu-devel] [RFC v2 10/12] hw/virtio-blk.c: Add virtio-blk device., Evgeny Voevodin, 2012/09/17
- [Qemu-devel] [RFC v2 11/12] hw/virtio-pci-new.c: Add VirtIOPCI device., Evgeny Voevodin, 2012/09/17
- Re: [Qemu-devel] [RFC v2 00/12] Virtio-mmio refactoring., KONRAD Frédéric, 2012/09/27