From: "Michael S. Tsirkin" <mst@redhat.com>
To: Markus Armbruster <armbru@redhat.com>
Cc: pbonzini@redhat.com, arei.gonglei@huawei.com, kraxel@redhat.com,
"Andreas Färber" <afaerber@suse.de>,
qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [PATCH 00/10] pci: Partial conversion to realize
Date: Mon, 19 Jan 2015 23:39:34 +0200 [thread overview]
Message-ID: <20150119213934.GA10427@redhat.com> (raw)
In-Reply-To: <87iog2hiah.fsf@blackfin.pond.sub.org>
On Mon, Jan 19, 2015 at 05:00:38PM +0100, Markus Armbruster wrote:
> Andreas Färber <afaerber@suse.de> writes:
>
> > Hi Markus,
> >
> > Am 19.01.2015 um 15:52 schrieb Markus Armbruster:
> >> I posted this series as RFC back in October, but it depended on
> >> patches then still under review, so I put it aside, and promptly
> >> forgot. Fortunately, rebasing and updating it wasn't much trouble.
> >
> > A question I had brought up for the RFC was that of testing: Did you
> > check which of your conversions are covered by QTest or where we may
> > first need additional test cases to verify this doesn't regress?
> >
> > As a reminder, when converting ISA devices, I accepted patches that were
> > only tested with one of two serial devices contained in a file, promptly
> > breaking the other in some target. I'd like to avoid that for PCI. ;)
>
> I got this after I sent my reply to your original question.
>
> Perhaps we could create a qtest that tries to -device every known PCI
> device: grab them from
>
> { "execute": "qom-list-types", "arguments": { "implements": "pci-device" } }
>
> Some require properties, typically backends. We could introspect with
> device-list-properties and try to supply common ones, like "drive",
> "chardev", "netdev".
>
> Doing it as a big device_add / device_del orgy would be cute, except
> device_del requires guest cooperation, complicating the test. We could
> special-case device_del before guest starts if we wanted.
You can drive the hot-unplug register from qemu monitor
without running guests. Target specific.
Alternatively, e.g. PC completes unplug on reset.
Maybe we should teach all targets to do that, then
you can just reset to complete unplug.
--
MST
next prev parent reply other threads:[~2015-01-19 21:39 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-01-19 14:52 [Qemu-devel] [PATCH 00/10] pci: Partial conversion to realize Markus Armbruster
2015-01-19 14:52 ` [Qemu-devel] [PATCH 01/10] pci: Convert core " Markus Armbruster
2015-01-19 14:52 ` [Qemu-devel] [PATCH 02/10] pci: Permit incremental conversion of device models " Markus Armbruster
2015-01-19 14:52 ` [Qemu-devel] [PATCH 03/10] pci: Trivial device model conversions " Markus Armbruster
2015-01-19 14:52 ` [Qemu-devel] [PATCH 04/10] pcnet: pcnet_common_init() always returns 0, change to void Markus Armbruster
2015-01-19 14:52 ` [Qemu-devel] [PATCH 05/10] pcnet: Convert to realize Markus Armbruster
2015-01-19 14:52 ` [Qemu-devel] [PATCH 06/10] serial-pci: " Markus Armbruster
2015-01-19 14:52 ` [Qemu-devel] [PATCH 07/10] ide/ich: " Markus Armbruster
2015-01-19 14:52 ` [Qemu-devel] [PATCH 08/10] cirrus-vga: " Markus Armbruster
2015-01-19 14:52 ` [Qemu-devel] [PATCH 09/10] qxl: " Markus Armbruster
2015-01-19 14:52 ` [Qemu-devel] [PATCH 10/10] pci-assign: " Markus Armbruster
2015-01-19 15:09 ` [Qemu-devel] [PATCH 00/10] pci: Partial conversion " Andreas Färber
2015-01-19 16:00 ` Markus Armbruster
2015-01-19 21:39 ` Michael S. Tsirkin [this message]
2015-02-04 9:34 ` Markus Armbruster
2015-02-04 9:40 ` Michael S. Tsirkin
2015-02-04 9:43 ` Gonglei
2015-02-04 10:30 ` Markus Armbruster
2015-02-04 10:37 ` Gonglei
2015-02-05 12:07 ` Michael S. Tsirkin
2015-02-05 16:07 ` Markus Armbruster
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=20150119213934.GA10427@redhat.com \
--to=mst@redhat.com \
--cc=afaerber@suse.de \
--cc=arei.gonglei@huawei.com \
--cc=armbru@redhat.com \
--cc=kraxel@redhat.com \
--cc=pbonzini@redhat.com \
--cc=qemu-devel@nongnu.org \
/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).