On Mon, Sep 25, 2017 at 06:45:15PM +0100, Peter Maydell wrote: > On 25 September 2017 at 18:42, Thomas Huth <th...@redhat.com> wrote: > > On 25.09.2017 17:26, Peter Maydell wrote: > >> On 25 September 2017 at 16:19, Thomas Huth <th...@redhat.com> 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