From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from linux.microsoft.com (linux.microsoft.com [13.77.154.182]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 89DFC331A55 for ; Wed, 18 Feb 2026 14:48:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=13.77.154.182 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1771426084; cv=none; b=esBkf8Mva/Vuc+rvx3F4gyv9S252NrpkTFpxrlvk03dt/bc08NJQfYITeMtnKVtNPwOELMvMyBIkFkXRuiZNFSalHV6dPJ/6mNZ+OBVJs+yjxGZuLkhWnDqbWeI85mIUGq7edEkLA0FNV8LRKlprR0gSY/q1MAe0jGBAXpEG0gU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1771426084; c=relaxed/simple; bh=Yn+dMIbKtc2eHpVtUIVkux94KFyhM5ZkbfuuXSW8cpc=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=ncTY6A79WgeZrDoNpmFV5qW9Bv8RbwMUvCeVOkD+Xl1RVylX307q1Z0tfC1vjmBSrm6dFD3dDNpHXSlG8fbrJjbBB20sDzDM+LYh5bkvUjEwjz7TOcimuCmL49uIGSp47gon4BFGXK7WL7dWjEfK9+3+6AolV/2gD5tpGNXDqhk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.microsoft.com; spf=pass smtp.mailfrom=linux.microsoft.com; dkim=pass (1024-bit key) header.d=linux.microsoft.com header.i=@linux.microsoft.com header.b=nJqpyCrY; arc=none smtp.client-ip=13.77.154.182 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.microsoft.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.microsoft.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux.microsoft.com header.i=@linux.microsoft.com header.b="nJqpyCrY" Received: from anbelski-virt-work-5.irsgb21fvobu5fvmalxug44hib.xx.internal.cloudapp.net (unknown [172.171.99.74]) by linux.microsoft.com (Postfix) with ESMTPSA id 490A020B6F02; Wed, 18 Feb 2026 06:48:03 -0800 (PST) DKIM-Filter: OpenDKIM Filter v2.11.0 linux.microsoft.com 490A020B6F02 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.microsoft.com; s=default; t=1771426083; bh=oSEw+26ckgOKEmCFRgv0iAhym7148MErJuBtrl8aB9A=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=nJqpyCrYzgpMXfFygsHcCSn2M4WhqVeCGC/3ryEmjMzI1h95s+LkHObtAl1HI7u7J LsToha/FlNRgr+1sG2ZD5KLbU5ZWeK1cqODiAN9HhhZ0KgTBGAXiMSk4BkTUt8fwKc N9Q0cxsM7XNV8xLAeGNTEdzUYMSa44vS6bgs/6jw= From: Anatol Belski To: linux-hyperv@vger.kernel.org Cc: wei.liu@kernel.org, muislam@microsoft.com Subject: [PATCH 2/4] hyperv: uapi: Add bit for nested virtualization Date: Wed, 18 Feb 2026 14:48:00 +0000 Message-Id: <20260218144802.1962513-2-anbelski@linux.microsoft.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20260218144802.1962513-1-anbelski@linux.microsoft.com> References: <20260218144802.1962513-1-anbelski@linux.microsoft.com> Precedence: bulk X-Mailing-List: linux-hyperv@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit From: Muminul Islam Add a new bit for nested virtualization creation flag. This is exposed to user-space API to enable during partition creation. Signed-off-by: Muminul Islam --- include/uapi/linux/mshv.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/uapi/linux/mshv.h b/include/uapi/linux/mshv.h index dee3ece28ce5..7ef5dd67a232 100644 --- a/include/uapi/linux/mshv.h +++ b/include/uapi/linux/mshv.h @@ -27,6 +27,7 @@ enum { MSHV_PT_BIT_X2APIC, MSHV_PT_BIT_GPA_SUPER_PAGES, MSHV_PT_BIT_CPU_AND_XSAVE_FEATURES, + MSHV_PT_BIT_NESTED_VIRTUALIZATION, MSHV_PT_BIT_COUNT, }; -- 2.34.1