[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <aSRrbfdMFYre4Z0c@anirudh-surface.localdomain>
Date: Mon, 24 Nov 2025 14:27:57 +0000
From: Anirudh Rayabharam <anirudh@...rudhrb.com>
To: Wei Liu <wei.liu@...nel.org>
Cc: "K. Y. Srinivasan" <kys@...rosoft.com>,
Haiyang Zhang <haiyangz@...rosoft.com>,
Dexuan Cui <decui@...rosoft.com>, Long Li <longli@...rosoft.com>,
linux-hyperv@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH v3] Drivers: hv: ioctl for self targeted passthrough
hvcalls
On Thu, Nov 20, 2025 at 06:55:59AM +0000, Wei Liu wrote:
> On Wed, Nov 19, 2025 at 05:17:08PM +0000, Anirudh Rayabharam wrote:
> > From: Anirudh Rayabharam (Microsoft) <anirudh@...rudhrb.com>
> >
> > Allow MSHV_ROOT_HVCALL IOCTL on the /dev/mshv fd. This IOCTL would
> > execute a passthrough hypercall targeting the root/parent partition
> > i.e. HV_PARTITION_ID_SELF.
> >
> > This will be useful for the VMM to query things like supported
> > synthetic processor features, supported VMM capabiliites etc.
> >
> > Since hypercalls targeting the host partition could potentially perform
> > privileged operations, allow only a limited set of hypercalls. To begin
> > with, allow only:
> >
> > HVCALL_GET_PARTITION_PROPERTY
> > HVCALL_GET_PARTITION_PROPERTY_EX
> >
> > Signed-off-by: Anirudh Rayabharam (Microsoft) <anirudh@...rudhrb.com>
>
> Applied to hyperv-next.
>
> I dropped one "inline" keyword that was not needed and modified the
> subject prefix to be "mshv".
Thanks!
Anirudh.
>
> Wei
Powered by blists - more mailing lists