Re: [PATCH v2 2/3] hyperv: Change hv_root_partition into a function

2025-02-21 Thread MUKESH RATHOR
On 2/21/25 10:10, Nuno Das Neves wrote: > On 2/20/2025 2:59 PM, MUKESH RATHOR wrote: >> >> >> On 2/20/25 14:56, Easwar Hariharan wrote: >> > On 2/20/2025 1:59 PM, MUKESH RATHOR wrote: >> >> >> >> >> >> On 2/20/25 10:33, Nuno Das Neves wrote: >> >> > Introduce hv_current_parti

Re: [PATCH v2 2/3] hyperv: Change hv_root_partition into a function

2025-02-21 Thread Easwar Hariharan
On 2/21/2025 10:10 AM, Nuno Das Neves wrote: > On 2/20/2025 2:59 PM, MUKESH RATHOR wrote: >> >> >> On 2/20/25 14:56, Easwar Hariharan wrote: >> > On 2/20/2025 1:59 PM, MUKESH RATHOR wrote: >> >> >> >> >> >> On 2/20/25 10:33, Nuno Das Neves wrote: >> >> > Introduce hv_current_partition_type t

Re: [PATCH v2 2/3] hyperv: Change hv_root_partition into a function

2025-02-21 Thread Nuno Das Neves
On 2/20/2025 2:59 PM, MUKESH RATHOR wrote: > > > On 2/20/25 14:56, Easwar Hariharan wrote: > > On 2/20/2025 1:59 PM, MUKESH RATHOR wrote: > >> > >> > >> On 2/20/25 10:33, Nuno Das Neves wrote: > >> > Introduce hv_current_partition_type to store the partition type > >> > as an enum. > >

Re: [PATCH v2 2/3] hyperv: Change hv_root_partition into a function

2025-02-20 Thread MUKESH RATHOR
On 2/20/25 14:56, Easwar Hariharan wrote: > On 2/20/2025 1:59 PM, MUKESH RATHOR wrote: >> >> >> On 2/20/25 10:33, Nuno Das Neves wrote: >> > Introduce hv_current_partition_type to store the partition type >> > as an enum. >> > >> > Right now this is limited to guest or root partit

Re: [PATCH v2 2/3] hyperv: Change hv_root_partition into a function

2025-02-20 Thread Easwar Hariharan
On 2/20/2025 1:59 PM, MUKESH RATHOR wrote: > > > On 2/20/25 10:33, Nuno Das Neves wrote: > > Introduce hv_current_partition_type to store the partition type > > as an enum. > > > > Right now this is limited to guest or root partition, but there will > > be other kinds in future and the enum

Re: [PATCH v2 2/3] hyperv: Change hv_root_partition into a function

2025-02-20 Thread MUKESH RATHOR
On 2/20/25 10:33, Nuno Das Neves wrote: > Introduce hv_current_partition_type to store the partition type > as an enum. > > Right now this is limited to guest or root partition, but there will > be other kinds in future and the enum is easily extensible. > > Set up hv_current_partition_typ

Re: [PATCH v2 2/3] hyperv: Change hv_root_partition into a function

2025-02-20 Thread Nuno Das Neves
On 2/20/2025 11:17 AM, Michael Kelley wrote: > From: Nuno Das Neves Sent: Thursday, > February 20, 2025 10:33 AM >> >> Introduce hv_current_partition_type to store the partition type >> as an enum. >> >> Right now this is limited to guest or root partition, but there will >> be other kinds in fut

Re: [PATCH v2 2/3] hyperv: Change hv_root_partition into a function

2025-02-20 Thread Easwar Hariharan
On 2/20/2025 10:33 AM, Nuno Das Neves wrote: > Introduce hv_current_partition_type to store the partition type > as an enum. > > Right now this is limited to guest or root partition, but there will > be other kinds in future and the enum is easily extensible. > > Set up hv_current_partition_type

RE: [PATCH v2 2/3] hyperv: Change hv_root_partition into a function

2025-02-20 Thread Michael Kelley
From: Nuno Das Neves Sent: Thursday, February 20, 2025 10:33 AM > > Introduce hv_current_partition_type to store the partition type > as an enum. > > Right now this is limited to guest or root partition, but there will > be other kinds in future and the enum is easily extensible. > > Set up hv

RE: [PATCH v2 2/3] hyperv: Change hv_root_partition into a function

2025-02-20 Thread Michael Kelley
From: Nuno Das Neves > > Introduce hv_current_partition_type to store the partition type > as an enum. > > Right now this is limited to guest or root partition, but there will > be other kinds in future and the enum is easily extensible. > > Set up hv_current_partition_type early in Hyper-V ini

[PATCH v2 2/3] hyperv: Change hv_root_partition into a function

2025-02-20 Thread Nuno Das Neves
Introduce hv_current_partition_type to store the partition type as an enum. Right now this is limited to guest or root partition, but there will be other kinds in future and the enum is easily extensible. Set up hv_current_partition_type early in Hyper-V initialization with hv_identify_partition_