qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: qtest with multiple driver instances


From: Paolo Bonzini
Subject: Re: qtest with multiple driver instances
Date: Thu, 24 Sep 2020 16:27:53 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.11.0

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.

It was done like this in virtio-9p simply because we only needed synth
fsdevs.

Paolo




reply via email to

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