[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] Terminology for "guest" - Was: [PATCH] docs/sphinx: Introduction


  • To: Julien Grall <julien.grall@xxxxxxx>
  • From: Jan Beulich <JBeulich@xxxxxxxx>
  • Date: Thu, 8 Aug 2019 10:49:15 +0000
  • Accept-language: en-US
  • Arc-authentication-results: i=1; mx.microsoft.com 1;spf=pass smtp.mailfrom=suse.com;dmarc=pass action=none header.from=suse.com;dkim=pass header.d=suse.com;arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=ukUm026BzIk6klYZprn+smx/6H3yT6zA0G8gQ3X06WE=; b=FDUvQFWSiZULvGVHVJTX6qXQqXzRUf9na2k5l0e8t1T+pSmpi1QZMSqEXUQ/nFDSqcLKAM0JYoan/2lY03fXxBagr9VIG2sLPaikYKkJ+avbCQl0R4uDSPBAj0vfIkBcO78J9S+aVyIUWzf7bOGkfa+ov3uo0gzJtvlr+EJv37++2NiaGV8VXsE4K378nzWGjpBdgLxnBVkd5SGm3rcOzRw60+8imIV+LBAQzcoNCZXDGMF6wog4LixfhVWgTrrg1T/rsHoLW5jbPbIh/R1+uTMl76QikP41ezRJLdtztgh2psodkObNvmpwxUUfWQ/nUZyhcpZe8+XUTyjIH42flA==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=C8ypWjxiIGsI9ybOqbzrvnbovkXP9eBvG4BXPrL80Vuz32Wr7JZjas9sP82cuTK+iLPWhW1Kp9jWQeCgMJ9TAcMtG8ATR+FzU86G43iRLXhu/bUgjZ9Z0UoSAGZzDZG46ViQxSuTga1FFdrtmwDhvA7EiiDC6u3e4JkT7bmxmJ0rEcPnmCDrB4VklF2UDkXWLQOzoQW7F5QgPk2pF23BbNUxOgRz2gGmZcBYzseNjNZyliNSYzaYJoke5zlSKCd7eUGmQPtxu2J9hGKGBYUumATtAe3ki+CqwI7Vy6Qy2dkJFcvHQqpiqiejIdzWD1D6USksNiLtRU+EjGunoCShcQ==
  • Authentication-results: spf=none (sender IP is ) smtp.mailfrom=JBeulich@xxxxxxxx;
  • Cc: Lars Kurth <lars.kurth@xxxxxxxxxx>, StefanoStabellini <sstabellini@xxxxxxxxxx>, Wei Liu <wl@xxxxxxx>, George Dunlap <George.Dunlap@xxxxxxxxxxxxx>, Andrew Cooper <andrew.cooper3@xxxxxxxxxx>, Xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxxx>, Ian Jackson <ian.jackson@xxxxxxxxxx>, Roger Pau Monné <roger.pau@xxxxxxxxxx>
  • Delivery-date: Thu, 08 Aug 2019 10:50:52 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
  • Thread-index: AQHVTVg9HA+V/L6GaUOhZY0QYGP536bw6jIAgAAF3ZyAAAWxgIAAArPRgAAar4A=
  • Thread-topic: Terminology for "guest" - Was: [PATCH] docs/sphinx: Introduction

On 08.08.2019 11:13, Julien Grall wrote:
> Hi Jan,
> 
> On 08/08/2019 10:04, Jan Beulich wrote:
>> On 08.08.2019 10:43, Andrew Cooper wrote:
>>> On 08/08/2019 07:22, Jan Beulich wrote:
>>>> On 07.08.2019 21:41, Andrew Cooper wrote:
>>>>> --- /dev/null
>>>>> +++ b/docs/glossary.rst
>>>>> @@ -0,0 +1,37 @@
>>>>> +Glossary
>>>>> +========
>>>>> +
>>>>> +.. Terms should appear in alphabetical order
>>>>> +
>>>>> +.. glossary::
>>>>> +
>>>>> +   control domain
>>>>> +     A :term:`domain`, commonly dom0, with the permission and
>>>>> responsibility
>>>>> +     to create and manage other domains on the system.
>>>>> +
>>>>> +   domain
>>>>> +     A domain is Xen's unit of resource ownership, and generally has
>>>>> at the
>>>>> +     minimum some RAM and virtual CPUs.
>>>>> +
>>>>> +     The terms :term:`domain` and :term:`guest` are commonly used
>>>>> +     interchangeably, but they mean subtly different things.
>>>>> +
>>>>> +     A guest is a single virtual machine.
>>>>> +
>>>>> +     Consider the case of live migration where, for a period of
>>>>> time, one
>>>>> +     guest will be comprised of two domains, while it is in transit.
>>>>> +
>>>>> +   domid
>>>>> +     The numeric identifier of a running :term:`domain`.  It is
>>>>> unique to a
>>>>> +     single instance of Xen, used as the identifier in various APIs,
>>>>> and is
>>>>> +     typically allocated sequentially from 0.
>>>>> +
>>>>> +   guest
>>>>> +     See :term:`domain`
>>>>
>>>> I think you want to mention the usual distinction here: Dom0 is,
>>>> while a domain, commonly not considered a guest.
>>>
>>> To be honest, I had totally forgotten about that.  I guess now is the
>>> proper time to rehash it in public.
>>>
>>> I don't think the way it currently gets used has a clear or coherent set
>>> of rules, because I can't think of any to describe how it does get used.
>>>
>>> Either there are a clear and coherent (and simple!) set of rules for
>>> what we mean by "guest", at which point they can live here in the
>>> glossary, or the fuzzy way it is current used should cease.
>>
>> What's fuzzy about Dom0 not being a guest (due to being a part of the
>> host instead)?
> Dom0 is not part of the host if you are using an hardware domain.

It's still the control domain then, and hence still part of the host.

> I actually thought we renamed everything in Xen from Dom0 to hwdom
> to avoid the confusion.

As to variable naming - mostly, I think.

Jan
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.