[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH V5 1/3] xen/arm: Introduce gpaddr_bits field to struct xen_arch_domainconfig
- To: Oleksandr <olekstysh@xxxxxxxxx>
- From: Jan Beulich <jbeulich@xxxxxxxx>
- Date: Fri, 8 Oct 2021 14:36:51 +0200
- 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-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=VfxpZeqp5AUa9f4Fkfs+nFb4Aff3huHPoYuFV/AnIBE=; b=ki5jyW8grS6T/0OO65KnQ/YrlgPW+9tGpD2Ybpo7l9jkIEPb/U8P03Acnsk5E7aEIk+I/JzDX+mUJzmsUsKXAXguYd2/Rf7jUFCtilhkIhNS0SxZWIetGqPd26RPVDOkh2qcKzcO2jNyeRpDmU/GBZS2kZ7gwnkdMp/nhsy57gsMZaSHOrxKt0WVAyxeFoH8BdVRVt5Vo40uRJhw1CZ0ZVtGdVshW2cQ2mkwBNv0SZ2Ndi6JGXJC/q9x+TDXle3Ea/PCJhZbNYz2he2FXQO9U2hIxvmRKUqwnw3BzCbz9jgOK/0JeCYjGdhoSW8KNv9BNu7s46Y1XEyorvJRvFJPpg==
- Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=X+KA7bbTcs8CRoah83UZCcTh+YGXB5xUDPKjlxbEXxVpV6W9yxVZrmm2+tc64KJOMTmg4MS7uZ/mE9UTyC5icjij0snIb/Loarq+oNSE4BEG4wdhHWC4Fxd4Red3TISlmsvVbX7ph+L6LVCZwlnBC1SRQYy0+YE0VWLwwKNfBRXv7gZrnkwHd6IFOOex0Zl910NUjl3jtteCa/SwbFi1RwWLKPW6xZ9izosSy9XQBC6Z2D82aszbyLdtBEtDm4NKiXP6EjQl0VjZ1EQg/0Uz1vyJEGV9Yz3ZeexzyeVvuURgkXwgS5ddtJSXoYwy+l9MrTbl+rX8THfg+lMT+PqlPQ==
- Authentication-results: lists.xenproject.org; dkim=none (message not signed) header.d=none;lists.xenproject.org; dmarc=none action=none header.from=suse.com;
- Cc: Stefano Stabellini <sstabellini@xxxxxxxxxx>, Oleksandr Tyshchenko <oleksandr_tyshchenko@xxxxxxxx>, Ian Jackson <iwj@xxxxxxxxxxxxxx>, Wei Liu <wl@xxxxxxx>, Anthony PERARD <anthony.perard@xxxxxxxxxx>, Andrew Cooper <andrew.cooper3@xxxxxxxxxx>, George Dunlap <george.dunlap@xxxxxxxxxx>, Julien Grall <julien@xxxxxxx>, Juergen Gross <jgross@xxxxxxxx>, Volodymyr Babchuk <Volodymyr_Babchuk@xxxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxxx
- Delivery-date: Fri, 08 Oct 2021 12:37:00 +0000
- List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
On 08.10.2021 12:25, Oleksandr wrote:
> Just a quick question. What do you think can XEN_DOMCTL_getdomaininfo be
> reused to retrieve gpaddr_bits? I don't see why not at the moment, but
> maybe there are some implications/concerns which are invisible to me.
>
> I see that arch_get_domain_info() is present, so the field will be
> common, and each arch will write a value it considers
> appropriate. This could be a good compromise to not add an extra domctl
> and to not alter domain_create.
Technically I think it could be reused. What I'm less certain of is
whether the specific piece of information is a good fit there.
Jan
|