From nobody Sun May 19 14:14:28 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 170.10.133.124 as permitted sender) client-ip=170.10.133.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 170.10.133.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=1690531952; cv=none; d=zohomail.com; s=zohoarc; b=g+qWdaCbz/3yKMS+PlOGrFQ5afkfEkyp2hFubjZQATujTokGuA7dX6Cnrx7l/KGHgWYxZVhpFSuotpx9O9BhyKd5bs000oyNPTqF1j53cTXn91i3Sbsl5Jnu2wCeB/2bkFQyeRsM6jfMFwbXYn+WXon8Tdu/ggjBNMNBfKXyGJA= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1690531952; h=Content-Type:Content-Transfer-Encoding:Cc: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=ORJwVuoClQ0TyqVZ1o5rLOtr8Yk8j6d3agF2qCyOIa0=; b=BzHKthde9Lud2I/F+nG2tibh4taVHZb6F4/feAHtkEMEwTwGoGu1ODIHKuTRrU3oUxsNl+iUHtowHWp7FkwZrigDFP/+G6iPfy9AtR7YU9Jfpj0QMZaXViSagAzVTN59agY+iNFjg89mxW50G2a3WLewLlNfET0UAk+5q4TZ+S0= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 170.10.133.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 [170.10.133.124]) by mx.zohomail.com with SMTPS id 1690531952543231.55825040468812; Fri, 28 Jul 2023 01:12:32 -0700 (PDT) Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-670-lAdLOdvcOfOxqIAgDpqyrw-1; Fri, 28 Jul 2023 04:12:27 -0400 Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.rdu2.redhat.com [10.11.54.1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 279738D1394; Fri, 28 Jul 2023 08:12:24 +0000 (UTC) Received: from mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (unknown [10.30.29.100]) by smtp.corp.redhat.com (Postfix) with ESMTP id 7C0B540C206F; Fri, 28 Jul 2023 08:12:23 +0000 (UTC) Received: from mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (localhost [IPv6:::1]) by mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (Postfix) with ESMTP id 5529D1946A6C; Fri, 28 Jul 2023 08:12:23 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.rdu2.redhat.com [10.11.54.3]) by mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (Postfix) with ESMTP id 0CEFF1946A6C for ; Fri, 28 Jul 2023 08:12:22 +0000 (UTC) Received: by smtp.corp.redhat.com (Postfix) id F1101111F3B6; Fri, 28 Jul 2023 08:12:21 +0000 (UTC) Received: from localhost.localdomain (unknown [10.72.112.127]) by smtp.corp.redhat.com (Postfix) with ESMTP id A5F291121330; Fri, 28 Jul 2023 08:12:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1690531951; h=from:from:sender:sender: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:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=ORJwVuoClQ0TyqVZ1o5rLOtr8Yk8j6d3agF2qCyOIa0=; b=WG0xdxTCWkumVeJkEo75CIBJtLSgJX8ITVyvAHf505h9GbAbWSHqIZ/7q/edcOjGk4dsQn SblC+ul0STNVLAZse76he4LH9/k4QGbwuFY4S0UiuJ+K29z4G03mRMzJs9up37chge6DrB xrIdrBKbAUEpssviTIrChCzn1UgVzrQ= X-MC-Unique: lAdLOdvcOfOxqIAgDpqyrw-1 X-Original-To: libvir-list@listman.corp.redhat.com From: Han Han To: libvir-list@redhat.com Subject: [PATCH 1/3] docs: formatdomain: Mention the QEMU version for igb Date: Fri, 28 Jul 2023 16:09:36 +0800 Message-ID: <20230728081215.271355-2-hhan@redhat.com> In-Reply-To: <20230728081215.271355-1-hhan@redhat.com> References: <20230728081215.271355-1-hhan@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.1 on 10.11.54.3 X-BeenThere: libvir-list@redhat.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Development discussions about the libvirt library & tools List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Han Han Errors-To: libvir-list-bounces@redhat.com Sender: "libvir-list" X-Scanned-By: MIMEDefang 3.1 on 10.11.54.1 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: 1690531953188100001 Content-Type: text/plain; charset="utf-8"; x-default="true" Signed-off-by: Han Han --- docs/formatdomain.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/formatdomain.rst b/docs/formatdomain.rst index cd9cb02bf8..97ab367cff 100644 --- a/docs/formatdomain.rst +++ b/docs/formatdomain.rst @@ -5446,7 +5446,7 @@ Typical values for QEMU and KVM include: ne2k_isa i82= 551 i82557b i82559er ne2k_pci pcnet rtl8139 e1000 virtio. :since:`Since 5.2.0` , ``virtio-transitional`` and ``virtio-non-transitional`` values are support= ed. See `Virtio transitional devices`_ for more details. -:since:`Since 9.3.0` igb is also supported. +:since:`Since 9.3.0(QEMU 8.0)` igb is also supported. =20 Setting NIC driver-specific options ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ --=20 2.41.0 From nobody Sun May 19 14:14:28 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 170.10.133.124 as permitted sender) client-ip=170.10.133.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 170.10.133.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=1690531952; cv=none; d=zohomail.com; s=zohoarc; b=HTOk82Ao5ng8OwUcusJn/hgY7R1lvm248DqO+agV4LgPPybb9nTBwXNzgRRAKeGXEo1VbQpIhcREH/te1TkwOzk8/WwSko55lHz1f9ndIDWnXNYQOUE0eSGXEHKssjr/bOGoBfejwn3+ldGI8DEyULZZ4VpY8YvVxJX7rAbnjzY= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1690531952; h=Content-Type:Content-Transfer-Encoding:Cc: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=l6rR5xf+8tuA/vUBjFfD+C7JBIOuWlHOjQGDDb8Cbcc=; b=jjDQGyPs54yy2G3Ebit5hmSypCc6h2TuFm637d4+OPmKTL37kazuCXXVAPjry0C1zl/iTaz03Q4wcvtGq7yzkUMOLOauxP+tL3qplJ6n8nWD/3H7WiqK3zoI3EVUnlZceGQ98AaYhl2nBN9owa0LnpRfIfOl7BdYfiGITHHrQ1k= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 170.10.133.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 [170.10.133.124]) by mx.zohomail.com with SMTPS id 1690531952323885.3012051425944; Fri, 28 Jul 2023 01:12:32 -0700 (PDT) Received: from mimecast-mx02.redhat.com (66.187.233.73 [66.187.233.73]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-106-9EhoageOMNKgUkSCPnUkuA-1; Fri, 28 Jul 2023 04:12:28 -0400 Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.rdu2.redhat.com [10.11.54.5]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 9AE312808E6A; Fri, 28 Jul 2023 08:12:25 +0000 (UTC) Received: from mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (unknown [10.30.29.100]) by smtp.corp.redhat.com (Postfix) with ESMTP id 86CCAF77D3; Fri, 28 Jul 2023 08:12:25 +0000 (UTC) Received: from mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (localhost [IPv6:::1]) by mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (Postfix) with ESMTP id 471D21946A6A; Fri, 28 Jul 2023 08:12:25 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.rdu2.redhat.com [10.11.54.3]) by mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (Postfix) with ESMTP id 00A211946586 for ; Fri, 28 Jul 2023 08:12:24 +0000 (UTC) Received: by smtp.corp.redhat.com (Postfix) id E494A111F3BB; Fri, 28 Jul 2023 08:12:23 +0000 (UTC) Received: from localhost.localdomain (unknown [10.72.112.127]) by smtp.corp.redhat.com (Postfix) with ESMTP id 99D3C111F3B6; Fri, 28 Jul 2023 08:12:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1690531951; h=from:from:sender:sender: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:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=l6rR5xf+8tuA/vUBjFfD+C7JBIOuWlHOjQGDDb8Cbcc=; b=HeAlh1lhChknk20NDLTYGWkYKVynhit+8vpXiTEz5IOfv0K0XqNOcif3F1QrBIY8xYSvNd NgEzqXxllbuPpNOhpyC+OFdpr+Q7kddXP4G/Yy3RqgcOeSqGU7h34D0BUBl9ROkv0Pmb3u 9FGLcPT4Sbdtupog1yYCHaKxUzqSWJw= X-MC-Unique: 9EhoageOMNKgUkSCPnUkuA-1 X-Original-To: libvir-list@listman.corp.redhat.com From: Han Han To: libvir-list@redhat.com Subject: [PATCH 2/3] qemu: capabilities: Add the capability for the device igb Date: Fri, 28 Jul 2023 16:09:37 +0800 Message-ID: <20230728081215.271355-3-hhan@redhat.com> In-Reply-To: <20230728081215.271355-1-hhan@redhat.com> References: <20230728081215.271355-1-hhan@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.1 on 10.11.54.3 X-BeenThere: libvir-list@redhat.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Development discussions about the libvirt library & tools List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Han Han Errors-To: libvir-list-bounces@redhat.com Sender: "libvir-list" X-Scanned-By: MIMEDefang 3.1 on 10.11.54.5 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: 1690531953727100003 Content-Type: text/plain; charset="utf-8"; x-default="true" Signed-off-by: Han Han --- src/qemu/qemu_capabilities.c | 2 ++ src/qemu/qemu_capabilities.h | 1 + tests/qemucapabilitiesdata/caps_8.0.0_x86_64.xml | 1 + tests/qemucapabilitiesdata/caps_8.1.0_x86_64.xml | 1 + 4 files changed, 5 insertions(+) diff --git a/src/qemu/qemu_capabilities.c b/src/qemu/qemu_capabilities.c index f80bdb579d..eb1dc44142 100644 --- a/src/qemu/qemu_capabilities.c +++ b/src/qemu/qemu_capabilities.c @@ -697,6 +697,7 @@ VIR_ENUM_IMPL(virQEMUCaps, =20 /* 450 */ "run-with.async-teardown", /* QEMU_CAPS_RUN_WITH_ASYNC_TEARD= OWN */ + "igb", /* QEMU_CAPS_IGB */ ); =20 =20 @@ -1385,6 +1386,7 @@ struct virQEMUCapsStringFlags virQEMUCapsObjectTypes[= ] =3D { { "virtio-crypto-device", QEMU_CAPS_DEVICE_VIRTIO_CRYPTO }, { "cryptodev-backend-lkcf", QEMU_CAPS_OBJECT_CRYPTO_LKCF }, { "pvpanic-pci", QEMU_CAPS_DEVICE_PANIC_PCI }, + { "igb", QEMU_CAPS_IGB }, }; =20 =20 diff --git a/src/qemu/qemu_capabilities.h b/src/qemu/qemu_capabilities.h index c72f73a161..1afd90a610 100644 --- a/src/qemu/qemu_capabilities.h +++ b/src/qemu/qemu_capabilities.h @@ -676,6 +676,7 @@ typedef enum { /* virQEMUCapsFlags grouping marker for = syntax-check */ =20 /* 450 */ QEMU_CAPS_RUN_WITH_ASYNC_TEARDOWN, /* asynchronous teardown -run-with = async-teardown=3Don|off */ + QEMU_CAPS_IGB, /* -device igb */ =20 QEMU_CAPS_LAST /* this must always be the last item */ } virQEMUCapsFlags; diff --git a/tests/qemucapabilitiesdata/caps_8.0.0_x86_64.xml b/tests/qemuc= apabilitiesdata/caps_8.0.0_x86_64.xml index c43c209328..72a75d8701 100644 --- a/tests/qemucapabilitiesdata/caps_8.0.0_x86_64.xml +++ b/tests/qemucapabilitiesdata/caps_8.0.0_x86_64.xml @@ -203,6 +203,7 @@ + 8000000 43100244 v8.0.0 diff --git a/tests/qemucapabilitiesdata/caps_8.1.0_x86_64.xml b/tests/qemuc= apabilitiesdata/caps_8.1.0_x86_64.xml index e656a2024a..a1faa6491e 100644 --- a/tests/qemucapabilitiesdata/caps_8.1.0_x86_64.xml +++ b/tests/qemucapabilitiesdata/caps_8.1.0_x86_64.xml @@ -204,6 +204,7 @@ + 8000050 43100245 v8.0.0-2835-g361d539735 --=20 2.41.0 From nobody Sun May 19 14:14:28 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 170.10.129.124 as permitted sender) client-ip=170.10.129.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 170.10.129.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=1690531954; cv=none; d=zohomail.com; s=zohoarc; b=J9NVLTDhQWPC5Mg2X4A+FCmGx1ZaADmDe0VjMftlHyFudraAJ357VTndhnusdDNx+8BKpMNVt/KJ5jGcz2UGb5GZlUsBxsPirK7vWhGXAqjrQmrHdAlwAgU0u7YUfIAhD3hSilAKTu2+b0MW3OrPQOZTBVoJWfCGb8z0zZwOfP4= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1690531954; h=Content-Type:Content-Transfer-Encoding:Cc: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=0NoCTv9ND8NyRd8Imv0EfVHVbZLpOJjkamK2GjzJjso=; b=mByz093sNeyVfwwHa76rgWre38GZnCkQBvKsSLjnFQ9uin9DJrBKQUIzi14FHAAg4SPVcQ5XK88aoNHQ/B4aU/Mtvyug+EwShBKbEi2wIxtjty9OZMypFeGIiWHB2wTjfuKXgy1jIVGagV7ua67dUki2qXSK6nzFdF6SAh8bG9w= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 170.10.129.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 [170.10.129.124]) by mx.zohomail.com with SMTPS id 16905319540171004.2156671595948; Fri, 28 Jul 2023 01:12:34 -0700 (PDT) Received: from mimecast-mx02.redhat.com (66.187.233.73 [66.187.233.73]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-633-I1I1v965PiiBlHsi4hGKZQ-1; Fri, 28 Jul 2023 04:12:29 -0400 Received: from smtp.corp.redhat.com (int-mx10.intmail.prod.int.rdu2.redhat.com [10.11.54.10]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id CE0FD3C10142; Fri, 28 Jul 2023 08:12:26 +0000 (UTC) Received: from mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (unknown [10.30.29.100]) by smtp.corp.redhat.com (Postfix) with ESMTP id B629D46A3A7; Fri, 28 Jul 2023 08:12:26 +0000 (UTC) Received: from mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (localhost [IPv6:::1]) by mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (Postfix) with ESMTP id 7AA721946A6A; Fri, 28 Jul 2023 08:12:26 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.rdu2.redhat.com [10.11.54.3]) by mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (Postfix) with ESMTP id E91D81946586 for ; Fri, 28 Jul 2023 08:12:25 +0000 (UTC) Received: by smtp.corp.redhat.com (Postfix) id D7D9B111F3BB; Fri, 28 Jul 2023 08:12:25 +0000 (UTC) Received: from localhost.localdomain (unknown [10.72.112.127]) by smtp.corp.redhat.com (Postfix) with ESMTP id 8D8591120AC7; Fri, 28 Jul 2023 08:12:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1690531952; h=from:from:sender:sender: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:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=0NoCTv9ND8NyRd8Imv0EfVHVbZLpOJjkamK2GjzJjso=; b=fVIKeMlxl6C+Hfo3sy8i8+2BaVtcAuw1Q9zjN4CP3gelIe8R1eLJ2fnhwvZ3wbgc42sDHv hzyBmJ9p+oZVcwxEMa7JGHWZYAbsbbXZOBfTCP6MSsjdXqpKCT+JVHqO1efvuOZLsehdEc Q8foFlAfF2LpVB7Dq6RdFPY9CSkzFAg= X-MC-Unique: I1I1v965PiiBlHsi4hGKZQ-1 X-Original-To: libvir-list@listman.corp.redhat.com From: Han Han To: libvir-list@redhat.com Subject: [PATCH 3/3] qemu/qemu_validate: Add capability check for the model igb Date: Fri, 28 Jul 2023 16:09:38 +0800 Message-ID: <20230728081215.271355-4-hhan@redhat.com> In-Reply-To: <20230728081215.271355-1-hhan@redhat.com> References: <20230728081215.271355-1-hhan@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.1 on 10.11.54.3 X-BeenThere: libvir-list@redhat.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Development discussions about the libvirt library & tools List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Han Han Errors-To: libvir-list-bounces@redhat.com Sender: "libvir-list" X-Scanned-By: MIMEDefang 3.1 on 10.11.54.10 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: 1690531956085100001 Content-Type: text/plain; charset="utf-8"; x-default="true" Signed-off-by: Han Han --- src/qemu/qemu_validate.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/qemu/qemu_validate.c b/src/qemu/qemu_validate.c index d5c2b2cd44..a5eb96c9b5 100644 --- a/src/qemu/qemu_validate.c +++ b/src/qemu/qemu_validate.c @@ -1858,6 +1858,13 @@ qemuValidateDomainDeviceDefNetwork(const virDomainNe= tDef *net, } } =20 + if (net->model =3D=3D VIR_DOMAIN_NET_MODEL_IGB && + !virQEMUCapsGet(qemuCaps, QEMU_CAPS_IGB)) { + virReportError(VIR_ERR_CONFIG_UNSUPPORTED, "%s", + _("interface model igb is not supported with this Q= EMU binary")); + return -1; + } + if (net->mtu && !qemuDomainNetSupportsMTU(net->type, net->backend.type)) { virReportError(VIR_ERR_CONFIG_UNSUPPORTED, --=20 2.41.0