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 14:51:41 -0300
User-agent: Mutt/1.8.3 (2017-05-23)

On Mon, Sep 25, 2017 at 06:45:15PM +0100, Peter Maydell wrote:
> On 25 September 2017 at 18:42, Thomas Huth <address@hidden> wrote:
> > On 25.09.2017 17:26, Peter Maydell wrote:
> >> On 25 September 2017 at 16:19, Thomas Huth <address@hidden> wrote:
> >>> Not sure whether this works for the virtio-xxx-device devices,
> >>> though, since they are marked as user_creatable = true currently...
> >>
> >> That's deliberate -- for the arm boards with virtio-mmio
> >> the board creates a bunch of virtio-mmio transports and the
> >> virtio-foo-device can be user created to plug into those.
> >
> > Yes, I know ... I'm just wondering whether the virtio-xxx-device devices
> > should be non-user_creatable on the non-ARM targets, since they
> > apparently can't be used with "-device" there...?
> 
> 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).

-- 
Eduardo



reply via email to

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