[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: qtest with multiple driver instances
From: |
Christian Schoenebeck |
Subject: |
Re: qtest with multiple driver instances |
Date: |
Thu, 24 Sep 2020 19:39:07 +0200 |
On Donnerstag, 24. September 2020 16:27:53 CEST Paolo Bonzini wrote:
> On 24/09/20 15:50, Thomas Huth wrote:
> >> Is there any workaround or something that I didn't see? Like letting
> >> qtests
> >> reference a driver instance by PCI address or something?
>
> The simplest way around this limitation is to move the -fsdev option
> from the .before_cmd_line of the virtio-9p-*'s nodes to the .before
> function of the test. You can see an example in qtest/virtio-net-test.c.
Hmm, I keep that in mind. I first try though whether I can make a workaround
by assigning a custom name to .edge_name (QOSGraphEdgeOptions) for each device
instance. I have a feeling this might be simpler.
Thanks Paolo!
Best regards,
Christian Schoenebeck