From: Cornelia Huck <cohuck@redhat.com>
To: Thomas Huth <thuth@redhat.com>
Cc: quintela@redhat.com, lvivier@redhat.com, qemu-devel@nongnu.org,
peterx@redhat.com, dgilbert@redhat.com
Subject: Re: [Qemu-devel] [RFC 00/14] More patches to disable stuff
Date: Thu, 19 Jul 2018 13:45:22 +0200 [thread overview]
Message-ID: <20180719134522.5de53f8f.cohuck@redhat.com> (raw)
In-Reply-To: <2767a97a-006d-46cd-ce16-7cfedc93ef29@redhat.com>
On Thu, 19 Jul 2018 13:06:59 +0200
Thomas Huth <thuth@redhat.com> wrote:
> On 17.07.2018 19:00, Juan Quintela wrote:
> > So far so good, but look at virtio-pci.c:
> >
> > static void virtio_rng_pci_realize(VirtIOPCIProxy *vpci_dev, Error **errp)
> > {
> > ...
> > }
> >
> > static void virtio_rng_pci_class_init(ObjectClass *klass, void *data)
> > {
> > ....
> > }
> >
> > static void virtio_rng_initfn(Object *obj)
> > {
> > ...
> > }
> >
> > static const TypeInfo virtio_rng_pci_info = {
> > .name = TYPE_VIRTIO_RNG_PCI,
> > .parent = TYPE_VIRTIO_PCI,
> > .instance_size = sizeof(VirtIORngPCI),
> > .instance_init = virtio_rng_initfn,
> > .class_init = virtio_rng_pci_class_init,
> > };
> >
> > static void virtio_pci_register_types(void)
> > {
> > type_register_static(&virtio_rng_pci_info);
> > ...
> > }
> >
> > See, we have defined the device "virtio-rng-pci", but there is no
> > implementation. WHen I run device-intronspection-test on that qemu with
> > CONFIG_VIRTIO_RNG, it fails to run. If we can agree that something is
> > wrong, then we can search for a solution.
>
> I agree with you that the current situation with virtio-pci. c is bad. I
> think we should split it up into individual files instead
> (virtio-pci-rng.c etc.).
We should then do the same thing for virtio-ccw as well.
next prev parent reply other threads:[~2018-07-19 11:45 UTC|newest]
Thread overview: 25+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-07-17 12:04 [Qemu-devel] [RFC 00/14] More patches to disable stuff Juan Quintela
2018-07-17 12:04 ` [Qemu-devel] [PATCH 01/14] check: Only test ipmi when it is compiled in Juan Quintela
2018-07-17 12:04 ` [Qemu-devel] [PATCH 02/14] check: Only test megasas " Juan Quintela
2018-07-17 12:04 ` [Qemu-devel] [PATCH 03/14] check: Only test lsi " Juan Quintela
2018-07-17 12:04 ` [Qemu-devel] [PATCH 04/14] check: Only test esp " Juan Quintela
2018-07-17 12:04 ` [Qemu-devel] [PATCH 05/14] check: Only test sga " Juan Quintela
2018-07-17 12:04 ` [Qemu-devel] [PATCH 06/14] check: Only test usb smartcard " Juan Quintela
2018-07-17 12:04 ` [Qemu-devel] [PATCH 07/14] check: Only test usb storage " Juan Quintela
2018-07-17 12:04 ` [Qemu-devel] [PATCH 08/14] check: Only test nvdim_acpi " Juan Quintela
2018-07-17 12:04 ` [Qemu-devel] [PATCH 09/14] check: Only test virtio-balloon " Juan Quintela
2018-07-17 12:19 ` Cornelia Huck
2018-07-17 17:19 ` Juan Quintela
2018-07-17 12:04 ` [Qemu-devel] [PATCH 10/14] check: Only test virtio-serial " Juan Quintela
2018-07-17 12:04 ` [Qemu-devel] [PATCH 11/14] check: Only test virtio-rng " Juan Quintela
2018-07-17 12:04 ` [Qemu-devel] [PATCH 12/14] check: Only test virtio-gpu " Juan Quintela
2018-07-17 12:04 ` [Qemu-devel] [PATCH 13/14] check: Only test virtio-input " Juan Quintela
2018-07-17 12:04 ` [Qemu-devel] [PATCH 14/14] check: Only test virtio-scsi " Juan Quintela
2018-07-17 12:18 ` [Qemu-devel] [RFC 00/14] More patches to disable stuff Thomas Huth
2018-07-17 17:00 ` Juan Quintela
2018-07-19 11:06 ` Thomas Huth
2018-07-19 11:45 ` Cornelia Huck [this message]
2018-07-19 11:58 ` Thomas Huth
2018-07-19 12:04 ` Cornelia Huck
2018-07-17 13:38 ` Paolo Bonzini
2018-07-17 17:01 ` Juan Quintela
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20180719134522.5de53f8f.cohuck@redhat.com \
--to=cohuck@redhat.com \
--cc=dgilbert@redhat.com \
--cc=lvivier@redhat.com \
--cc=peterx@redhat.com \
--cc=qemu-devel@nongnu.org \
--cc=quintela@redhat.com \
--cc=thuth@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).