Received: from lists1p.gnu.org (lists1p.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-ECDSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 14DFB606EE99 for ; Thu, 5 Nov 2026 15:16:44 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key, unprotected) header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256 header.s=mimecast20190719 header.b=akfrsQO0; dkim=pass (2048-bit key, unprotected) header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256 header.s=google header.b=tWagIYWT Received: from localhost ([::1] helo=lists1p.gnu.org) by lists1p.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1xOzCg-0001lb-Da; Thu, 05 Nov 2026 10:16:38 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists1p.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1xOzCZ-0001kd-6f for qemu-devel@nongnu.org; Thu, 05 Nov 2026 10:16:31 -0500 Received: from us-smtp-delivery-124.mimecast.com ([170.10.133.124]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1xOzCT-00088P-MZ for qemu-devel@nongnu.org; Thu, 05 Nov 2026 10:16:28 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1793891784; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:autocrypt:autocrypt; bh=O4F9Wfq5la36+9krYFJO2wttsxdtoPqpGJVjyYMXlsk=; b=akfrsQO0xsMD24XSKx4eFfYCm2xZJztin2faogUazSpfLcCjbqgQVImfZWjjWfn5Pxxt5F XxneZyQZckOFZ5u4PSLI3zhPAKdYMvsNfWDuHSA8HH2yLxuRhKM7OTO8PbWMOpdM6VAI1m I0lePmdRUeZ1dlHouLZGctJq75aHp3w= Received: from mail-wr1-f70.google.com (mail-wr1-f70.google.com [209.85.221.70]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-88-u5i5zx65PNuOduYWYFMLZQ-1; Thu, 05 Nov 2026 10:16:16 -0500 X-MC-Unique: u5i5zx65PNuOduYWYFMLZQ-1 X-Mimecast-MFC-AGG-ID: u5i5zx65PNuOduYWYFMLZQ_1793891775 Received: by mail-wr1-f70.google.com with SMTP id ffacd0b85a97d-490ab0a20ebso1268245f8f.1 for ; Thu, 05 Nov 2026 07:16:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=google; t=1793891775; x=1794496575; darn=nongnu.org; h=content-transfer-encoding:content-type:in-reply-to:autocrypt :content-language:from:references:cc:to:subject:user-agent :mime-version:date:message-id:from:to:cc:subject:date:message-id :reply-to:content-type; bh=O4F9Wfq5la36+9krYFJO2wttsxdtoPqpGJVjyYMXlsk=; b=tWagIYWTUajuqBoIa94foNHY2uxgCFJkf+RKT0n6V/w1oLBK1TiYi/mrmeKawmYXRw I4t92lOHvoSJBG3pVvn6ypBMvNc107C2UcD3oseeLvpamRHK11g/oWnygMTpLjV/riIR +r8Y25wWcMw3NnFmmHI5grxT6XuY++Bh5UPICBGkqiO+x2dBa8sPh+Pn9vaw+IdM7OGw amB2VIbrT/YEkZpsL+78V2uc4vLWriDnf3NdOyVIWKMzv7ZtkQPccmmgNvweVmjxDOHH HtSawR8Ao24Jw3vdWMI5RrA5QHW2Kw3WXA/lDbOqiopkqS4iAzV8WPQAWUoyIgfOYE5+ +Ypw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1793891775; x=1794496575; h=content-transfer-encoding:content-type:in-reply-to:autocrypt :content-language:from:references:cc:to:subject:user-agent :mime-version:date:message-id:x-gm-gg:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to:content-type; bh=O4F9Wfq5la36+9krYFJO2wttsxdtoPqpGJVjyYMXlsk=; b=1LCCwkB0DM4P+ht9UeSc59FndOvqHYh43nL/y2Zgodqd+cyVMnpF5cakX1t7DGwwJG 266ZO9TCgAaJMWwi/XSYVNmBHTmO/SlR4EwTmXZCM2aqOTgYEuyCU/O+hcMm6hMrAw5I 8gyu8cbftchGWYoCjH02dAOX/TzpL9CpB3kgY0JrEEivDDSsvuxKS/I9B8xgS+pz8jrT Ncu81QwlfRYwoK7pCmYLWcDCTq7lyLm29W5WxzmI83YXIy0jDu6lNyt18a0y7a8LzOVe cnzSJjNH6Lp4c/76LG1ZVNlIGt7bCXa881wUpuZ0KZMfDM8PfRMNjuAHyJMm/lw41s44 8Jsg== X-Gm-Message-State: APuU4Z9qw1aOsoogsUt/XpVC7h0kiWTaJvJ6EoYexxy8s2W6aR3uAXwF 1Sx8Ai86m+TS5vfCzpk8PDSoVOO9zuGHbDhxbsooth4Z6mPXj5c/t7Io8JKtZB4dkUeUoLWxVc+ CRNtqMVHjyzoyVVnPOHTLCPm6eOHiNYPqRfKGEOnwskdLNKvmiXptO64W X-Gm-Gg: AYBFou31Mrx4Aps14Vto00JfkRBjbuEWkGYia67+lxwNClB8FEvkBlRDb+2TIjrESIi i6Naw/E+lN/sBSeUK7F1tSU8D8piqJ3OH+tm2iGSo+N8LpaOecVaJJN1tQVas0maDjYjVRtu+fd DSiyKnwG62pUFLRJWYzY0XPBae03EuEgUpqW9zbcQRFjWhSTvxb7/fJhQoUaopAZQCFwTY/dq3H +PwE1qzZyXDvtJHfa8+iMCr9xbQP9q66Zo3E6zLyzfyYhuThrsE6VBj/fQCkv9myuDK2TwFvPDz FU43W3McWmcP+ygYlKrUhz3sq89S+ShpshnxoELqrHZxeDs44DTguhmuMZahwWNmM9wiOkDOlr8 QZPczN5Vn6061NpJwLdLA+QWKjF59hfRI8mOpLtZvt66uidmxlj2fKdeT9fsGpk3XOaSSmEHbj3 cC/JrC1oKlUg== X-Received: by 2002:a5d:5e8d:0:b0:491:286f:8e6d with SMTP id ffacd0b85a97d-491286f90aamr4766807f8f.30.1793891774985; Thu, 05 Nov 2026 07:16:14 -0800 (PST) X-Received: by 2002:a5d:5e8d:0:b0:491:286f:8e6d with SMTP id ffacd0b85a97d-491286f90aamr4766760f8f.30.1793891774565; Thu, 05 Nov 2026 07:16:14 -0800 (PST) Received: from ?IPV6:2a01:e0a:1292:d530:6448:8ad:27f1:8b49? ([2a01:e0a:1292:d530:6448:8ad:27f1:8b49]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-48fed45d71dsm10463861f8f.36.2026.11.05.07.16.13 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 05 Nov 2026 07:16:13 -0800 (PST) Message-ID: <20ac1135-044f-4fe0-bddc-abe1c6f53c64@redhat.com> Date: Thu, 5 Nov 2026 16:16:12 +0100 X-Archived-By: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [RFC PATCH] tests/functional/ppc64: add pseries virtio-blk hotplug test To: =?UTF-8?Q?Alex_Benn=C3=A9e?= , Chinmay Rath Cc: qemu-devel@nongnu.org, qemu-ppc@nongnu.org, Harsh Prateek Bora , Anushree Mathur , Thomas Huth , Nicholas Piggin , Amit Machhiwal , Miles Glenn , Aditya Gupta References: <20261103141938.41147-1-anushree.mathur@linux.ibm.com> <87pkwj73he.fsf@draig.linaro.org> From: =?UTF-8?Q?C=C3=A9dric_Le_Goater?= Content-Language: en-US, fr Autocrypt: addr=clg@redhat.com; keydata= xsFNBFu8o3UBEADP+oJVJaWm5vzZa/iLgpBAuzxSmNYhURZH+guITvSySk30YWfLYGBWQgeo 8NzNXBY3cH7JX3/a0jzmhDc0U61qFxVgrPqs1PQOjp7yRSFuDAnjtRqNvWkvlnRWLFq4+U5t yzYe4SFMjFb6Oc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b9VVdk6RQOCTfo6wHhEqgjbXQGlaxKHoXywEQBi8eULbeMQf5l4+tHJWBxswQ93IHBQjK yKyNr4FXseUI5O20XVNYDJZUrhA4yn0e/Af0IX25d94HXQ5sMTWr1qlSK6Zu79lbH3R57w9j hQm9emQEp785ui3A5U2Lqp6nWYWXz0eUZ0Tad2zC71Gg9VazU9MXyWn749s0nXbVLcLS0yop s302Gf3ZmtgfXTX/W+M25hiVRRKCH88yr6it+OMJBUndQVAA/fE9hYom6t/zqA248j0QAV/p LHH3hSirE1mv+7jpQnhMvatrwUpeXrOiEw1nHzWCqOJUZ4SY+HmGFW0YirWV2mYKoaGO2YBU wYF7O9TI3GEEgRMBIRT98fHa0NPwtlTktVISl73LpgVscdW8yg9Gc82oe8FzU1uHjU8b10lU XOMHpqDDEV9//r4ZhkKZ9C4O+YZcTFu+mvAY3GlqivBNkmYsHYSlFsbxc37E1HpTEaSWsGfA HQoPn9qrDJgsgcbBVc1gkUT6hnxShKPp4PlsZVMNjvPAnr5TEBgHkk54HQRhhwcYv1T2QumQ izDiU6iOrUzBThaMhZO3i927SG2DwWDVzZltKrCMD1aMPvb3NU8FOYRhNmIFR3fcalYr+9gD uVKe8BVz4atMOoktmt0GWTOC8P4= In-Reply-To: <87pkwj73he.fsf@draig.linaro.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=170.10.133.124; envelope-from=clg@redhat.com; helo=us-smtp-delivery-124.mimecast.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=unavailable autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: qemu development List-Archive: List-Post: List-Help: List-Subscribe: , Sender: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org X-Spam-Status: No, score=-17.3 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_CR_TRAILER,MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING, SPF_HELO_PASS,SPF_PASS,USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=4.0.1 X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-26) on aws-us-west-2-korg-listserv-alma10-1 On 11/5/26 15:33, Alex Bennée wrote: > Chinmay Rath writes: > >> On 11/3/26 19:49, Anushree Mathur wrote: >>> Add a functional test that hot-plugs and hot-unplugs a virtio-blk-pci >>> disk on the pseries machine. It runs with TCG, and also with KVM if >>> KVM is enabled. >>> >>> On pseries a PCI device added through QMP is only enumerated by the >>> guest once rtas_errd (ppc64-diag) handles the RTAS hotplug event and >>> >>> runs drmgr (powerpc-utils). Neither is in the buildroot image used by >>> the other pseries tests, so the test uses rootfs-hotplug.ext2: the same >>> image with those two tools added. >>> >>> The test boots with a second PHB (phb1) present so that the guest >>> registers its slots, adds a null-co backend, hot-plugs virtio-blk-pci >>> into phb1.0 and waits for /dev/vda, then unplugs it and waits for both >>> the QMP DEVICE_DELETED event and /dev/vda to go away. The root drive is >>> used with snapshot=on so the cached asset is not modified by the guest. >>> >>> Signed-off-by: Anushree Mathur >>> --- >>> Hi all, >>> >>> This adds a functional test for virtio-blk hotplug on the pseries >>> machine, with a TCG and a KVM variant. >>> >>> The test boots pseries with a second PCI host bridge (phb1) present at >>> boot, hot-plugs a virtio-blk-pci device into it over QMP, and waits for >>> /dev/vda to show up in the guest. It then unplugs the device and waits >>> for the DEVICE_DELETED event and for /dev/vda to disappear again. >>> >>> On pseries the guest does not enumerate a hot-plugged PCI device by >>> itself: rtas_errd (ppc64-diag) has to handle the RTAS hotplug event and >>> run drmgr (powerpc-utils). The buildroot image the other pseries tests >>> use has neither, so the test needs a rootfs that includes them. >>> >>> I am sending this as an RFC because that rootfs is not available yet. >>> It is a new file, rootfs-hotplug.ext2, which I proposed for the >>> qemu-ppc-boot repository next to the existing pseries images: >>> >>> https://github.com/legoater/qemu-ppc-boot/pull/5 > > I can't see the contents of this PR I closed it. > but I was wondering to the tuxrun kernels have what you need? I was using buildroot at the time : https://github.com/legoater/buildroot/commits/qemu-ppc/ The QEMU support is great, PPC included. Latest should be 7.2. C.