From: MUKESH RATHOR <mukeshrathor@microsoft.com>
To: Michael Kelley <mhklinux@outlook.com>,
Nuno Das Neves <nunodasneves@linux.microsoft.com>,
"linux-hyperv@vger.kernel.org" <linux-hyperv@vger.kernel.org>,
"linux-arm-kernel@lists.infradead.org"
<linux-arm-kernel@lists.infradead.org>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
"kvm@vger.kernel.org" <kvm@vger.kernel.org>,
"iommu@lists.linux.dev" <iommu@lists.linux.dev>,
"netdev@vger.kernel.org" <netdev@vger.kernel.org>,
"linux-pci@vger.kernel.org" <linux-pci@vger.kernel.org>,
"linux-arch@vger.kernel.org" <linux-arch@vger.kernel.org>,
"virtualization@lists.linux.dev" <virtualization@lists.linux.dev>
Cc: KY Srinivasan <kys@microsoft.com>,
Haiyang Zhang <haiyangz@microsoft.com>,
"wei.liu@kernel.org" <wei.liu@kernel.org>,
Dexuan Cui <decui@microsoft.com>,
"catalin.marinas@arm.com" <catalin.marinas@arm.com>,
"will@kernel.org" <will@kernel.org>,
"luto@kernel.org" <luto@kernel.org>,
"tglx@linutronix.de" <tglx@linutronix.de>,
"mingo@redhat.com" <mingo@redhat.com>,
"bp@alien8.de" <bp@alien8.de>,
"dave.hansen@linux.intel.com" <dave.hansen@linux.intel.com>,
"x86@kernel.org" <x86@kernel.org>,
"hpa@zytor.com" <hpa@zytor.com>,
"seanjc@google.com" <seanjc@google.com>,
"pbonzini@redhat.com" <pbonzini@redhat.com>,
"peterz@infradead.org" <peterz@infradead.org>,
"daniel.lezcano@linaro.org" <daniel.lezcano@linaro.org>,
"joro@8bytes.org" <joro@8bytes.org>,
"robin.murphy@arm.com" <robin.murphy@arm.com>,
"davem@davemloft.net" <davem@davemloft.net>,
"edumazet@google.com" <edumazet@google.com>,
"kuba@kernel.org" <kuba@kernel.org>,
"pabeni@redhat.com" <pabeni@redhat.com>,
"lpieralisi@kernel.org" <lpieralisi@kernel.org>,
"kw@linux.com" <kw@linux.com>,
"robh@kernel.org" <robh@kernel.org>,
"bhelgaas@google.com" <bhelgaas@google.com>,
"arnd@arndb.de" <arnd@arndb.de>,
"sgarzare@redhat.com" <sgarzare@redhat.com>,
"jinankjain@linux.microsoft.com" <jinankjain@linux.microsoft.com>,
"muminulrussell@gmail.com" <muminulrussell@gmail.com>,
"skinsburskii@linux.microsoft.com"
<skinsburskii@linux.microsoft.com>,
"vkuznets@redhat.com" <vkuznets@redhat.com>,
"ssengar@linux.microsoft.com" <ssengar@linux.microsoft.com>,
"apais@linux.microsoft.com" <apais@linux.microsoft.com>
Subject: Re: [EXTERNAL] RE: [PATCH v2 0/4] Add new headers for Hyper-V Dom0
Date: Mon, 11 Nov 2024 23:10:34 +0000 [thread overview]
Message-ID: <8abdc84b-1ee5-bf19-c65e-82f9293d5c84@microsoft.com> (raw)
In-Reply-To: <SN6PR02MB415747D0DB0879729E6D7D03D4582@SN6PR02MB4157.namprd02.prod.outlook.com>
On 11/11/24 13:28, Michael Kelley wrote:
> From: MUKESH RATHOR <mukeshrathor@microsoft.com> Sent: Monday,
November 11, 2024 10:53 AM
>>
>> On 11/10/24 20:12, Michael Kelley wrote:
>> > From: Nuno Das Neves <nunodasneves@linux.microsoft.com> Sent:
>> Thursday, November 7, 2024 2:32 PM
>> >>
>> >> To support Hyper-V Dom0 (aka Linux as root partition), many new
>> >> definitions are required.
>> >
>> > Using "dom0" terminology here and in the Subject: line is likely to
>> > be confusing to folks who aren't intimately involved in Hyper-V
work.
>> > Previous Linux kernel commit messages and code for running in the
>> > Hyper-V root partition use "root partition" terminology, and I
couldn't
>> > find "dom0" having been used before. "root partition" would be more
>> > consistent, and it also matches the public documentation for
Hyper-V.
>> > "dom0" is Xen specific terminology, and having it show up in Hyper-V
>> > patches would be confusing for the casual reader. I know "dom0" has
>> > been used internally at Microsoft as shorthand for "Hyper-V root
>> > partition", but it's probably best to completely avoid such
shorthand
>> > in public Linux kernel patches and code.
>> >
>> > Just my $.02 ....
>>
>> Hi Michael,
>>
>> FWIW, hyperv team and us are using the term "dom0" more and more to
>> avoid confusion between windows root and linux root, as dom0 is
>> always linux root. I did a quick search, and "dom0" is neither
>> copyrighted nor trademarked by xen, and I'm sure the fine folks
>> there won't be offended. Hopefully, [Hyper-V] tag would reduce
>> the confusion.
>>
>> Just my $0.1
>>
>
> Yeah, "dom0" certainly fits as shorthand for the rather ponderous
> "Linux running in a Hyper-V root partition". :-)
>
> But even using "Hyper-V dom0" to add clarity vs. Xen dom0 seems
> to me to be a misnomer because Hyper-V dom0 is only conceptually
> like Xen dom0. It's not actually an implementation of Xen dom0.
> Let me give two examples:
>
> 1) Hyper-V provides VMBus, which is conceptually similar to virtio.
> But VMBus is not an implementation of virtio, and we don't call it
> "Hyper-V virtio". Of course, "VMBus" is a lot shorter than "Hyper-V
> root partition" so the motivation for a shorthand isn't there, but still.
> If Hyper-V should ever implement actual virtio interfaces, then it
> would be valid to call that "Hyper-V virtio".
>
> 2) KVM has "KVM Hyper-V", which I think is valid. It's an
> implementation of Hyper-V interfaces in KVM so that Windows
> guests can run as if they are running on Hyper-V.
>
> I won't speculate on what the Xen folks would think of "Hyper-V
> dom0", especially if it isn't an implementation that's compatible
> with Xen dom0 functionality.
>
> As for "more and more" usage of "dom0" by your team and the
> Hyper-V team: Is that internal usage only? Or usage in public mailing
> lists or open source projects like Cloud Hypervisor? Again, from
> my standpoint, internal is internal and can be whatever is convenient
> and properly understood internally. But in public mailing lists and
> projects, I think "Hyper-V dom0" should be avoided unless it's
> truly an implementation of the dom0 interfaces.
>
> That's probably now $0.10 worth instead of $0.02. :-) And I'm
> not the decider here -- I'm just offering a perspective.
"dom0" is neither a technology nor a protocol. It simply means initial
domain (which on xen happened to be domid of 0, could have been 1). This
is created during boot, same as linux root on hyperv, and is privileged
domain same as xen. Even in KVM world, I've heard many folks refer to
the host as kvm dom0...
Given the mix of windows and linux with l1vh and nested, dom0 is helping
in conversations internally, and I'm sure it will keep percolating
externally.
Thanks,
-Mukesh
next prev parent reply other threads:[~2024-11-11 23:10 UTC|newest]
Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-11-07 22:32 [PATCH v2 0/4] Add new headers for Hyper-V Dom0 Nuno Das Neves
2024-11-07 22:32 ` [PATCH v2 1/4] hyperv: Move hv_connection_id to hyperv-tlfs.h Nuno Das Neves
2024-11-08 4:23 ` Easwar Hariharan
2024-11-11 4:13 ` Michael Kelley
2024-11-07 22:32 ` [PATCH v2 2/4] hyperv: Clean up unnecessary #includes Nuno Das Neves
2024-11-08 4:24 ` Easwar Hariharan
2024-11-11 4:13 ` Michael Kelley
2024-11-07 22:32 ` [PATCH v2 3/4] hyperv: Add new Hyper-V headers in include/hyperv Nuno Das Neves
2024-11-08 5:59 ` Naman Jain
2024-11-11 17:55 ` Nuno Das Neves
2024-11-11 4:13 ` Michael Kelley
2024-11-11 18:45 ` Nuno Das Neves
2024-11-11 19:31 ` Michael Kelley
2024-11-13 23:32 ` Nuno Das Neves
2024-11-07 22:32 ` [PATCH v2 4/4] hyperv: Switch from hyperv-tlfs.h to hyperv/hvhdk.h Nuno Das Neves
2024-11-11 4:13 ` Michael Kelley
2024-11-15 21:14 ` Nuno Das Neves
2024-11-15 21:54 ` Michael Kelley
2024-11-14 21:35 ` Easwar Hariharan
2024-11-11 4:12 ` [PATCH v2 0/4] Add new headers for Hyper-V Dom0 Michael Kelley
2024-11-11 17:59 ` Nuno Das Neves
2024-11-11 19:36 ` Michael Kelley
2024-11-11 18:52 ` [EXTERNAL] " MUKESH RATHOR
2024-11-11 21:28 ` Michael Kelley
2024-11-11 23:10 ` MUKESH RATHOR [this message]
2024-11-11 23:41 ` Michael Kelley
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=8abdc84b-1ee5-bf19-c65e-82f9293d5c84@microsoft.com \
--to=mukeshrathor@microsoft.com \
--cc=apais@linux.microsoft.com \
--cc=arnd@arndb.de \
--cc=bhelgaas@google.com \
--cc=bp@alien8.de \
--cc=catalin.marinas@arm.com \
--cc=daniel.lezcano@linaro.org \
--cc=dave.hansen@linux.intel.com \
--cc=davem@davemloft.net \
--cc=decui@microsoft.com \
--cc=edumazet@google.com \
--cc=haiyangz@microsoft.com \
--cc=hpa@zytor.com \
--cc=iommu@lists.linux.dev \
--cc=jinankjain@linux.microsoft.com \
--cc=joro@8bytes.org \
--cc=kuba@kernel.org \
--cc=kvm@vger.kernel.org \
--cc=kw@linux.com \
--cc=kys@microsoft.com \
--cc=linux-arch@vger.kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-hyperv@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pci@vger.kernel.org \
--cc=lpieralisi@kernel.org \
--cc=luto@kernel.org \
--cc=mhklinux@outlook.com \
--cc=mingo@redhat.com \
--cc=muminulrussell@gmail.com \
--cc=netdev@vger.kernel.org \
--cc=nunodasneves@linux.microsoft.com \
--cc=pabeni@redhat.com \
--cc=pbonzini@redhat.com \
--cc=peterz@infradead.org \
--cc=robh@kernel.org \
--cc=robin.murphy@arm.com \
--cc=seanjc@google.com \
--cc=sgarzare@redhat.com \
--cc=skinsburskii@linux.microsoft.com \
--cc=ssengar@linux.microsoft.com \
--cc=tglx@linutronix.de \
--cc=virtualization@lists.linux.dev \
--cc=vkuznets@redhat.com \
--cc=wei.liu@kernel.org \
--cc=will@kernel.org \
--cc=x86@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox