From nobody Tue Feb 10 01:15:28 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 216.205.24.124 as permitted sender) client-ip=216.205.24.124; envelope-from=libvir-list-bounces@redhat.com; helo=us-smtp-delivery-124.mimecast.com; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 216.205.24.124 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1628780209; cv=none; d=zohomail.com; s=zohoarc; b=Q2cLdbwJ+KOqiXIfrWo4AjdAeGlj0PINKalS6GAdfQ4aB3Oo2Sk1JSMD+IeJQOGQ/TkFt9GK4YtDepXdhLWfVrzDtdh1sFgwOBYKSxQZxshqCxYmu7BGD0UkEt+MYZLPUK4b5AFO7+Q8VsHSU0JyhX1CYs6yuXoKS1sxaAc+uag= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1628780209; h=Content-Type:Content-Transfer-Encoding:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=TzDJfEuym72vNnuLo6habzrqquGl9l8TnoLuq7xNDAA=; b=Kg78VnwQWDOcU+jLfdigicaCuxHCuQ/tK2c5mvyAuXePlbUKFoTPW/SppxeS2vsiYRB8hgvSYEaRJbSSXthivgwWkFtxiIVlSOlKOpyhTIfcatD16+XZe3Xl+vLCiKtTySDNe/nxlYfsvc167HCPQZkoTi2cjRlUJrM6LWNS4zA= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 216.205.24.124 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass header.from= (p=none dis=none) Return-Path: Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [216.205.24.124]) by mx.zohomail.com with SMTPS id 1628780209230589.0266665330097; Thu, 12 Aug 2021 07:56:49 -0700 (PDT) Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-197-IHUjnI9AO7iit1NvVL5uXg-1; Thu, 12 Aug 2021 10:56:46 -0400 Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.15]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id D87F518C89DD; Thu, 12 Aug 2021 14:56:40 +0000 (UTC) Received: from colo-mx.corp.redhat.com (colo-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.21]) by smtp.corp.redhat.com (Postfix) with ESMTPS id B2F716C8FF; Thu, 12 Aug 2021 14:56:40 +0000 (UTC) Received: from lists01.pubmisc.prod.ext.phx2.redhat.com (lists01.pubmisc.prod.ext.phx2.redhat.com [10.5.19.33]) by colo-mx.corp.redhat.com (Postfix) with ESMTP id 7D1FB4A716; Thu, 12 Aug 2021 14:56:40 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.phx2.redhat.com [10.5.11.23]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id 17CEniX7008562 for ; Thu, 12 Aug 2021 10:49:44 -0400 Received: by smtp.corp.redhat.com (Postfix) id 817FA19D9F; Thu, 12 Aug 2021 14:49:44 +0000 (UTC) Received: from speedmetal.redhat.com (unknown [10.40.208.33]) by smtp.corp.redhat.com (Postfix) with ESMTP id E324119C44 for ; Thu, 12 Aug 2021 14:49:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1628780208; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=TzDJfEuym72vNnuLo6habzrqquGl9l8TnoLuq7xNDAA=; b=T2TsHmQ9ssOTb85hsfOHmOIoVB95QfIfTmil94F7j9wv50oVehN1SrAA6C/faberGYQgvy KtoW/RLyaXrvd0Lfd8cF4Cj4+KHb8BRKu//Z/D2jchTniyN7cAQOWahM1Q58x1OE0em/wJ fv3DQ7PLan+zBO4eKbnFCofJsHh4cvM= X-MC-Unique: IHUjnI9AO7iit1NvVL5uXg-1 From: Peter Krempa To: libvir-list@redhat.com Subject: [PATCH 18/22] qemuxml2argvtest: Remove 'minimal-sandbox' case Date: Thu, 12 Aug 2021 16:49:11 +0200 Message-Id: <543563994f410c8aee4d6012218a3de6c5f94fae.1628778754.git.pkrempa@redhat.com> In-Reply-To: References: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.84 on 10.5.11.23 X-loop: libvir-list@redhat.com X-BeenThere: libvir-list@redhat.com X-Mailman-Version: 2.1.12 Precedence: junk List-Id: Development discussions about the libvirt library & tools List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: libvir-list-bounces@redhat.com Errors-To: libvir-list-bounces@redhat.com X-Scanned-By: MIMEDefang 2.79 on 10.5.11.15 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=libvir-list-bounces@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @redhat.com) X-ZM-MESSAGEID: 1628780210248100007 Content-Type: text/plain; charset="utf-8" All modern qemus support sandboxing so this is covered by other tests. Signed-off-by: Peter Krempa --- tests/qemuxml2argvdata/minimal-sandbox.args | 30 ------------------ tests/qemuxml2argvdata/minimal-sandbox.xml | 34 --------------------- tests/qemuxml2argvtest.c | 2 -- 3 files changed, 66 deletions(-) delete mode 100644 tests/qemuxml2argvdata/minimal-sandbox.args delete mode 100644 tests/qemuxml2argvdata/minimal-sandbox.xml diff --git a/tests/qemuxml2argvdata/minimal-sandbox.args b/tests/qemuxml2ar= gvdata/minimal-sandbox.args deleted file mode 100644 index c0878334cd..0000000000 --- a/tests/qemuxml2argvdata/minimal-sandbox.args +++ /dev/null @@ -1,30 +0,0 @@ -LC_ALL=3DC \ -PATH=3D/bin \ -HOME=3D/tmp/lib/domain--1-QEMUGuest1 \ -USER=3Dtest \ -LOGNAME=3Dtest \ -XDG_DATA_HOME=3D/tmp/lib/domain--1-QEMUGuest1/.local/share \ -XDG_CACHE_HOME=3D/tmp/lib/domain--1-QEMUGuest1/.cache \ -XDG_CONFIG_HOME=3D/tmp/lib/domain--1-QEMUGuest1/.config \ -QEMU_AUDIO_DRV=3Dnone \ -/usr/bin/qemu-system-i386 \ --name QEMUGuest1 \ --S \ --machine pc,accel=3Dtcg,usb=3Doff,dump-guest-core=3Doff \ --m 214 \ --realtime mlock=3Doff \ --smp 1,sockets=3D1,cores=3D1,threads=3D1 \ --uuid c7a5fdbd-edaf-9455-926a-d65c16db1809 \ --display none \ --no-user-config \ --nodefaults \ --chardev socket,id=3Dcharmonitor,path=3D/tmp/lib/domain--1-QEMUGuest1/moni= tor.sock,server=3Don,wait=3Doff \ --mon chardev=3Dcharmonitor,id=3Dmonitor,mode=3Dcontrol \ --rtc base=3Dutc \ --no-shutdown \ --no-acpi \ --usb \ --drive file=3D/dev/HostVG/QEMUGuest1,format=3Draw,if=3Dnone,id=3Ddrive-ide= 0-0-0 \ --device ide-hd,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-0,b= ootindex=3D1 \ --device virtio-balloon-pci,id=3Dballoon0,bus=3Dpci.0,addr=3D0x2 \ --sandbox on,obsolete=3Ddeny,elevateprivileges=3Ddeny,spawn=3Ddeny,resource= control=3Ddeny diff --git a/tests/qemuxml2argvdata/minimal-sandbox.xml b/tests/qemuxml2arg= vdata/minimal-sandbox.xml deleted file mode 100644 index 8701906357..0000000000 --- a/tests/qemuxml2argvdata/minimal-sandbox.xml +++ /dev/null @@ -1,34 +0,0 @@ - - QEMUGuest1 - c7a5fdbd-edaf-9455-926a-d65c16db1809 - A description of the test machine. - - A test of qemu's minimal configuration. - This test also tests the description and title elements. - - 219100 - 219100 - 1 - - hvm - - - - destroy - restart - destroy - - /usr/bin/qemu-system-i386 - - - -
- - - - - - - - - diff --git a/tests/qemuxml2argvtest.c b/tests/qemuxml2argvtest.c index 73d805ead8..6072b95672 100644 --- a/tests/qemuxml2argvtest.c +++ b/tests/qemuxml2argvtest.c @@ -1050,8 +1050,6 @@ mymain(void) g_unsetenv("SDL_AUDIODRIVER"); DO_TEST("minimal", NONE); - DO_TEST("minimal-sandbox", - QEMU_CAPS_SECCOMP_BLACKLIST); DO_TEST_PARSE_ERROR("minimal-no-memory", NONE); DO_TEST_CAPS_LATEST("genid"); --=20 2.31.1