qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH v2] qdev: Mark devices as non-hotpluggable by de


From: Eduardo Habkost
Subject: Re: [Qemu-devel] [PATCH v2] qdev: Mark devices as non-hotpluggable by default
Date: Mon, 25 Sep 2017 15:20:31 -0300
User-agent: Mutt/1.8.3 (2017-05-23)

On Mon, Sep 25, 2017 at 07:02:06PM +0100, Peter Maydell wrote:
> On 25 September 2017 at 18:51, Eduardo Habkost <address@hidden> wrote:
> > On Mon, Sep 25, 2017 at 06:45:15PM +0100, Peter Maydell wrote:
> >> You should be able to on the command line for x86 do something
> >> like -device virtio-pci,... -device virtio-foo-device,...
> >> to manually create the pci transport and the backend.
> >
> > virtio-pci is abstract, so this is not possible.  (The same
> > applies to virtio-ccw-device).
> 
> Did I use the wrong device name? I meant the transport
> layer device (which virtio-pci-blk creates along with
> virtio-blk-device internally), not the abstract device
> that's a base class for the pci devices.

AFAIK, virtio-pci/virtio-pci-blk itself is the transport layer
device.  Internally, it creates two objects: a virtio-pci-bus
(which is a 1-device bus, not creatable using -device), and a
virtio-blk-device attached to that bus.

-- 
Eduardo



reply via email to

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