From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:56516) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1diLN9-0007CS-DM for qemu-devel@nongnu.org; Thu, 17 Aug 2017 10:02:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1diLN3-0005Wm-Ot for qemu-devel@nongnu.org; Thu, 17 Aug 2017 10:02:07 -0400 Received: from mx1.redhat.com ([209.132.183.28]:37872) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1diLN3-0005U6-GH for qemu-devel@nongnu.org; Thu, 17 Aug 2017 10:02:01 -0400 Date: Thu, 17 Aug 2017 16:01:32 +0200 From: Cornelia Huck Message-ID: <20170817160132.1aba91e5.cohuck@redhat.com> In-Reply-To: References: <1502951113-4246-1-git-send-email-thuth@redhat.com> <1502951113-4246-4-git-send-email-thuth@redhat.com> <20170817105305.3d845d40.cohuck@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH 3/6] tests: Enable the drive_del test also on s390x List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Thomas Huth Cc: David Hildenbrand , qemu-devel@nongnu.org, Christian Borntraeger , Claudio Imbrenda , Dong Jia Shi , Eric Farman , Fan Zhang , Farhan Ali , Fei Li , Halil Pasic , Janosch Frank , Jason J Herne , Jing Liu , Pierre Morel , QingFeng Hao , Xiao Feng Ren , Yang Chen , Yi Min Zhao , Marc Mari , Cleber Rosa , Michael S Tsirkin On Thu, 17 Aug 2017 15:54:38 +0200 Thomas Huth wrote: > On 17.08.2017 11:46, David Hildenbrand wrote: > > On 17.08.2017 10:53, Cornelia Huck wrote: > >> On Thu, 17 Aug 2017 08:25:10 +0200 > >> Thomas Huth wrote: > >> > >>> By using the "virtio-xxx" device name aliases instead of the > >>> "virtio-xxx-pci" names, we can use this test on s390x, too, > >>> to check that adding and deleting also works fine with the > >>> virtio-ccw bus. > >> > >> I don't think we should leak the aliasing stuff into tests, but rather > >> specify the transport on a per-architecture basis explicitly. (We might > >> want to test virtio-pci on s390x in the future as well -- in addition > >> to virtio-ccw, not replacing it.) > > > > I also remember that using virtio aliases should be avoided (e.g. we are > > not supposed to introduce new ones) > > Hmm, maybe the right way is to use virtio-xxx-device and hook it up to > the preferred virtio bus of the current architecture? ... I'll ponder > about that a little bit ... What about defining a per-arch default virtio transport and pointing to that? This still allows us to explicitly test virtio-pci on s390x later. > > >> > >> Also, the same question as for the previous patch: Is this supposed to > >> test virtio explicitly, or do we just want a reasonable device? > > I think this just needs a reasonable device - but since we've got the > same problem with the virtio tests later in this series again, it's > maybe best to fix this here in the same way, I guess. Yes. virtio will probably fill the 'reasonable device' place quite well, in any case.