From nobody Mon Feb 9 09:07:43 2026 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=1628009254; cv=none; d=zohomail.com; s=zohoarc; b=l7wRCmPeO5Jcl4E4AjmzvgxD2LjSG/4b4GgREpfCcqVsxtgaJOo7QJveRmOmwiiN0r/1OWFtThOQDffOXPaHuQLz7Y2wr35dTnHH8VdHdIdrHo9Dl5tMYuKfafkKgP0U7o3Q6tQ+rN/GeJMMWu/ZTM0ZDrhxyMUgZ5kKU7U/IO8= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1628009254; 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=2ayOtp3XiHWeswVtkzfAaHWxzIijRmfFyTW3zCib0bI=; b=Kq8qYTkQ/EETcLIwMNNKFdtMukjzUiq6SpuTNwY04ELIXk5SdHn+bL8QKCjCtZ3gKlqhgn/ZEjK6dIEvtwq7KctY8u1nWHAuhihsQZ/kejrxcHNGg82nmkD8HwQajNRndiuXx3jN7Pjyp7NX1xDMuOWttkTpC1uBY3FI6+1Esbo= 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 1628009254563882.1058124625619; Tue, 3 Aug 2021 09:47:34 -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-188-MoWZKXGzNsqLM9g5_-_Irg-1; Tue, 03 Aug 2021 12:47:18 -0400 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 EFAF31853036; Tue, 3 Aug 2021 16:47:13 +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 A986A1383C; Tue, 3 Aug 2021 16:47:13 +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 7820C4A700; Tue, 3 Aug 2021 16:47:13 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.14]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id 173CWnwd022508 for ; Tue, 3 Aug 2021 08:32:49 -0400 Received: by smtp.corp.redhat.com (Postfix) id 5530313AD3; Tue, 3 Aug 2021 12:32:49 +0000 (UTC) Received: from localhost.localdomain (unknown [10.40.192.146]) by smtp.corp.redhat.com (Postfix) with ESMTP id C693E752A2 for ; Tue, 3 Aug 2021 12:32:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1628009253; 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=2ayOtp3XiHWeswVtkzfAaHWxzIijRmfFyTW3zCib0bI=; b=Gr0qiI0aZdsU99AJr0YWuGBfShzhWNq/usedzEGL45cYFx5peRe6b/ThKrxIc3+80jtYsr X7oK2aUxzNKZmIkDp7tyEAEjoU+miTv7vEONRN+x7RffuIEgetnFag+ecKJ7zs7s5qNiAZ guGbBkFDFdcpwfxqHcQMx+oKwZLg2sM= X-MC-Unique: MoWZKXGzNsqLM9g5_-_Irg-1 From: Michal Privoznik To: libvir-list@redhat.com Subject: [PATCH 1/7] vmx: Fill virtualHW.version to ESX version mapping Date: Tue, 3 Aug 2021 14:32:25 +0200 Message-Id: <6d1b7be896a2b96847855c6b83321e678389aa6b.1627993626.git.mprivozn@redhat.com> In-Reply-To: References: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.14 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-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @redhat.com) X-ZM-MESSAGEID: 1628009256115100004 Content-Type: text/plain; charset="utf-8" At the beginning of vmx.c we have a comment that maps virtualHW.version field onto ESX version. However, it wasn't updated in a while. Fill it in using the following kbase article: https://kb.vmware.com/s/article/1003746 Signed-off-by: Michal Privoznik --- src/vmx/vmx.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/vmx/vmx.c b/src/vmx/vmx.c index 04eabff18a..c3c00a5c7e 100644 --- a/src/vmx/vmx.c +++ b/src/vmx/vmx.c @@ -48,6 +48,10 @@ domain-xml <=3D> vmx virtualHW.version =3D "8" = # essential for ESX 5.0 virtualHW.version =3D "9" = # essential for ESX 5.1 virtualHW.version =3D "10" = # essential for ESX 5.5 + virtualHW.version =3D "11" = # essential for ESX 6.0 + virtualHW.version =3D "13" = # essential for ESX 6.5 + virtualHW.version =3D "14" = # essential for ESX 6.7 + virtualHW.version =3D "17" = # essential for ESX 7.0 =20 =20 ??? <=3D> guestOS =3D "" = # essential, FIXME: not representable --=20 2.31.1