From nobody Thu May 16 02:21:29 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=1643397597; cv=none; d=zohomail.com; s=zohoarc; b=PJZL7PFu4LuBD1g60IkLXU9oqSX8wN4QFW0BT2S60BDaR8zkRz3Z5Zgltjp0zxKVNgX03bw2mbqzcehUx8Mm1VeqhTjmksXBbX7+ylu4qSBIZiSQYnvhe1uHnW7wcFcxD9k1GIJDcTIY3CQO1zCWLE4liKZTitCjXo4Pdsb5Mxo= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1643397597; 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=Bw+JRLi3u8GmCKGBYZo2UwtKk5wmRm0NTwFpFeL2jHU=; b=FtGmimfK/vmz1GksnfhkQczKOU4hCNhPiTKMbiJCHdj62pbF9yqjbe4eLampVz728ZB6t5tEmE/C5Uawy6IqrDOd7maNqRJUEmDvcDFzpRQcxKEawqV2lm1KkOJFEQPkqysxsL2SLsMmpPdB6iJ/95Jbwsw62bvaZx0Ii5cqK2Q= 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 164339759771059.4556585214774; Fri, 28 Jan 2022 11:19:57 -0800 (PST) Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-144-X666Mh4ENHeO3eXktj1zRg-1; Fri, 28 Jan 2022 14:19:53 -0500 Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.phx2.redhat.com [10.5.11.16]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 1065083DD23; Fri, 28 Jan 2022 19:19:48 +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 ABF365C232; Fri, 28 Jan 2022 19:19:47 +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 5B7B44BB7C; Fri, 28 Jan 2022 19:19:47 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.phx2.redhat.com [10.5.11.22]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id 20SJJj2E009003 for ; Fri, 28 Jan 2022 14:19:45 -0500 Received: by smtp.corp.redhat.com (Postfix) id D92321002388; Fri, 28 Jan 2022 19:19:45 +0000 (UTC) Received: from hjs.redhat.com (unknown [10.43.2.85]) by smtp.corp.redhat.com (Postfix) with ESMTP id 611BF10023AE for ; Fri, 28 Jan 2022 19:19:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1643397597; 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=Bw+JRLi3u8GmCKGBYZo2UwtKk5wmRm0NTwFpFeL2jHU=; b=RN28GE1Rnv3Ip0AiOSmPx8XoCNYp3boDc+YL39Q8e5/kjajZh7V4lkQkdXW4ZKVmtfnmNK L2U8cuZIJU37CpVBhLcGpt3ubUEWtGf8som6EOAX/AIWVAogDuQo7CwLDiJIBnkH7H24Ti SU6Alcz/38wrqFh42X0g0LbQmpt048I= X-MC-Unique: X666Mh4ENHeO3eXktj1zRg-1 From: =?UTF-8?q?J=C3=A1n=20Tomko?= To: libvir-list@redhat.com Subject: [libvirt PATCH 1/4] libxl: assume LIBXL_HAVE_DEVICE_BACKEND_DOMNAME Date: Fri, 28 Jan 2022 20:19:10 +0100 Message-Id: In-Reply-To: References: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.84 on 10.5.11.22 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.16 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-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @redhat.com) X-ZM-MESSAGEID: 1643398500772100001 Introduced in 4.3.0 by xen commit: commit ef496b81f0336f09968a318e7f81151dd4f5a0cc libxl: postpone backend name resolution Signed-off-by: J=C3=A1n Tomko Reviewed-by: Michal Privoznik --- src/libxl/libxl_conf.c | 20 ++------------------ 1 file changed, 2 insertions(+), 18 deletions(-) diff --git a/src/libxl/libxl_conf.c b/src/libxl/libxl_conf.c index 5d87b999f2..f062f8e958 100644 --- a/src/libxl/libxl_conf.c +++ b/src/libxl/libxl_conf.c @@ -1191,16 +1191,8 @@ libxlMakeDisk(virDomainDiskDef *l_disk, libxl_device= _disk *x_disk) return -1; } =20 - if (l_disk->domain_name) { -#ifdef LIBXL_HAVE_DEVICE_BACKEND_DOMNAME + if (l_disk->domain_name) x_disk->backend_domname =3D g_strdup(l_disk->domain_name); -#else - virReportError(VIR_ERR_XML_DETAIL, "%s", - _("this version of libxenlight does not " - "support backend domain name")); - return -1; -#endif - } =20 return 0; } @@ -1408,16 +1400,8 @@ libxlMakeNic(virDomainDef *def, goto cleanup; } =20 - if (l_nic->domain_name) { -#ifdef LIBXL_HAVE_DEVICE_BACKEND_DOMNAME + if (l_nic->domain_name) x_nic->backend_domname =3D g_strdup(l_nic->domain_name); -#else - virReportError(VIR_ERR_XML_DETAIL, "%s", - _("this version of libxenlight does not " - "support backend domain name")); - goto cleanup; -#endif - } =20 /* * Set bandwidth. --=20 2.34.1 From nobody Thu May 16 02:21:29 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=1643397598; cv=none; d=zohomail.com; s=zohoarc; b=adLw2fTk1TMNl4LuPqq3XVnAlPVit3KZufkZnUEhMDzr7/AapX278a8zsR8J83p1i3qGhSljuQwb/rWNtxToEmWwwRN/fmAI4tKYgNASVcn49p14lMyCv+6pJqMeGvtGW73Nj+tiMHq4Csoy5NzDfINRgZtNFfLS/aG+jNVNWsg= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1643397598; 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=wJTNFm1weOwLdbT4GOzQ5odbw9A9VSB3Wf3ixKW3GAI=; b=N2TiHV/Hh2nnnEgfYTaK7kOa0ULTMy44pDRQF+UHEjO5HDih72oD9lB4kdTunkYt0zE/q6SSK/5AKug/GgQf/isEtdEWYKADa3eo+e8BfDs8HFVwum8xrnL4ELrSrTB5gUyuDE5uqQ8sXZVxta/85Bu93NMPBJngWFnogrC7WnY= 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 1643397598821234.92058522685204; Fri, 28 Jan 2022 11:19:58 -0800 (PST) Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-553-7LHisCWRPbi3DZcFSVOZWg-1; Fri, 28 Jan 2022 14:19:54 -0500 Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.phx2.redhat.com [10.5.11.16]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 75247185302E; Fri, 28 Jan 2022 19:19:49 +0000 (UTC) Received: from colo-mx.corp.redhat.com (colo-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.20]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 2667A1E6; Fri, 28 Jan 2022 19:19:49 +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 E6D771809CBA; Fri, 28 Jan 2022 19:19:48 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.phx2.redhat.com [10.5.11.22]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id 20SJJkIw009009 for ; Fri, 28 Jan 2022 14:19:46 -0500 Received: by smtp.corp.redhat.com (Postfix) id AAEE210023AE; Fri, 28 Jan 2022 19:19:46 +0000 (UTC) Received: from hjs.redhat.com (unknown [10.43.2.85]) by smtp.corp.redhat.com (Postfix) with ESMTP id 3394B1002388 for ; Fri, 28 Jan 2022 19:19:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1643397598; 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=wJTNFm1weOwLdbT4GOzQ5odbw9A9VSB3Wf3ixKW3GAI=; b=BjOHGB7WIBMQgI7oK/XaxzwV+E2ILaKO0QxKTAENZ4UIoKHPzuW6Uq3fauDpOUnYnie3Sy oYPdJblSA39ngviOQ+P3VtsHOPA/g0snU2tI7RFhFoapGCMRyF8Ppy8mnmD9ykkZTrPK8y G2OhKw0kV7IzQ4qXh1zk3qaXue4vFPY= X-MC-Unique: 7LHisCWRPbi3DZcFSVOZWg-1 From: =?UTF-8?q?J=C3=A1n=20Tomko?= To: libvir-list@redhat.com Subject: [libvirt PATCH 2/4] libxl: remove LIBXL_ATTR_UNUSED Date: Fri, 28 Jan 2022 20:19:11 +0100 Message-Id: <9288c2b80eec98119883c125faa10cf7e846deec.1643397379.git.jtomko@redhat.com> In-Reply-To: References: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.84 on 10.5.11.22 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.16 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-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @redhat.com) X-ZM-MESSAGEID: 1643397601017100001 Unused as of: commit 446d09149802677546449fa2dd253f3ebce377ac libxl: pass driver config to libxlMakeDomBuildInfo All other usage of LIBXL_HAVE_DEVICE_CHANNEL was removed by: commit e58004d70aceb560fba64803e566b8be3ef93940 Xen: Remove unneeded LIBXL_HAVE_* ifdefs Signed-off-by: J=C3=A1n Tomko Reviewed-by: Michal Privoznik --- src/libxl/libxl_conf.h | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/libxl/libxl_conf.h b/src/libxl/libxl_conf.h index f833daf669..b74fedc2c8 100644 --- a/src/libxl/libxl_conf.h +++ b/src/libxl/libxl_conf.h @@ -220,11 +220,6 @@ libxlMakeUSB(virDomainHostdevDef *hostdev, libxl_devic= e_usbdev *usbdev); virDomainXMLOption * libxlCreateXMLConf(libxlDriverPrivate *driver); =20 -#ifdef LIBXL_HAVE_DEVICE_CHANNEL -# define LIBXL_ATTR_UNUSED -#else -# define LIBXL_ATTR_UNUSED G_GNUC_UNUSED -#endif int libxlBuildDomainConfig(virPortAllocatorRange *graphicsports, virDomainDef *def, --=20 2.34.1 From nobody Thu May 16 02:21:29 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=1643397603; cv=none; d=zohomail.com; s=zohoarc; b=YYUOCOC4wHIhPWKco4TOenkbN8847fbXq40dBk453GQce7Dm/QM4veQP5OPgwlhg88d5GGO/t9Atc2VolBOwkz9cuqhTMt74XfiEofN++XY60G7ms35LoHb/vomrYpOspi27anjo1h0hU+wQnFBooOGlLsFGC6HhW3rwbpeqHeI= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1643397603; 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=PyJJLt8AdMHMMNcSxxmKve0dCHpnstQfOLPlnShg1SQ=; b=GyIG+ShlySENEFDQbDonetSjsuPvwvLk1Hjy7C2qHgtLTaQl7WdjmQHClRz2hxW3V+cImGZufZVMx7KF7IrOi/iIWOsGuf9fXMc1FiTz0Qol3fCyYkqDjmEwOAFc1YlOkQnnQZOjwvRDicVksehovVpwCYLJ6nRvWhDH9R2E+ss= 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 1643397603089421.8436030082121; Fri, 28 Jan 2022 11:20:03 -0800 (PST) Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-64-pH16Kt4ZP2SsRQYq57QKdw-1; Fri, 28 Jan 2022 14:19:59 -0500 Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.phx2.redhat.com [10.5.11.16]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 8981A83DD3E; Fri, 28 Jan 2022 19:19:52 +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 238344DA21; Fri, 28 Jan 2022 19:19:52 +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 DEC1A4CA9B; Fri, 28 Jan 2022 19:19:51 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.phx2.redhat.com [10.5.11.22]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id 20SJJlQk009016 for ; Fri, 28 Jan 2022 14:19:47 -0500 Received: by smtp.corp.redhat.com (Postfix) id 7C33010023AE; Fri, 28 Jan 2022 19:19:47 +0000 (UTC) Received: from hjs.redhat.com (unknown [10.43.2.85]) by smtp.corp.redhat.com (Postfix) with ESMTP id 052E71002388 for ; Fri, 28 Jan 2022 19:19:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1643397602; 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=PyJJLt8AdMHMMNcSxxmKve0dCHpnstQfOLPlnShg1SQ=; b=JD8wkW6E7ccmbJyuRa1XUGiJ2oYF9JM3EZMOR1OWiXShocR/PNKwZNDBfjr2y2dYpD6kvD d0127sLHt0SVvGvpdv8/Gkkw6FE6AcruddzTc5ZBBoFcd2k9cKphLpIa3ydw9q97JomejG 6Iv4XWXSZUrJXp2QyZ7KbbO2GYNOngI= X-MC-Unique: pH16Kt4ZP2SsRQYq57QKdw-1 From: =?UTF-8?q?J=C3=A1n=20Tomko?= To: libvir-list@redhat.com Subject: [libvirt PATCH 3/4] libxl: assume LIBXL_HAVE_SRM_V2 Date: Fri, 28 Jan 2022 20:19:12 +0100 Message-Id: <6aeddeae2ec524426e94e19d1160f33e3313953f.1643397379.git.jtomko@redhat.com> In-Reply-To: References: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.84 on 10.5.11.22 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.16 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-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @redhat.com) X-ZM-MESSAGEID: 1643397605693100001 Introduced in Xen 4.6.0 by: commit 3a9ace0147d48af49ffd34628f9510f248f2f588 tools/libxc+libxl+xl: Restore v2 streams Signed-off-by: J=C3=A1n Tomko Reviewed-by: Michal Privoznik --- src/libxl/libxl_conf.h | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/libxl/libxl_conf.h b/src/libxl/libxl_conf.h index b74fedc2c8..e0662d90b3 100644 --- a/src/libxl/libxl_conf.h +++ b/src/libxl/libxl_conf.h @@ -149,11 +149,7 @@ struct _libxlDriverPrivate { }; =20 #define LIBXL_SAVE_MAGIC "libvirt-xml\n \0 \r" -#ifdef LIBXL_HAVE_SRM_V2 -# define LIBXL_SAVE_VERSION 2 -#else -# define LIBXL_SAVE_VERSION 1 -#endif +#define LIBXL_SAVE_VERSION 2 =20 typedef struct _libxlSavefileHeader libxlSavefileHeader; struct _libxlSavefileHeader { --=20 2.34.1 From nobody Thu May 16 02:21:29 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=1643397597; cv=none; d=zohomail.com; s=zohoarc; b=bRoqhVCZh8ZQXtH3F5kznm4uZhrb3qkdWURjyV4lydm/WAgaUMA9H+iuvsBEcBKUZa3MF4qLzr68dV1M0JcWtJTugOekN8VYrW7lfjA3vmZ6AihnylY0vuGFhg/0gg8CElNx6gxMshe4G4GfJdTaKFOzr1JQ918vi7G+8WkpCbk= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1643397597; 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=YaFZghLSXIU7IBLOoS5n9Cu+MfxolNps/hK3rvgNBZg=; b=JqgcPvAvEpoQz7SjO08mE5C/yATUNYKS2dpE6pLurt/UH84ZUkAAebr+ZwPNfoRkIo3Jc7H23HRY5+h/tKESYxKVNU7X1MEwbNAjGBkn4XaRrJrWmpteQfphL933QT282/U762UQYp0ulmVamTAQpNYUpI++8+Dr4+tMr9/u+Gc= 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 1643397597287687.6076828150024; Fri, 28 Jan 2022 11:19:57 -0800 (PST) Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-152-ZiOqeTmRMYyZrdv-Iep9ZQ-1; Fri, 28 Jan 2022 14:19:54 -0500 Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.14]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id B30AE8143E5; Fri, 28 Jan 2022 19:19:49 +0000 (UTC) Received: from colo-mx.corp.redhat.com (colo-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.20]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 89F315DF21; Fri, 28 Jan 2022 19:19:49 +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 314271802E34; Fri, 28 Jan 2022 19:19:49 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.phx2.redhat.com [10.5.11.22]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id 20SJJmLo009023 for ; Fri, 28 Jan 2022 14:19:48 -0500 Received: by smtp.corp.redhat.com (Postfix) id 4D84210023AE; Fri, 28 Jan 2022 19:19:48 +0000 (UTC) Received: from hjs.redhat.com (unknown [10.43.2.85]) by smtp.corp.redhat.com (Postfix) with ESMTP id CAA8C1002388 for ; Fri, 28 Jan 2022 19:19:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1643397596; 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=YaFZghLSXIU7IBLOoS5n9Cu+MfxolNps/hK3rvgNBZg=; b=CPyec6u9aK3Lwa+8Xm3PHFjg6BpxpBZmp+W4lD0hfmbkSWe6Tus+a6rZB2csiJ7YtJWHcA lYonrKOUIpBJhQ9PeNyJzhNdBK8NRlAJTFhlDoq40r5UZWAlz7L48BKcL82XDTrN45ahaW ffm7elwWv0CddeSBuUpQxAKXeNtUM6E= X-MC-Unique: ZiOqeTmRMYyZrdv-Iep9ZQ-1 From: =?UTF-8?q?J=C3=A1n=20Tomko?= To: libvir-list@redhat.com Subject: [libvirt PATCH 4/4] libxl: assume LIBXL_HAVE_PVUSB Date: Fri, 28 Jan 2022 20:19:13 +0100 Message-Id: In-Reply-To: References: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.84 on 10.5.11.22 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.14 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-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @redhat.com) X-ZM-MESSAGEID: 1643397598576100001 Introduced in Xen 4.7 by commit: commit bf7628f087b212052a0e9f024044b2790c33f820 libxl: add pvusb API Signed-off-by: J=C3=A1n Tomko Reviewed-by: Michal Privoznik --- src/libxl/libxl_conf.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/libxl/libxl_conf.h b/src/libxl/libxl_conf.h index e0662d90b3..b74f455b69 100644 --- a/src/libxl/libxl_conf.h +++ b/src/libxl/libxl_conf.h @@ -204,14 +204,12 @@ libxlMakeVfb(virPortAllocatorRange *graphicsports, int libxlMakePCI(virDomainHostdevDef *hostdev, libxl_device_pci *pcidev); =20 -#ifdef LIBXL_HAVE_PVUSB int libxlMakeUSBController(virDomainControllerDef *controller, libxl_device_usbctrl *usbctrl); =20 int libxlMakeUSB(virDomainHostdevDef *hostdev, libxl_device_usbdev *usbdev); -#endif =20 virDomainXMLOption * libxlCreateXMLConf(libxlDriverPrivate *driver); --=20 2.34.1